Capture ISR:

Like any ISR, the capture ISR is intentionally kept short. It simply sends a message to the measurement task using ISRSendMess. This message does not contain any data and simply makes the measurement task eligible to run again.

interrupt [TIM1_CAPT] void T1CapISR(void) 
   {
   ISRSendMess(1, 3, 0x01); 
   
   } 


Previous Next