English
Language : 

R8C-18_1 Datasheet, PDF (126/257 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MCU R8C FAMILY / R8C/1x SERIES
R8C/18 Group, R8C/19 Group
14. Timers
Timer X Mode Register
b7 b6 b5 b4 b3 b2 b1 b0
0000
1 1 Symbol
TXMR
Bit Symbol
Address
008Bh
Bit Name
After Reset
00h
Function
RW
TXMOD0 Operating mode select bits 0, 1
b1 b0
RW
TXMOD1
_____
INT1/CNTR0 signal
1 1 : Pulse w idth measurement mode
RW
[CNTR0]
polarity sw itch bit(1)
0 : Measures “L” level w idth
R0EDG
1 : Measures “H” level w idth
_____
[INT1]
RW
0 : Rising edge
1 : Falling edge
Timer X count start flag(2)
0 : Stops counting.
TXS
1 : Starts counting.
RW
TXOCNT Set to 0 in pulse w idth measurement mode.
RW
TXMOD2 Set to 0 in pulse w idth measurement mode.
RW
TXEDG Set to 0 in pulse w idth measurement mode.
RW
TXUND Set to 0 in pulse w idth measurement mode.
RW
NOTES:
1. 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.
2. Refer to 14.1.6 Notes on Tim er X for precautions regarding the TXS bit.
Figure 14.7 TXMR Register in Pulse Width Measurement Mode
Rev.1.30 Apr 14, 2006 Page 111 of 233
REJ09B0222-0130