CHAPTER 12 PORT FUNCTIONS
587
User’s Manual U15195EJ5V0UD
(2/2)
Bit position
Bit name
Function
Specifies the INTP2n pin valid edge.
EDGE01n
EGE00n Operation
0
0
Interrupt due to INTCC2n
Note
0 1
Rising
edge
1 0
Falling
edge
1
1
Both rising and falling edges
3, 2
EDGE01n,
EDGE00n
Note
Specify when selecting INTCC2n according to a match of TM20, TM21 and the
subchannel compare registers (TMS01n, TMS00n bit settings) (n = 0 to 5).
Selects capture input
Note
.
TMS01n TMS00n
Operation
0
0
Used as pin
0
1
Digital filter (noise eliminator specification)
1
0
Capture to subchannel 1 according to timer
1
1
Capture to subchannel 2 according to timer
1, 0
TMS01n,
TMS00n
Note
Capture input according to INTCM100 and INTCM101 can be selected only for
the FEM1 and FEM2 registers. Set the values of the TMS01m and TMS00m bits
in the FEMm register to 00B or 01B. Settings other than these are prohibited (m
= 1, 3 to 5).
Capture according to INTP21, INTP22 and INTCM100, INTCM101 is possible for
subchannel 1 and subchannel 2 of timer 2.
Examples are shown below.
(a) Capture subchannel 1 on INTCM101
FEM1 register = xxxxxx10B
TMIC0 register = 00000010B
(b) Capture subchannel 2 on INTCM101
FEM2 register = xxxxxx11B
TMIC0 register = 00001000B
Remark
n = 0 to 5
Содержание PD703114
Страница 2: ...2 User s Manual U15195EJ5V0UD MEMO ...