29
4.20 8-bit GPIO Function
The HS-8601 offers one 8-bit general purpose input/output port.
z
CN8: 8-bit GPIO
PIN Description PIN Description
1
9
10
2
1
VCC
2
GND
3
GPIO0
4
GPIO4
5
GPIO1
6
GPIO5
7
GPIO2
8
GPIO6
9
GPIO3
10
GPIO7
W83627EHG Digital I/O
1. Assembly sample code
------------------------------------
Extended function mode
------------------------------------
MOV DX,2EH
MOV AL,87H
OUT DX,AL
OUT DX,AL
-------------------------------------
Configure logical device
-------------------------------------
MOV DX,2EH
MOV AL,07H
OUT DX,AL
MOV DX,2FH
MOV AL,07H
OUT DX,AL
MOV DX,2EH
MOV AL,29H
OUT DX,AL
MOV DX,2FH
MOV AL,01H
OUT DX,AL
MOV DX,2EH
MOV AL,30H
OUT DX,AL
MOV DX,2FH
MOV AL,01H
OUT DX,AL
Содержание BPF-3315-Z
Страница 8: ......
Страница 12: ...4 1 3 Dimensions Dimension measure in cm...
Страница 14: ...6 This page intentionally left blank...
Страница 18: ...10 3 5 Wall Mount Kit 1 Follow the arrow to locate the Panel PC in the wall...
Страница 20: ...12 This page intentionally left blank...
Страница 40: ...32 This page is the blank page...