Datasheet
Register 4: 1-Wire Data Read (ONEWIREDATR), offset 0x00C
The 1-Wire Data Write (ONEWIREDATW) and 1-Wire Data Read (ONEWIREDATR) registers are
used to transmit or receive data. Data is processed LSB first, which means the lowest (and possibly
only) byte is transferred first. Note that for normal processor use of writing and write/read, the
ONEWIREDATW register must be written before the OP field of the ONEWIRECS register is
programmed. If reading (or write/read), the ONEWIREDATR register is read after completion (when
OP returns to value 0). When doing write/read (OP=0x3), either register can be written. Because bits
written as a 1 in the ONEWIREDATR register also act as a read, writing 0xFF is the same as a read
of two bytes. Writing 0xF0 allows writing 0 for the lower nibble and reading the upper nibble. If the
slave does not know it is a read, each written 1 reads back as 1.
1-Wire Data Read (ONEWIREDATR)
Base 0x400B.6000
Offset 0x00C
Type RW, reset 0x0000.0000
16171819202122232425262728293031
B2B3
RWRWRWRWRWRWRWRWRWRWRWRWRWRWRWRWType
0000000000000000Reset
0123456789101112131415
B0B1
RWRWRWRWRWRWRWRWRWRWRWRWRWRWRWRWType
0000000000000000Reset
DescriptionResetTypeNameBit/Field
Upper Data Byte
This data byte is used when SZ field = 3.
0x00RWB331:24
Upper Middle Data Byte
Contains upper middle data byte and is used when SZ field = 2 or 3.
0x00RWB223:16
Lower Middle Data Byte
Contains lower middle data byte and is used when SZ field = 1, 2, or 3.
0x00RWB115:8
Lowest Data Byte
Contains byte data being read or written (depending on the operation).
This byte is always used.
0x00RWB07:0
1523December 13, 2013
Texas Instruments-Advance Information
Tiva
™
TM4C129XNCZAD Microcontroller