void UART_IRQHandler(void){ vu32 uart_isr_back;vu32 uart_fsr_back;uart_isr_back=UART->ISR;u...
void CTIMER0_IRQHandler(void) { //clear flag CTIMER0->IR|=1<<0; GPIO_PortToggle(GPIO, BOARD_LED_PORT, 1u << BOARD_LED_PIN); } Hope it can help you 0 Kudos Reply 07-03-2024 01:09 AM 1,153 Views Bela1 Contributor III Dear XiangJun Rong, Thank You very much, the code...
timer_initpara.alignedmode = TIMER_COUNTER_EDGE; // 边沿对齐计数 timer_initpara.counterdirection = TIMER_COUNTER_UP; // 向上计数 timer_initpara.period = (16000 - 1); // 周期:1MHz / 16000 = 62.5Hz timer_init(TIMER1, &timer_initpara); /* 配置所有通道为PWM模式0 */ timer_ocintpara....
} What I observe is the CRYOTIMER_IRQHandler() gets called until the Enter_EM2() is called but after entry into EM2, the Cryotimer doen't interrupt i.e. IRQHandler is never called and there is no exit from EM2. As per my understanding as long...
void CTIMER0_IRQHandler(void) { //clear flag CTIMER0->IR|=1<<0; GPIO_PortToggle(GPIO, BOARD_LED_PORT, 1u << BOARD_LED_PIN); } Hope it can help you 0 Kudos Reply 07-03-2024 01:09 AM 1,123 Views Bela1 Contributor III Dear XiangJun Rong, Thank You very much, the code...
void CTIMER0_IRQHandler(void) { //clear flag CTIMER0->IR|=1<<0; GPIO_PortToggle(GPIO, BOARD_LED_PORT, 1u << BOARD_LED_PIN); } Hope it can help you 0 Kudos Reply 07-03-2024 01:09 AM 1,123 Views Bela1 Contributor III Dear XiangJun Rong, Thank You very much, the code...
void CTIMER0_IRQHandler(void) { //clear flag CTIMER0->IR|=1<<0; GPIO_PortToggle(GPIO, BOARD_LED_PORT, 1u << BOARD_LED_PIN); } Hope it can help you 0 Kudos Reply 07-03-2024 01:09 AM 1,153 Views Bela1 Contributor III Dear XiangJun Rong, Thank You very much, the code...