R8C/1A Group, R8C/1B Group 14. Timers
Rev.1.30 Dec 08, 2006 Page 110 of 315
REJ09B0252-0130
Figure 14.2 TXMR Register
Timer X Mode Register
Symbol Address After Reset
TXMR
008Bh 00h
Bit Symbol Bit Name Function RW
INT1
____
/CNTR0 signal
polarity sw itch bit
(1)
P3_7/CNTR0
_______
select bit
NOTES :
1.
2. Refer to
14.1.6 Notes on Timer X
for precautions regarding the TXS bit.
RW
Timer X underflow flag Function varies depending on operating mode.
Operating mode select bit 2 0 : Other than pulse period measurement mode
1 : Pulse period measurement mode
TXEDG RW
Active edge judgment flag Function varies depending on operating mode.
b3 b2
Function varies depending on operating mode.
TXS
Timer X count start flag
(2)
0 : Stops counting.
1 : Starts counting.
b1 b0b7 b6 b5 b4
TXMOD0 RW
Operating mode select bits 0, 1
b1 b0
0 0 : Timer mode or pulse period measurement
mode
0 1 : Pulse output mode
1 0 : Event counter mode
1 1 : Pulse w idth measurement mode
TXMOD1 RW
The IR bit in the INT1IC register may be set to 1 (requests interrupt) w hen the R0EDG bit is rew ritten.
Refer to
12.5.5 Changing Interrupt Sources.
R0EDG RW
RW
TXOCNT
Function varies depending on operating mode.
RW
TXMOD2
TXUND RW