English
Language : 

HD404849 Datasheet, PDF (79/127 Pages) Hitachi Semiconductor – 4-Bit Single-Chip Microcomputer
HD404849 Series
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
0
0
1
1
0
1
EVND 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 27. 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.
77