Dialog Semiconductor customer support - Handlers https://support.dialog-semiconductor.com/resource-keywords/handlers en How does the UART2 RX Interrupt work ? https://support.dialog-semiconductor.com/how-does-uart2-rx-interrupt-work < div class = "字段field-name-taxonomy-forums字段-type-taxonomy-term-reference field-label-above">
Forums: 

Hi

I am trying to understand how the UART2 Receive interrupt callback flow works, can somebody help me out please?

In the example uart2_async provided in peripheral_examples in SDK 5.0.2.1 , the method UART2_Handler calls uart2_rec_data_available_isr , but I don’t understand what is calling the UART2_Handler method itself.

Also there is a UART2_Handler_func method that doesn’t seem to be defined anywhere. Can someone please shed some light on how this is set up, so I can use it correctly ?

Thanks
Ankit

Device: 
Thu, 24 Sep 2015 13:29:28 +0000 ankitdaf 2039 at https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/how-does-uart2-rx-interrupt-work#comments