![Data Translation DT9837 User Manual Download Page 137](http://html.mh-extra.com/html/data-translation/dt9837/dt9837_user-manual_511243137.webp)
Register-Level Programming
137
Writing to EEPROM to Change the Coupling Type and Current
Source
The Open Layers Control Panel has controls for setting the coupling type and current source
for analog input channels 0, 1, 2, and 3, and for keeping the high power mode always on or off.
You can change these settings programmatically by writing to the EEPROM on the DT9837
module.
The EEPROM_OFFSET_SETTINGS control (15) is used to store the coupling type and current
source values for the DT9837.
describes the bit values in the
EEPROM_OFFSET_SETTINGS control that are used to store the coupling type and current
source values on the DT9837 module.
Table 36: DT9837 EEPROM Byte (EEPROM_OFFSET_SETTINGS)
for the Coupling Type and Current Source
Bits
Type
Default
Name
Description
[0]
RW
1
ADC 0 Coupling
Select the coupling type for analog input
channel 0:
0 – AC
1 – DC
[1]
RW
1
ADC 1 Coupling
Select the coupling type for analog input
channel 1:
0 – AC
1 – DC
[2]
RW
1
ADC 2 Coupling
Select the coupling type for analog input
channel 2:
0 – AC
1 – DC
[3]
RW
1
ADC 3 Coupling
Select the coupling type for analog input
channel 3:
0 – AC
1 – DC
[4]
RW
1
ADC 0 Current Source
Select whether or not to use the 4 mA current
source for analog input channel 0:
0 – Enabled
1 – Disabled
[5]
RW
1
ADC 1 Current Source
Select whether or not to use the 4 mA current
source for analog input channel 1:
0 – Enabled
1 – Disabled
[6]
RW
1
ADC 2 Current Source
Select whether or not to use the 4 mA current
source for analog input channel 2:
0 – Enabled
1 – Disabled
[7]
RW
1
ADC 3 Current Source
Select whether or not to use the 4 mA current
source for analog input channel 3:
0 – Enabled
1 – Disabled
Summary of Contents for DT9837
Page 1: ...DT9837 Series UM 22417 AJ User s Manual Title Page ...
Page 4: ......
Page 12: ...About this Manual 12 ...
Page 26: ...Chapter 1 26 ...
Page 27: ...Part 1 Getting Started ...
Page 28: ......
Page 53: ...Verifying the Operation of a Module 53 ...
Page 60: ...Chapter 4 60 ...
Page 61: ...Part 2 Using Your Module ...
Page 62: ......
Page 90: ...Chapter 5 90 ...
Page 104: ...Chapter 6 104 ...
Page 110: ...Chapter 7 110 ...
Page 130: ...Appendix A 130 ...
Page 144: ...Appendix C 144 ...
Page 150: ...Index 150 ...