Rainbow Electronics DS2482-800 User Manual
Page 20

DS2482-800: Eight-Channel 1-Wire Master
20 of 22
Case C: 1-Wire idle (1WB = 0), busy polling until the 1-Wire Command is completed.
S
AD,0
A
1WRB
A
Sr
AD,1
A
A
A\
Sr
AD,0
A
SRP
A
E1h
A
Sr
AD,1
A 
P
Poll the Status Register until the 1WB bit has changed from 1 to 0. Then set the read pointer to the read data 
register (code E1h) and access the device again to read the data byte that was obtained from the 1-Wire IO 
channel. 
 
Case D: 1-Wire busy (1WB = 1) 
S
AD,0
A
1WRB
A\
P
The master should stop and restart as soon as the DS2482 does not acknowledge the command code. 
 
 
1-Wire Single Bit, e. g., to generate a single time slot on a 1-Wire IO channel 
Case A: 1-Wire idle (1WB = 0), no busy polling
S
AD,0
A
1WSB
A
A
P
(Idle)
S
AD,1
A 
A\
P
The idle time is needed for the 1-Wire function to complete. Then access the device in read mode to get the result 
from the 1-Wire single-bit command. 
 
Case B: 1-Wire idle (1WB = 0), busy polling until the 1-Wire Command is completed. 
S
AD,0
A
1WSB
A
A
Sr
AD,1
A
A
A\
P
When 1WB has changed from 1 to 0, the Status Register holds the valid result of the 1-Wire Single Bit command. 
 
Case C: 1-Wire busy (1WB = 1) 
S
AD,0
A
1WSB
A\
P
The master should stop and restart as soon as the DS2482 does not acknowledge the command code. 
 
 
1-Wire Triplet, e.g., to perform a Search ROM function on a 1-Wire IO channel 
Case A: 1-Wire idle (1WB = 0), no busy polling
S
AD,0
A
1WT
A
A
P
(Idle)
S
AD,1
A 
A\
P
The idle time is needed for the 1-Wire function to complete. Then access the device in read mode to get the result 
from the 1-Wire Triplet command. 
 
Case B: 1-Wire idle (1WB = 0), busy polling until the 1-Wire Command is completed. 
S
AD,0
A
1WT
A
A
Sr
AD,1
A
A
A\
P
When 1WB has changed from 1 to 0, the Status Register holds the valid result of the 1-Wire Triplet command. 
 
Repeat until the 1WB 
bit has changed to 0 
Repeat until the 1WB 
bit has changed to 0 
Repeat until the 1WB 
bit has changed to 0 
