I have two interrupt, the first one is USART interrupt using hardware approach and another one is external interrupt at RBO interrupt, this one for USART software routine.
My software USART only receives the data while hardware USART do receive and transmit the data.
The case is, the interrupt occurred to my software USART (external interrupt, RBO) and than, it will process the data received, but before the task finish, the second interrupt which is hardware USART occurred, my question is, how PIC handle this thing?
I want my PIC finished the first task (software USART) and then process for the second one. So do if the interrupt hardware USART occurred first. The idea is …I want my PIC finish the task that come first and then continue for the second one…
Please advice…thanks in advance.
My software USART only receives the data while hardware USART do receive and transmit the data.
The case is, the interrupt occurred to my software USART (external interrupt, RBO) and than, it will process the data received, but before the task finish, the second interrupt which is hardware USART occurred, my question is, how PIC handle this thing?
I want my PIC finished the first task (software USART) and then process for the second one. So do if the interrupt hardware USART occurred first. The idea is …I want my PIC finish the task that come first and then continue for the second one…
Please advice…thanks in advance.