6. I/O ports
A96G150 User's manual
64
6.6
P4 port
6.6.1
P4 port description
P4 is a 6-bit I/O port. P4 control registers consist of P4 data register (P4), P4 direction register (P4IO),
P4 pull-up resistor selection register (P4PU) andP4 open-drain selection register (P4OD). Refer to the
port function selection registers for the P4 function selection.
6.6.2
Register description for P4
P4 (P4 Data Register): A0H
7
6
5
4
3
2
1
0
-
-
P45
P44
P43
P42
P41
P40
-
-
R/W
R/W
R/W
R/W
R/W
R/W
Initial value: 00H
P4[5:0]
I/O Data
P4IO (P4 Direction Register): C9H
7
6
5
4
3
2
1
0
-
-
P45IO
P44IO
P43IO
P42IO
P41IO
P40IO
-
-
R/W
R/W
R/W
R/W
R/W
R/W
Initial value: 00H
P4IO[5:0]
P4 Data I/O Direction
0
Input
1
Output
NOTE:
EINT40 to EINT43 function possible when input
.
P4PU (P4 Pull-up Resistor Selection Register): A3H
7
6
5
4
3
2
1
0
-
-
P45PU
P44PU
P43PU
P42PU
P41PU
P40PU
-
-
R/W
R/W
R/W
R/W
R/W
R/W
Initial value: 00H
P4PU[5:0]
Configure Pull-up Resistor of P4 Port
0
Disable
1
Enable
P4OD (P4 Open-drain Selection Register): 94H
7
6
5
4
3
2
1
0
-
-
P45OD
P44OD
P43OD
P42OD
P41OD
P40OD
-
-
R/W
R/W
R/W
R/W
R/W
R/W
Initial value: 00H
P4OD[5:0]
Configure Open-drain of P4 Port
0
Push-pull output
1
Open-drain output
Содержание A96G150
Страница 126: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 126 Figure 43 16 bit Timer Counter Mode Operation Example...
Страница 136: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 136 Figure 51 16 bit Timer Counter Mode Operation Example...
Страница 147: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 147 Figure 59 16 bit Timer Counter Mode Operation Example...
Страница 157: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 157 Figure 67 16 bit Timer Counter Mode Operation Example...
Страница 171: ...A96G150 User s manual 14 12 bit ADC 171 Figure 79 ADC Operation Flow Sequence...
Страница 333: ...A96G150 User s manual Revision history 333 Revision history Revision Date Notes 1 00 2022 06 22 First creation...