Int1 Interrupt - Renesas R8C/18 Series Hardware Manual

16-bit single-chip mcu
Table of Contents

Advertisement

R8C/18 Group, R8C/19 Group
12.2.3

INT1 Interrupt

The INT1 interrupt is generated by an INT1 input. The edge polarity is selected by the R0EDG bit in
the TXMR register.
When the CNTRSEL bit in the UCON register is set to 0, the INT10 pin becomes the INT1 input pin.
When the CNTRSEL bit is set to 1, the INT11 pin becomes the INT1 input pin.
The INT10 pin is shared with the CNTR00 pin and the INT11 pin is shared with the CNTR01 pin.
Figure 12.14 shows the TXMR Register when INT1 Interrupt is Used.
Timer X Mode Register
b7 b6 b5 b4
b3 b2 b1 b0
NOTES:
_____
1.
When using INT1
2.
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.
3.
Refer to 14.1.6 Notes on Tim er X for precautions regarding the TXS bit.
Figure 12.14
TXMR Register when INT1 Interrupt is Used
Rev.1.30
Apr 14, 2006
REJ09B0222-0130
Symbol
Address
008Bh
TXMR
Bit Symbol
Bit Name
Operating mode select bits
(1)
0, 1
TXMOD0
TXMOD1
_____
INT1
/CNTR0 polarity sw itch
R0EDG
(2)
bit
Timer X count start flag
TXS
_______
P3_7/CNTR0
select bit
TXOCNT
Operating mode select
bit 2
TXMOD2
Active edge reception flag
TXEDG
Timer X underflow flag
TXUND
interrupt, select modes other than pulse output mode.
Page 87 of 233
After Reset
Function
b1 b0
0 0 : Timer mode or pulse period measurement
mode
0 1 : Do not set.
1 0 : Event count mode
1 1 : Pulse w idth measurement mode
0 : Rising edge
1 : Falling edge
(3)
0 : Stops counting.
1 : Starts counting.
Function varies depending on operating mode.
0 : Other than pulse period measurement mode
1 : Pulse period measurement mode
Function varies depending on operating mode.
Function varies depending on operating mode.
12. Interrupts
00h
RW
RW
RW
RW
RW
RW
RW
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

R8c/1 seriesR8c seriesR8c/19 series

Table of Contents