|
EZ80F91MCU Datasheet, PDF (161/396 Pages) Zilog, Inc. – eZ80Acclaim-TM Flash Microcontrollers | |||
|
◁ |
eZ80F91 MCU
Product Specification
142
Timer Data RegisterâLow Byte
The Timer x Data RegisterâLow Byte returns the Low byte of the current count
value of the selected timer. The Timer Data RegisterâLow Byte, detailed in Table
57, can be read while the timer is in operation. Reading the current count value
does not affect timer operation. To read the 16-bit data of the current count value,
{TMRx_DR_H[7:0], TMRx_DR_L[7:0]}, first read the Timer Data RegisterâLow
Byte, followed by the Timer Data RegisterâHigh Byte. The Timer Data Registerâ
High Byte value is latched into temporary storage when a Read of the Timer Data
RegisterâLow Byte occurs.
This register shares its address with the corresponding timer reload register.
Table 57. Timer Data RegisterâLow Byte
(TMR0_DR_L = 0063h, TMR1_DR_L = 0068h, TMR2_DR_L = 0072h,
TMR3_DR_L = 0077h)
Bit
Reset
CPU Access
Note: R = Read only.
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
R
R
R
R
R
R
R
R
Bit
Position
[7:0]
TMR_DR_L
Value Description
00hâFFh These bits represent the Low byte of the 2-byte timer data
value, {TMRx_DR_H[7:0], TMRx_DR_L[7:0]}. Bit 7 is bit 7
of the 16-bit timer data value. Bit 0 is bit 0 (lsb) of the 16-
bit timer data value.
Timer Data RegisterâHigh Byte
The Timer x Data RegisterâHigh Byte returns the High byte of the count value of
the selected timer as it existed at the time that the Low byte was read. The Timer
Data RegisterâHigh Byte, detailed in Table 58, can be read while the timer is in
operation. Reading the current count value does not affect timer operation. To
read the 16-bit data of the current count value, {TMRx_DR_H[7:0],
TMRx_DR_L[7:0]}, first read the Timer Data RegisterâLow Byte followed by the
Timer Data RegisterâHigh Byte. The Timer Data RegisterâHigh Byte value is
latched into temporary storage when a Read of the Timer Data RegisterâLow
Byte occurs.
This register shares its address with the corresponding timer reload register.
PS019209-0504
PRELIMINARY
Programmable Reload Timers
|
▷ |