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
|
||||
Timer synchronization mode:
|
||||
TIM1_CH1(PA8)
|
||||
This example demonstrates 4 timer synchronization modes.
|
||||
|
||||
*/
|
||||
*Timer synchronization mode:
|
||||
*TIM1_CH1(PA8)
|
||||
*This example demonstrates 4 timer synchronization modes.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "debug.h"
|
||||
|
||||
@@ -148,8 +148,10 @@ void TIM_TimSynchroMode4_Init(void)
|
||||
*/
|
||||
int main(void)
|
||||
{
|
||||
SystemCoreClockUpdate();
|
||||
USART_Printf_Init(115200);
|
||||
printf("SystemClk:%d\r\n", SystemCoreClock);
|
||||
printf( "ChipID:%08x\r\n", DBGMCU_GetCHIPID() );
|
||||
|
||||
/* Timer synchronization Mode Selection */
|
||||
TIM_TimSynchroMode1_Init();
|
||||
|
||||
Reference in New Issue
Block a user