www.ti.com
Peripheral Architecture
Figure 8. Interrupt Generation Mechanism Block Diagram
| Serialinterrupt |
|
CPUwrites | packetfrom |
|
| remotedevice |
|
Serialbuserror |
|
|
(LERROR/RERROR) | VLYNQcontrolregister(CTRL) | |
| ||
VLYNQinterrupt | 14 | 0 |
pending/setregister |
|
|
(INTPENDSET) |
| INTLOCAL |
INTLOCAL=1 |
|
|
| INTLOCAL=0 |
|
VLYNQ
Status/clear
register
(INTSTATCLR)
OR
VLQINT (ARMINT31)
Transmitserial
interruptpacket
For additional flexibility of interrupt handling, there is an interrupt priority vector status/clear register (INTPRI) that reports the highest priority interrupt asserted in the VLYNQ interrupt pending/set register (INTPENDSET) when INTLOCAL = 1. VLYNQ interprets bit 0 as the highest priority and it interprets bit 31 as the lowest priority. The value that is returned when read is the vector of the highest priority interrupt. Software can clear that interrupt by writing back the vector value. Additionally, INTRPRI provides a
2.12.2Writes to Interrupt Pending/Set Register
As previously discussed, if the ARM CPU writes to the VLYNQ interrupt pending/set register (INTPENDSET), then depending on the value of the INTLOCAL bit in the VLYNQ control (CTRL) register, this will result in a local interrupt (to the device interrupt controller) or an interrupt packet transmitted over the serial interface to the remote device.
22 | VLYNQ Port | SPRUE36A |