PCM-3362 User Manual
78
; cl= n ; n means which group of GPIO you want to set
; 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
; output:
; ax=5E78 ;function success, other value means function fail
mov ax,5E87h
mov bx,02AAh
mov cl,01
INT15
;
Set GPIO 0,2,4,6 as output, GPI 1,3,5,7 as input
;===============================================================
;===============================================================
; Get GPIO status
; Input:
; ax=5E87h
; bh=03h
; 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 status
; bit 0 = gpio 0 , 0 => Low; 1 => High
; bit 1 = gpio 1 , 0 => Low; 1 => High
; .....
; bit 7 = gpio 7 , 0 => Low; 1 => High
mov ax,5E87h
mov bh,03h
mov cl,01h
INT15
;
You will get GPIO value from bl
;===============================================================
;===============================================================
; Set GPIO status
; Input:
; ax=5E87h
; bh=04h
; cl= n ; n means which group of GPIO you want to set
; bl= the n group of gpio status
; bit 0 = gpio 0 , 0 => Low; 1 => High
Содержание PCM-3362
Страница 1: ...User Manual PCM 3362 PC 104 plus SBC with Intel Atom N450 VGA LCD LAN USB2 0 SATA and on board flash ...
Страница 13: ...5 PCM 3362 User Manual Chapter 1 General Information Figure 1 2 Board layout Dimensions Solder Side ...
Страница 14: ...PCM 3362 User Manual 6 ...
Страница 15: ...Chapter 2 2 Hardware Installation ...
Страница 24: ...PCM 3362 User Manual 16 ...
Страница 25: ...Chapter 3 3 AMI BIOS Setup ...
Страница 45: ...Chapter 4 4 Software Introduction Installation ...
Страница 56: ...PCM 3362 User Manual 48 ...
Страница 57: ...Chapter 5 5 Chipset Software Installation Utility ...
Страница 59: ...Chapter 6 6 Integrated Graphic Device Setup ...
Страница 61: ...Chapter 7 7 LAN Configuration ...
Страница 76: ...PCM 3362 User Manual 68 ...
Страница 77: ...Appendix C C Mechanical Drawings ...
Страница 78: ...PCM 3362 User Manual 70 C 1 Board Mechanical Drawings Figure C 1 PCM 3362 Mechanical Drawing Component Side ...
Страница 79: ...71 PCM 3362 User Manual Appendix C Mechanical Drawings Figure C 2 PCM 3362 Mechanical Drawing Solder Side ...
Страница 82: ...PCM 3362 User Manual 74 ...
Страница 83: ...Appendix D D Watchdog Timer and GPIO sample code ...