MOV AL,F2H;
OUT DX,AL
MOV DX,2FH
MOV AL,00H;Set GPIO is normal not inverter
OUT DX,AL;
MOV DX,2EH
MOV AL,F1H
OUT DX,AL
MOV DX,2FH
MOV AL,**H; Put the output value into AL **H
OUT DX,AL
Exit extended function mode
MOV DX,2EH
MOV AL,AAH
OUT DX,AL
Note! The input/output data (**) is a value of time interval. The value range is from 01 (hex) to 3F (hex), and the related time interval is 1 sec. to 62 sec.
Data Time Interval
01 | 1 sec. |
02 | 2 sec |
03 | 3 sec |
04 | 4 sec |
Appendix A Programming the GPIO and Watchdog Timer
49 |