CHAPTER 7 INTERRUPTION/EXCEPTION PROCESSING FUNCTION
286
User’s Manual U14359EJ4V0UM
(2) Valid edge select registers C0 to C3 (SESC0 to SESC3)
These registers specify the valid edge for external interrupt requests (INTP000, INTP001, INTP010,
INTP011, INTP020, INTP021, INTP030, INTP031, TI000 to TI030), input via external pins. The
correspondence between each register and the external interrupt requests that register controls is shown
below.
•
SESC0: TI000, INTP000, INTP001
•
SESC1: TI010, INTP010, INTP011
•
SESC2: TI020, INTP020, INTP021
•
SESC3: TI030, INTP030, INTP031
The valid edge can be specified independently for each pin (rising edge, falling edge, or both rising and
falling edges).
These registers can be read/written in 8-bit units.
Cautions 1. When using the INTP0n0/TI0n0 or INTP0n1 pin as INTP0n0, INTP0n1, be sure to preset
the TMCCAEn bit of timer mode control register Cn0 (TMCCn0) to 1 (n = 0 to 3).
2. Before setting the TI0n0, INTP0n1, or INTP0n0 pin in the trigger mode, set the PMCx
register.
If the PMCx register is set after the SESC0 to SESC3 registers have been set, an illegal
interrupt may occur depending on the timing of setting the PMCx register (n = 0 to 3, x =
0, 1, 2, or 5).
Содержание V850E/MA1
Страница 2: ...2 User s Manual U14359EJ4V0UM MEMO...