www.ti.com

Peripheral Architecture

For additional flexibility of interrupt handling, the INSTAT bit in the interrupt priority vector status/clear register (INTPRI) reports the highest priority interrupt asserted in INTPENDSET when INTLOCAL = 1 in CTRL. The VLYNQ interprets bit 0 of the INSTAT bits as the highest priority and 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 read-only status bit (NOINTPEND) to indicate whether or not there are any pending interrupts in INTSTATCLR.

The VLYNQ interrupt generation mechanism is shown in Figure 8.

Figure 8. Interrupt Generation Mechanism Block Diagram

 

Serial￿interrupt

 

CPU￿writes

packet￿from

 

 

remote￿device

 

Serial￿bus￿error

 

 

(LERROR/RERROR)

VLYNQ￿control￿register￿(CTRL)

 

VLYNQ￿interrupt

14

0

pending/set￿register

 

 

(INTPENDSET)

 

INTLOCAL

INTLOCAL=1

 

 

 

INTLOCAL=0

 

VLYNQ

Status/clear

register

(INTSTATCLR)

OR

VLQINT (INT55)

Transmit￿serial

interrupt￿packet

2.11.2Writes to Interrupt Pending/Set Register

As previously discussed, if the CPU writes to the VLYNQ interrupt pending/set register (INTPENDSET), then depending on the value of the INTLOCAL bit in the VLYNQ control register (CTRL), 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.

SPRU938B –September 2007

VLYNQ Port

21

Submit Documentation Feedback

Page 21
Image 21
Texas Instruments SPRU938B manual Interrupt Generation Mechanism Block Diagram, Writes to Interrupt Pending/Set Register