Appendix B: GPI/O Programming Guide
GPIO programming sample code
#define GPO0
#define GPO1
#define GPO2
#define GPO3
#define GPO0_HI
#define GPO0_LO
#define GPO1_HI
#define GPO1_LO
#define GPO2_HI
#define GPO2_LO
#define GPO3_HI
#define GPO3_LO
void main(void)
{
GPO0_HI;
GPO1_LO;
GPO2_HI;
GPO3_LO;
}
Copyright © 2016 NEXCOM International Co., Ltd. All Rights Reserved.
(0x01 << 6)
(0x01 << 5)
(0x01 << 0)
(0x01 << 1)
outportb(0xA03, GPO0)
outportb(0xA03, 0x00)
outportb(0xA02, GPO1)
outportb(0xA02, 0x00)
outportb(0xA07, GPO2)
outportb(0xA07, 0x00)
outportb(0xA07, GPO3)
outportb(0xA07, 0x00)
70
NIFE 200 Series User Manual
Need help?
Do you have a question about the NIFE 200 and is the answer not in the manual?
Questions and answers