English
Language : 

HD6433802H Datasheet, PDF (396/435 Pages) Hitachi Semiconductor – Single-Chip Microcomputer
PMR5—Port mode register 5
H'CC
I/O port
Bit
Initial value
Read/Write
7
WKP7
0
R/W
6
WKP6
0
R/W
5
WKP5
0
R/W
4
WKP4
0
R/W
3
WKP3
0
R/W
2
WKP2
0
R/W
1
WKP1
0
R/W
0
WKP0
0
R/W
P5n/WKPn/SEGn+1 pin function switch
0 Functions as P5n I/O pin
1 Functions as WKPn input pin
PWCR2—PWM2 Control Register
H'CD
Bit
7
6
5
4
3
2
1
0
—
—
—
—
—
— PWCR21 PWCR20
Initial value 1
1
1
1
1
1
0
0
Read/Write —
—
—
—
—
—
W
W
10-bit PWM
Cloxk select
0 The input clock is ø (tø* = 1/ø) The conversion period is 512/ø, with a minimum modulation width of 1/2 ø
0 1 The input clock is ø/2 (tø* = 2/ø) The conversion period is 1,024/ø, with a minimum modulation width of 1/ø
0 The input clock is ø/4 (tø* = 4/ø) The conversion period is 2,048/ø, with a minimum modulation width of 2/ø
1 1 The input clock is ø/8 (tø* = 8/ø) The conversion period is 4,096/ø, with a minimum modulation width of 4/ø
Note: * tø: Period of PWM2 input clock
PWDRU2—PWM2 Data Register U
Bit
7
6
5
4
—
—
—
—
Initial value 1
1
1
1
Read/Write —
—
—
—
H'CE
10-bit PWM
3
2
1
0
—
— PWDRU21 PWDRU20
1
1
0
0
—
—
W
W
Upper 2 bits of PWM2 waveform generation data
378