Texas Instruments Development Kit for TM4C129x,Tiva™ ARM® Cortex™ -M4 Microcontroller DK-TM4C129X DK-TM4C129X Datenbogen

Produktcode
DK-TM4C129X
Seite von 2182
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
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
B2
B3
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
Type
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Reset
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
B0
B1
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
Type
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Reset
Description
Reset
Type
Name
Bit/Field
Upper Data Byte
This data byte is used when
SZ
field = 3.
0x00
RW
B3
31:24
Upper Middle Data Byte
Contains upper middle data byte and is used when
SZ
field = 2 or 3.
0x00
RW
B2
23:16
Lower Middle Data Byte
Contains lower middle data byte and is used when
SZ
field = 1, 2, or 3.
0x00
RW
B1
15:8
Lowest Data Byte
Contains byte data being read or written (depending on the operation).
This byte is always used.
0x00
RW
B0
7:0
1523
December 13, 2013
Texas Instruments-Advance Information
Tiva
TM4C129XNCZAD Microcontroller