English
Language : 

HD404639R Datasheet, PDF (80/135 Pages) Renesas Technology Corp – 4-Bit Single-Chip Microcomputer
HD404639R Series
Detection edge selection register 2 (ESR2: $027)
Bit
Initial value
Read/Write
Bit name
3
0
W
ESR23
2
0
W
ESR22
1
0
W
ESR21
0
0
W
ESR20
ESR23
0
1
ESR22
0
1
0
1
EVND detection edge
No detection
Falling-edge detection
Rising-edge detection
Double-edge detection *
ESR21
0
1
ESR20
0
1
0
1
INT4 detection edge
No detection
Falling-edge detection
Rising-edge detection
Double-edge detection *
Note: * Both falling and rising edges are detected.
Figure 65 Detection Edge Select Register 2 (ESR2)
Notes on Use
When using the timer output as PWM output, note the following point. From the update of the timer write
register until the occurrence of the overflow interrupt, the PWM output differs from the period and duty
settings, as shown in table 25. The PWM output should therefore not be used until after the overflow
interrupt following the update of the timer write register. After the overflow, the PWM output will have the
set period and duty cycle.
78