
DS2409
102199
5 of 18
STATUS CONTROL BYTE
Table 1
7
6
DATA
X
SEL.
5
4
3
2
1
0
CNTR.
MODE
R/
W
R/
W
X
X
X
0-2
3-4
5
X
don’t care
Write control: both bits must be 0 to change the status.
control output mode selection: 0 = auto-control mode (default), 1 = manual mode
R/
W
MODE
CNTR.
SEL.
DATA
X
6
control output association (auto-control mode): 0 = main (default), 1 = auxiliary
7
Value to be written to control output (manual mode only): don’t care otherwise
STATUS INFO BYTE
Table 2
7
CNTR.
STAT
6
5
4
3
2
1
0
MODE
EVNT
AUX.
EVNT
MAIN
AUX.
LEVL
AUX.
STAT
MAIN
LEVL
MAIN
STAT
0
MAIN
STAT
MAIN
LEVL
AUX.
STAT
AUX.
LEVL
EVNT
MAIN
EVNT
AUX.
CNTR.
STAT
MODE
status of main output: 0 = active (connected to bus master), 1 = inactive
1
voltage sensed at main output: 0 = low, 1 = high
(see note)
2
status of auxiliary output: 0 = active (connected to bus master), 1 = inactive
3
voltage sensed at auxiliary output: 0 = low, 1 = high
(see note)
4
event flag for main output: 0 = no event, 1 = negative edge sensed since inactive
5
event flag for aux. Output: 0 = no event, 1 = negative edge sensed since inactive
6
if auto-control mode: control output association, 0 = main, 1 = auxiliary
if manual mode: 0 = output transistor off, 1 = output transistor on
control output mode: 0 = auto-control mode, 1 = manual mode
7
Note:
Data is valid only if the output is decoupled from the 1-Wire input.
ALL LINES OFF [66h]
This command is used to deactivate the currently active 1-Wire output and to clear both event flags or to
end a discharge cycle initiated by the Discharge Lines command. Before issuing this command, one
should read the status and check the event flags of both, the main and the auxiliary output. Otherwise one
might inadvertently clear the event flag without having taken appropriate action. If the DS2409 is in auto-
control mode, the transistor at the control output will be switched off (non-conducting). At power-on, the
device will automatically perform the All Lines Off command. In contrast to a power-on cycle, the All
Lines Off command does not clear the Mode and Control Select bits.