4 94192904010E
©
Copyright 2016 Axiomtek Co., Ltd.
Version A2 June 2016
Printed in Taiwan
5. AxConfigGPIO():
Set GPIO configuration to input or output. If GPIO0
is digital input and GPIO1~7 are digital outputs, the
GPIO1[0]
value
will be 0x01.
Function BOOL
AxConfigGPIO(byte
GPIO1[], byte GPIO2[],
byte GPIO3[], byte GPIO4[]);
Arguments
All GPIO configuration values for setting are placed in
four 1-byte arrays:
GPIO1[]
: The 1-byte array for GPIO0~7 configuration.
GPIO2[]
: The 1-byte array for GPIO8~15 configuration.
GPIO3[]
: The 1-byte array for GPIO16~23 configuration.
GPIO4[]
: The 1-byte array for GPIO24~31 configuration.
Return
TRUE: No error.
FALSE: Function fails.
6. AxSetDO()
:
Set digital output status. If GPIO0 is set to High, the
SetDO1[0]
value will be 0x01.
Function BOOL
AxSetDO(byte
SetDO1[], byte SetDO2[], byte
SetDO3[], byte SetDO4[]);
Arguments
All digital output values for setting are placed in four 1-
byte arrays:
SetDO1[]
: The 1-byte array for GPIO0~7 output status.
SetDO2[]
: The 1-byte array for GPIO8~15 output status.
SetDO3[]
: The 1-byte array for GPIO16~23 output
status.
SetDO4[]
: The 1-byte array for GPIO24~31 output
status.
Return
TRUE: No error.
FALSE: Function fails.
7. AxGetDI():
Get digital input status. If GPIO0 read back is High, the
ReadDI1[0]
value will be 0x01.
Function BOOL
AxGetDI(byte
ReadDI1[], byte ReadDI2[], byte
ReadDI3[], byte ReadDI4[]);
Arguments
All digital input values read back are placed in four 1-
byte arrays:
ReadDI1[]
: The 1-byte array for GPIO0~7 input status.
ReadDI2[]
: The 1-byte array for GPIO8~15 input status.
ReadDI3[]
: The 1-byte array for GPIO16~23 input
status.
ReadDI4[]
: The 1-byte array for GPIO24~31 input
status.
Return
TRUE: No error.
FALSE: Function fails.
AX92904 Quick Installation Guide
94192904010E 1
©
Copyright 2016 Axiomtek Co., Ltd.
Version A2 June 2016
Printed in Taiwan
Checklist
AX92904 module x1
Quick installation guide x1
Utility CD x1
Dimension and Fixing Holes
Top View Side View
Module Layout
Top View Bottom View
AX
92904 Digit
al I
/O Mini PCI-Exp
res
s Mod
u
le