Appendix B Digital I/O; B.1 About Digital I/O; B.2 Digital I/O Programming - AXIOMTEK PICO50R User Manual

6th and 7th generation intel core i7/ i5/ i3 and celeron pico-itx board
Table of Contents

Advertisement

B.1 About Digital I/O

The onboard GPIO or digital I/O has 4 bits (DIO1~4). Each bit can be set to function as input or
output by software programming. In default, all pins are pulled high with +5V level (according
to main power). The BIOS default settings are 2 inputs and 2 outputs.
CN2
CN5
CN7
CN10
CN11

B.2 Digital I/O Programming

Assembly sample code :
mov
dx,fa31
mov
al,00
out
dx,al
mov
dx,fa32
mov
al,0c
out
dx,al
mov
dx,fa31
mov
al,0f
out
dx,al
mov
dx,fa32
in
al,dx
mov
dx,fa31
mov
al,03
out
dx,al
mov
dx,fa32
mov
al,08
out
dx,al
in
al,dx
Digital I/O
JP1
CN1
CN3
SW1
CN6
BAT1
CN14
CN12
CN13
; Set DIO 0-3 to Output
; Set DIO 2-3 to High
; Set DIO 0-3 to Input
; Get DIO 0-3 status
; Set DIO 0-1 to Input, 2-3 to Output
; al = 03 => 00000011
; Set DIO 3 to High
; al = 08 => 00001000
; Get DIO 0-2 status
PICO50R/51R Pico-ITX Board
Appendix B
Digital I/O
CN4
Pin
Signal
CN8
1
DIO 0
3
DIO 1
CN9
5
+5V
CN14
Pin
Signal
2
DIO 3
4
DIO 2
6
GND
63

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PICO50R and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Pico51r

Table of Contents