Download Print this page

Renesas M16C/50 Series User Manual page 393

Advertisement

M16C/5L Group, M16C/56 Group
18.2.5
Base Timer Register (G1BT)
Base Timer Register
b15
b8
(b7)
(b0)
b7
Read the G1BT register in 16-bit units. Do not write to this register.
While the base timer is counting, the base timer value is stored to this register, and synchronized with
the base timer count source (fBT1).
The base timer stops counting only when bits BCK1 and BCK0 in the G1BCR0 register are 00b (clock
stopped). When bits BCK1 and BCK0 are not 00b, the base timer operates.
When the BTS bit in the G1BCR1 register is 0 (base timer reset), the G1BT register is held in the reset
state (0000h). The counter stays in this state without counting. When the BTS bit is set to 1, the state is
released and the base timer starts counting.
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
b0
Symbol
G1BT
- While the base timer is running (when the BTS bit in the G1BCR1 register is 1 and bits BCK1
and BCK0 in the G1BCR0 register are values other than 00b):
When reading this register, the current base timer value is returned.
When the base timer is reset, this register becomes 0000h.
- When the BTS bit in the G1BCR1 register is 0:
This register becomes 0000h.
When reading this register, an undefined value is returned.
Address
02E1h to 02E0h
Function
18. Timer S
Reset Value
XXXXh
RW
RW
Page 356 of 803

Advertisement

loading