Download - ORCA

Transcript
(a)
(b)
Figure 5.2: Flowcharts showing (a) the microcontrollers main loop and (b) Tx
UART interrupt service routine.
The Rx UART ISR with its flowchart seen in Figure 5.3. The Rx UART ISR
will begin by checking for any errors that might have occurred during the reception of
data from the matchport b/g module. If no errors have occurred it will then go on, based
on the received data, to perform a certain operation. The Rx UART ISR can either
disable or enable the ADC to begin acquiring data. It can also turn the ADC, charge
pump and matchport b/g off for 10 minutes while turning them back on after 10
80