beautypg.com

6 interrupt pending/set register (intpendset), 7 interrupt pointer register (intptr), Intpendset) – Texas Instruments VLYNQ Port User Manual

Page 32: Intptr), Descriptions, Section 3.6, Section 3.7

background image

www.ti.com

3.6

Interrupt Pending/Set Register (INTPENDSET)

3.7

Interrupt Pointer Register (INTPTR)

VLYNQ Port Registers

The interrupt pending/set register (INTPENDSET) indicates the pending interrupt status when the
INTLOCAL bit in the control register (CTRL) is not set. When the interrupt packet is forwarded on the
serial interface, these bits are cleared. The INTPENDSET is shown in

Figure 14

and described in

Table 12

.

Figure 14. Interrupt Pending/Set Register (INTPENDSET)

31

0

INTSET

R/W-0

LEGEND: R/W = Read/Write; -n = value after reset

Table 12. Interrupt Pending/Set Register (INTPENDSET) Field Descriptions

Bit

Field

Value

Description

31-0

INTSET

0-FFFF FFFFh

This field indicates the unmasked status of each pending interrupt.

0

Writing a 0 has no effect.

1

Writing a 1 to any bit:

if INTLOCAL = 0 in CTRL, interrupt packet is sent on the serial interface.

If INTLOCAL = 1 in CTRL, VLYNQ module interrupt (VLQINT) is asserted.

The interrupt pointer register (INTPTR) typically contains the address of the interrupt pending/set register
(INTPENDSET) within the VLYNQ module. To program INTPTR to point to INTPENDSET, program a
value of 14h (the offset of INTPENDSET). Additionally, the INT2CFG bit in the control register (CTRL)
should be set to 1. The INTPTR is shown in

Figure 15

and described in

Table 13

.

Figure 15. Interrupt Pointer Register (INTPTR)

31

2

1

0

INTPTR

Reserved

R/W-0

R-0

LEGEND: R/W = Read/Write; R = Read only; -n = value after reset

Table 13. Interrupt Pointer Register (INTPTR) Field Descriptions

Bit

Field

Value

Description

31-2

INTPTR

0-3FFF FFFFh

Interrupt pointer. Program this register with the address of the interrupt pending/set register
(14h).

1-0

Reserved

0

Reserved. Always read as 0. Writes have no effect.

32

VLYNQ Port

SPRUE36A – September 2007

Submit Documentation Feedback