24
OUT DX,AL
MOV DX,2FH
MOV AL,00H
OUT DX,AL
---------------------------------------
Configure input / output
---------------------------------------
MOV DX,2EH
MOV AL,FOH
OUT DX,AL
MOV DX,2FH
MOV AL,FEH;
Setup GPIO bit 0 as output, Note1
OUT DX,AL
--------------------------------------------------------------------------------------
**Note 1**
Example:
Output Bit
Instruction
Bit 0
MOV AL,FE
Bit 1
MOV AL,FD
Bit 2
MOV AL,FB
Bit 3
MOV AL,F7
Bit 4
MOV AL,EF
Bit 5
MOV AL,DF
Bit 6
MOV AL,BF
Bit 7
MOV AL,7F
Summary of Contents for HS-7280
Page 46: ...40 This page is the blank page...