
ARK-3400 User Manual
72
E.1
Programming GPIO
Advantech provides SUSI (Secure & Unified Smart Interface) API for customers. It is
a set of user-friendly, intelligent and integrated application programming interfaces,
which shortens development time, enhances security and offers add-on value for
Advantech platform users. SUSI makes applications easier and simpler to build and
operate. For the detailed GPIO register, please refer to below contents.
E.2
GPIO Programming
For DOS GPIO control is through INT 15 Hook
In windows XP system please use SUSI
Below is an example of how to call sub routine °×Get Number of GPIO group°±
========================================
mov ax,5e87h
mov bh,00h
int 15h
Detail information of INT 15 sub routine£½
;===============================================================
; Get Number of GPIO group
; one group mean 8 gpio pins (one GPIO Chip)
; Input:
; ax=5E87h
; bh=00h
; output:
; ax=5E78 ;function success, other value means function fail
; cl= n group of gpio
;===============================================================
;===============================================================
; Get GPIO Config
; Input:
; ax=5E87h
; bh=01h
; cl= n ; n means which group of GPIO you want to get
; output:
; ax=5E78 ;function success, other value means function fail
; bl= the n group of gpio config
; bit 0 = gpio 0 , 0 => output pin; 1 => input pin
; bit 1 = gpio 1 , 0 => output pin; 1 => input pin
; .....
; bit 7 = gpio 7 , 0 => output pin; 1 => input pin
;===============================================================
;===============================================================
; Set GPIO Config
; Input:
; ax=5E87h
Содержание ARK-3400
Страница 1: ...User Manual ARK 3400 Compact Embedded IPC...
Страница 8: ...ARK 3400 User Manual viii...
Страница 12: ...ARK 3400 User Manual xii...
Страница 13: ...Chapter 1 1 General Introduction This chapter gives background information on ARK 3400 series...
Страница 18: ...ARK 3400 User Manual 6...
Страница 19: ...Chapter 2 2 Hardware installation This chapter introduces external IO and the installation of ARK 3400 Hardware...
Страница 34: ...ARK 3400 User Manual 22...
Страница 35: ...Chapter 3 3 BIOS settings This chapter introduces how to set BIOS configuration data...
Страница 54: ...ARK 3400 User Manual 42...
Страница 55: ...Chapter 4 4 Software Installation...
Страница 67: ...Appendix A A Function Settings...
Страница 71: ...Appendix B B Display Application...
Страница 74: ...ARK 3400 User Manual 62...
Страница 75: ...Appendix C C Application Notes...
Страница 80: ...ARK 3400 User Manual 68...
Страница 81: ...Appendix D D Watchdog Timer...
Страница 83: ...Appendix E E Programming GPIO...