Go to the source code of this file.
◆ INTERRUPT()
Definition at line 23 of file watchdog_clear_n_reset.c.
24{
27 {
31 {
36 }
37 else
38 {
42 }
43 }
44}
void UART1_TxString(uint8_t *str)
void UART1_TxHex(uint8_t hex)
#define WDT_ResetCounter()
◆ main()
Set countdown time to around 3 seconds(FOSC = 36.864MHz)
Definition at line 46 of file watchdog_clear_n_reset.c.
47{
52
64 while(1);
65}
#define EXTI_Timer0_SetIntPriority(__PRIORITY__)
#define EXTI_Timer0_SetIntState(__STATE__)
#define EXTI_Global_SetIntState(__STATE__)
@ TIM_TimerMode_16BitAuto
void TIM_Timer0_Config(HAL_State_t freq1t, TIM_TimerMode_t mode, uint16_t frequency)
#define TIM_Timer0_SetRunState(__STATE__)
@ UART1_BaudSource_Timer2
void UART1_Config8bitUart(UART1_BaudSource_t baudSource, HAL_State_t _1TMode, uint32_t baudrate)
#define WDT_StartWatchDog()
#define WDT_SetCounterPrescaler(__PRE_SCALER__)
◆ c0
◆ c1