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

Page 72

Advertising
background image

DS4830A User’s Guide

72

8.2.2 – Sample and Hold Internal Trigger Enable Register (SENR)


Bit

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

Name

INT_TRIG_EN1

INT_TRIG1

-

-

INT_TRIG_EN0

INT_TRIG0

Reset

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

Access

r

r

r

r

r

r

r

r

r

r

rw

rw

r

r

rw

rw

BIT

NAME

DESCRIPTION

15:6

-

Reserved. The user should write 0 to these bits.

5

INT_TRIG_EN1 Sample and Hold 1 Internal Trigger Enable. Setting this bit to ‘1’ enables internal

trigger mode for Sample and Hold 1. When this bit is set to ‘1’, writing a ‘1’ to
INT_TRIG1 starts an internal sample pulse for Sample and Hold 1. When this bit is
‘1’, sample pulses on SHEN1 are igonred.
Setting this bit to ‘0’ configures Sample and Hold 1 for external sample pulse.
This bit is used in the dual mode operation only.

4

INT_TRIG1

Sample and Hold 1 Internal Trigger. This bit is used when INT_TRIG_EN1 is set to
‘1’. Setting this bit to ‘1’ starts internal sample pulse for Sample and Hold 1. The
sample pulse will end when this bit is set back to 0 if SSC[3:0] = 0, or after the time
defined by SSC[3:0] if these bits are not equal to 0. This bit is used in the dual mode
operation only.

3:2

-

Reserved. The user should write 0 to these bits.

1

INT_TRIG_EN0 Sample and Hold Internal Trigger Enable. Setting this bit to ‘1’ enables internal

trigger mode for Sample and Hold 0. When this bit is set to ‘1’, writing a ‘1’ to
INT_TRIG0 starts an internal sample pulse for Sample and Hold 0. When this bit is
‘1’, sample pulses on SHEN0 are igonred.
Setting this bit to ‘0’ configures Sample and Hold 0 for external sample pulse.
In the single mode operation, this bit is used for both sample and holds.

0

INT_TRIG0

Sample and Hold0 Internal Trigger. This bit is used when the INT_TRIG_EN0 is set
to ‘1’. Setting this bit to ‘1’ starts internal sample pulse for Sample and Hold 0. The
sample pulse will end when this bit is set back to 0 if SSC[3:0] = 0, or after the time
defined by SSC[3:0] if these bits are not equal to 0.In the single mode operation, this
bit is used for both sample and holds.


8.2.3 – Sample and Hold Interrupt flag
See ADST1 description for Sample and Hold interrupts flags SH0DAI and SH1DAI descriptions.

8.2.4 – Sample and Hold Averaging
See REFAVG description in ADC section for sample and hold averaging options.




















Advertising