Download S5N8947

Transcript
S5N8947
CONTROLLING S5N8947 MODULES
HANDLING INTERRUPT
The S5N8947 has two types of SAR interrupt, Done and Error, that are requested by various source. The full
SAR interrupt sources are described in the User's manual.
The following flow chart shows the handling SAR interrupt.
Handling Interrupt
SAR RX Done/Error interrupt occurs
Read the SAR_DONEINTSTATUS/
SAR_ERRINTSTATUS register
Yes
If the status value is zero?
No
Check the interrupt source and perform user
interrupt service routine for each source
User receive operation
Figure 5-29. SAR Interrupt Service Routine
5-81