22.5.2 ONEWIRETIM Register (Offset = 0x4) [reset = 0x0]
1-Wire Timing Override (ONEWIRETIM), offset 0x004
The 1-Wire Timing Override (ONEWIRETIM) register allows for overriding of the timing rules for the 1-Wire interface. If a field is 0, the default is used (normal or overdrive).
ONEWIRETIM is shown in Figure 22-8 and described in Table 22-6.
Return to Summary Table.
Figure 22-8 ONEWIRETIM Register
31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
W1TIM |
W0TIM |
W0REST |
W1SAM |
R/W-0x0 |
R/W-0x0 |
R/W-0x0 |
R/W-0x0 |
|
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
W1SAM |
ATRSAM |
ATRTIM |
RSTTIM |
R/W-0x0 |
R/W-0x0 |
R/W-0x0 |
R/W-0x0 |
|
Table 22-6 ONEWIRETIM Register Field Descriptions
Bit |
Field |
Type |
Reset |
Description |
31-28 |
W1TIM |
R/W |
0x0 |
Value 1 Timing. This field indicates the time low for a 1 in µs units.
|
27-23 |
W0TIM |
R/W |
0x0 |
Value 0 Timing. Indicates time low for a 0 in 4 µs units. If W0TIM has been programmed to a non-default value, W0REST must be programmed for correct functionality.
|
22-19 |
W0REST |
R/W |
0x0 |
Rest Time. This field indicates time to rest after a 0 in 1 µs units. If W0TIM has been programmed to a non-default value, W0REST must be programmed for correct functionality.
|
18-15 |
W1SAM |
R/W |
0x0 |
Sample Time. Time to sample for a 1 vs 0 in µs after the release of the line by 1-Wire. The LSAM bit is ignored if this bit is set.
|
14-11 |
ATRSAM |
R/W |
0x0 |
Answer-to-Reset Sample. Time to first sample for answer-to-reset in 8 µs units. Sampling continues until time indicated by ATRTIM bit. When programming ATRTIM and ATRSAM , the value of ATRTIM must be greater than ATRSAM to prevent the line from being flagged as STUCK.
|
10-6 |
ATRTIM |
R/W |
0x0 |
Answer-to-Reset/Rest Period. This field indicates the answer-to-reset period in 16 µs units. If the SKATR bit is set in the ONEWIRECS register, this value indicates the rest period after reset. When programming ATRTIM and ATRSAM , the value of ATRTIM must be greater than ATRSAM to prevent the line from being flagged as STUCK.
|
5-0 |
RSTTIM |
R/W |
0x0 |
Reset Low Time. Indicates the time reset is low in 32 µs units.
|