beautypg.com

14 interrupt vector regi, 15 loop counter 0 regist, 14 interrupt vector register (iv) -14 – Maxim Integrated MAXQ7667 User Manual

Page 58: 15 loop counter 0 register (lc[0]) -14, Maxq7667 user’s guide, 14 interrupt vector register (iv), 15 loop counter 0 register (lc[0])

background image

__________________________________________________________________________________________________________

4-14

MAXQ7667 User’s Guide

4.1.14 Interrupt Vector Register (IV)

Register Description:

Interrupt Vector Register

Register Name:

IV

Register Address:

Module 0Dh, Index 02h

Bits 15 to 0: Interrupt Vector Register Bits 15:0 (IV[15:0]). This register contains the address of the interrupt service routine. The
interrupt handler will generate a CALL to this address whenever an interrupt is acknowledged.

4.1.15 Loop Counter 0 Register (LC[0])

Register Description:

Loop Counter 0 Register

Register Name:

LC[0]

Register Address:

Module 0Dh, Index 06h

Bits 15 to 0: Loop Counter 0 Register Bits 15:0 (LC[0][15:0]). This register is used as the loop counter for the DJNZ LC[0], src oper-
ation. This operation decrements LC[0] by one and then jumps to the address specified in the instruction by src.

Bit #

15

14

13

12

11

10

9

8

Name

IV15

IV14

IV13

IV12

IV11

IV10

IV9

IV8

Reset

0

0

0

0

0

0

0

0

Access

rw

rw

rw

rw

rw

rw

rw

rw

Bit #

7

6

5

4

3

2

1

0

Name

IV7

IV6

IV5

IV4

IV3

IV2

IV1

IV0

Reset

0

0

0

0

0

0

0

0

Access

rw

rw

rw

rw

rw

rw

rw

rw

r = read, w = write

Note: This register is cleared to 0000h on all forms of reset.

Bit #

15

14

13

12

11

10

9

8

Name

LC[0]15

LC[0]14

LC[0]13

LC[0]12

LC[0]11

LC[0]10

LC[0]9

LC[0]8

Reset

0

0

0

0

0

0

0

0

Access

rw

rw

rw

rw

rw

rw

rw

rw

Bit #

7

6

5

4

3

2

1

0

Name

LC[0]7

LC[0]6

LC[0]5

LC[0]4

LC[0]3

LC[0]2

LC[0]1

LC[0]0

Reset

0

0

0

0

0

0

0

0

Access

rw

rw

rw

rw

rw

rw

rw

rw

r = read, w = write

Note: This register is cleared to 0000h on all forms of reset.