update 1.8
This commit is contained in:
@@ -4,19 +4,19 @@
|
||||
* Version : V1.0.0
|
||||
* Date : 2021/06/06
|
||||
* Description : Main program body.
|
||||
*********************************************************************************
|
||||
* Copyright (c) 2021 Nanjing Qinheng Microelectronics Co., Ltd.
|
||||
* Attention: This software (modified or not) and binary are used for
|
||||
* microcontroller manufactured by Nanjing Qinheng Microelectronics.
|
||||
*******************************************************************************/
|
||||
*********************************************************************************
|
||||
* Copyright (c) 2021 Nanjing Qinheng Microelectronics Co., Ltd.
|
||||
* Attention: This software (modified or not) and binary are used for
|
||||
* microcontroller manufactured by Nanjing Qinheng Microelectronics.
|
||||
*******************************************************************************/
|
||||
|
||||
/*
|
||||
*@Note
|
||||
ADC uses DMA sampling routine:
|
||||
ADC channel 1 (PA1), the rule group channel obtains ADC conversion data
|
||||
for 1024 consecutive times through DMA.
|
||||
|
||||
*/
|
||||
*ADC uses DMA sampling routine:
|
||||
*ADC channel 1 (PA1), the rule group channel obtains ADC conversion data
|
||||
*for 1024 consecutive times through DMA.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "debug.h"
|
||||
|
||||
@@ -168,9 +168,11 @@ int main(void)
|
||||
{
|
||||
u16 i;
|
||||
|
||||
SystemCoreClockUpdate();
|
||||
Delay_Init();
|
||||
USART_Printf_Init(115200);
|
||||
printf("SystemClk:%d\r\n", SystemCoreClock);
|
||||
printf( "ChipID:%08x\r\n", DBGMCU_GetCHIPID() );
|
||||
printf("APP\r\n");
|
||||
|
||||
ADC_Function_Init();
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user