English
Language : 

HD404054 Datasheet, PDF (61/101 Pages) Hitachi Semiconductor – HMCS400-series microcomputers designed to increase program productivity with large-capacity memory
HD404054 Series/HD404094 Series
• Port mode register C (PMRC: $025): Write-only register that selects R40/EVND pin function as shown
in figure 47. It is reset to $0 by MCU reset.
Port mode register C (PMRC: $025)
Bit
Initial value
Read/Write
Bit name
3
2
1
0
0
0
0
—
W
W
W
—
PMRC3 PMRC2 PMRC1 Not used
PMRC1
0
1
R40/EVND mode selection
R40
EVND
PMRC2
0
1
D12/STOPC mode selection
D12
STOPC
PMRC3
0
1
D13/INT0 mode selection
D13
INT0
Figure 47 Port Mode Register C (PMRC)
• Detection edge select register 2 (ESR2: $027): Write-only register that selects the detection edge of
signals input to pin EVND as shown in figure 48. It is reset to $0 by MCU reset.
Detection edge register 2 (ESR2: $027)
Bit
Initial value
Read/Write
Bit name
3
0
W
ESR23
2
1
0
0
—
—
W
—
—
ESR22 Not used Not used
ESR23 ESR22 EVND detection edge
0
0
No detection
1
Falling-edge detection
1
0
Rising-edge detection
1
Double-edge detection*
Note: * Both falling and rising edges are detected.
Figure 48 Detection Edge Select Register 2 (ESR2)
61