Ds4830a user’s guide – Maxim Integrated DS4830A Optical Microcontroller User Manual

Page 79

Advertising
background image

DS4830A User’s Guide

79

9.2.3 Low Trip Interrupt Lower Register (LTIL)

Bit

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

Name

IE[7:0]

IF[7:0]

Reset

Access

rw

rw

rw

rw

rw

rw

rw

rw

rw

rw

rw

rw

rw

rw

rw

rw


BIT

NAME

DESCRIPTION

15:8

IE[7:0]

Low Trip Interrupt Enable. This register is used to enable/mask the corresponding
LTIL register interrupts. For Example, if LTIL = 0x0100 then Quick Trip list 0 can
generate an interrupt when LTIL LSB is set to ‘1’ and all other interrupts from LTIL are
ignored. Similarly, if LTIL = 0xFF00, then all 8 interrupts from LTIL generate interrupts.

7:0

IF[7:0]

Low Trip Interrupt Flag. The corresponding bit of the Low Trip Interrupt register is set
when a low threshold trip is occurred on a channel list register. In other words, when
voltage across channel is less than the low threshold configuration for the channel.
For example, if a low trip occurs on the list register 0 then LTIL is set to 0x0001. If the
corresponding IE bit is also ‘1’, and then this generates an interrupt. Software should
clear the Low Trip Interrupt Flag once it is set by hardware. Setting this bit to ‘1’ by
software generates an interrupt if enabled.


9.2.4 High Trip Interrupt Lower Register (HTIL)

Bit

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

Name

IE[7:0]

IF[7:0]

Reset

Access

rw

rw

rw

rw

rw

rw

rw

rw

rw

rw

rw

rw

rw

rw

rw

rw


BIT

NAME

DESCRIPTION

15:8

IE[7:0]

High Trip Interrupt Enable. This register is used to enable/mask the corresponding
HTIL register interrupts. For example, if HTIL = 0x0100 then Quick Trip list 0 can
generate an interrupt when HTIL LSB is set to ‘1’ and all other interrupts from HTIL are
ignored. Similarly, if HTIL = 0xFF00, then all 8 flags from HTIL generate interrupts.

7:0

IF[7:0]

High Trip Interrupt Flag. The corresponding bit of the High Trip Interrupt register is
set when a high threshold trip is occurred on a channel list register. In other words,
when voltage across channel is greater than the high threshold configuration for the
channel.
For example, if a high trip occurs on the list register 0 then HTIL is be set to 0x0001. If
the corresponding IE bit is also ‘1’, and then this generates an interrupt. Software
should clear the how trip interrupt flag once it is set by hardware. Setting this bit to ‘1’
by software generates an interrupt if enabled.



















Advertising