Figure 5 aDIO Match Mode
Strobe Mode
Another interrupt mode supported by aDIO is Strobe mode. This allows the strobe pin of the DIO connector to trigger an interrupt. A low to high transition on the strobe pin will cause an interrupt request. The request will remain high until the Clear Register is read from. Additionally, the Compare Register latched in the value at Port 0 when the Strobe pin made a low to high transition. No further strobes will be available until a read of the Compare Register is made. You must read the Compare Register, and then clear interrupts so that the latched value in the compare register is not lost. To enter Strobe mode, set bits [4:3] of the
Wake-on-aDIO
The aDIO Strobe, Match and Event interrupt can be used to generate a wake event. This event can wake the CPU from any
During system standby, a 32kHz clock is used for the aDIO instead of an 8.33 MHz clock. Therefore, transitions must be at least 30 us in order to trigger a wake event.
If the aDIO is to be used for a wake event only, and not an interrupt, the “Int Mask” bit can be set in the Wake Control Register. This will block the interrupt, but still allow a wake event to occur. The various settings for “Wake Enable” and “Int Mask” are shown in Table 46 below.
Table 46 Interrupt and Wake Event Generation
WakeEnable Int Mask | Function |
|
|
00 No Interrupt or Wake event is generated
0 | 1 | Interrupt Only |
1 | 0 | Wake Event Only |
1 | 1 | Interrupt and Wake Event |
|
|
|
Chapter 4: Using the cpuModule 59 |