NEC UPD703116 User Manual page 718

32-bit single-chip microcontrollers
Table of Contents

Advertisement

Bit position
Bit name
3, 2
EDGE01n,
EDGE00n
1, 0
TMS01n,
TMS00n
Remark
n = 0 to 5
718
CHAPTER 14 PORT FUNCTIONS
Specifies the INTP2n pin valid edge.
EDGE01n EDGE00n
0
0
Interrupt due to INTCC2n
0
1
Rising edge
1
0
Falling edge
1
1
Both rising and falling edges
Note Specify when selecting INTCC2n according to match of TM20, TM21
and sub-channel compare registers (TMS01n, TMS00n bit settings)
(n = 0 to 5).
Note
Selects capture input
.
TMS01n
TMS00n
0
0
Use as pin
0
1
Digital filter (noise eliminator specification)
1
0
Capture to sub-channel 1 according to timer
1
1
Capture to sub-channel 2 according to timer
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 sub-channel 1 and sub-channel 2 of timer 2.
Examples are shown below.
(a) Capture sub-channel 1 on INTCM101
FEM1 register = xxxxxx10B
TMIC0 register = 00000010B
(b) Capture sub-channel 2 on INTCM101
FEM2 register = xxxxxx11B
TMIC0 register = 00001000B
User's Manual U14492EJ5V0UD
Function
Operation
Note
Operation
(2/2)

Advertisement

Table of Contents
loading

Table of Contents