About Digital I/O
The onboard digital I/O has 8 bits (DI0~2 and DO0~4). In default, all pins are pulled high with
+3.3V level (according to main power). The BIOS default settings are 3 inputs and 5 outputs
where all of these pins are set to 1. Use these GPIO signals to control cash drawers and sense
warning signals from an Uninterrupted Power System (UPS), or perform store security control
Sample Program
Programming sample code :
/*---------------- INCLUDE FILE ---------------------*/
#include <stdio.h>
#include <conio.h>
#include <bios.h>
#include <dos.h>
#define UCHAR
unsigned char
#define UINT
unsigned int
#define SMIOBASE
/*****************
SMIOBASE can get from PCI device Bus-0,Device-31, Function-3
Register 20h~23h, the value is the IO base address.
******************/
#define SM_REG
#define SM_ADDR
#define SM_DATA
#define SM_CMD
#define SM_STATUS
#define SM_byteAccess 0x48
#define Device_Addr
UCHAR _read_smbus(UCHAR ,UCHAR);
void _write_smbus(UCHAR,UCHAR, UCHAR);
#define F75111_CHIPID
#define F75111_VENDORID
Digital I/O
®
CAPA830 Intel
Atom
0xF000
(SMIOBASE+3)
(SMIOBASE+4)
(SMIOBASE+5)
(SMIOBASE+2)
(SMIOBASE+0)
0x9C
/*depend on hardware designed Low:0x9C, High:0x6E*/
0x0003
0x3419
TM
D2550/N2800/N2600 Processor 3.5" SBC
Appendix C
Digital I/O
Pin
Signal
1
DI0 (Bit0)
3
DI1 (Bit1)
5
DI2 (Bit2)
7
GND
9
GND
CN2
Pin
Signal
2
DO0 (Bit 0)
4
DO1 (Bit 1)
6
DO2 (Bit 2)
8
DO3 (Bit 3)
10
DO4 (Bit 4)
75
Need help?
Do you have a question about the CAPA830 and is the answer not in the manual?
Questions and answers