![Renesas R8C series Скачать руководство пользователя страница 126](http://html1.mh-extra.com/html/renesas/r8c-series/r8c-series_hardware-manual_1440345126.webp)
R8C/18 Group, R8C/19 Group
Rev.1.30
Apr 14, 2006
Page 111 of 233
REJ09B0222-0130
Figure 14.7
TXMR Register in Pulse Width Measurement Mode
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)
[INT1]
_____
RW
0 : Rising edge
1 : Falling edge
NOTES:
1.
2.
RW
TXOCNT
RW
TXMOD2
Set to 0 in pulse w idth measurement mode.
RW
Operating mode select bits 0, 1
b1 b0
1 1 : Pulse w idth measurement mode
TXMOD1
RW
1
1
TXMOD0
b7 b6 b5 b4
0 0 0 0
RW
b3 b2
[CNTR0]
0 : Measures “L” level w idth
1 : Measures “H” level w idth
TXS
Timer X count start flag
(2)
0 : Stops counting.
1 : Starts counting.
b1 b0
R0EDG
Refer to
14.1.6 Notes on Tim er X
for precautions regarding the TXS bit.
Set to 0 in pulse w idth measurement mode.
Set to 0 in pulse w idth measurement mode.
RW
TXUND
RW
TXEDG
Set to 0 in pulse w idth measurement mode.
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
.