|
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
|
▷ |