- 77 -
Appendix
Appendix D:
Digital I/O Setting
Digital I/O can read from or write to a line or an entire digital port, which is a col-
lection of lines. This mechanism can be used to meet user’s various applica-
tions such as industrial automation, customized circuit, and laboratory testing.
The source code below written in C is the applicable sample for programming.
/*-----
Include Header Area -----*/
#include "math.h"
#include "stdio.h"
#include "dos.h"
void main(void){
int SMB_PORT_AD = 0xF000;
int SMB_DEVICE_ADD = 0x6E;
/*75111R's Add=6eh */
//programming DIO as output
//0:input 1:Output
/*
Index 10, GPIO1x Output pin control
*/
SMB_Byte_WRITE(SMB_PORT_AD,SMB_DEVICE_ADD,0x10,0xff);
delay(10);
/*
Index 20, GPIO2x Output pin control
*/
SMB_Byte_WRITE(SMB_PORT_AD,SMB_DEVICE_ADD,0x20,0xff);
delay(10);
/*
Index 40, GPIO3x Output pin control
*/
SMB_Byte_WRITE(SMB_PORT_AD,SMB_DEVICE_ADD,0x40,0xff);
delay(10);
//programming DIO default LOW
/*
Index 11, GPIO1x Output Data value
*/
SMB_Byte_WRITE(SMB_PORT_AD,SMB_DEVICE_ADD,0x11,0x00);
delay(10);
/*
Index 21, GPIO2x Output Data value
*/
SMB_Byte_WRITE(SMB_PORT_AD,SMB_DEVICE_ADD,0x21,0x00);
delay(10);
Summary of Contents for FPC-7200 Series
Page 2: ...This page is intentionally left blank...
Page 10: ...vi This page is intentionally left blank...
Page 11: ...1 General Information 1 Chapter 1 General Information...
Page 23: ...13 The Engine of FPC 7200 2 Chapter 2 The Engine of FPC 7200...
Page 30: ...20 This page is intentionally left blank...
Page 31: ...21 Installation and Maintenance 3 Chapter 3 Installation and Maintenance...
Page 38: ...28 Installation and Maintenance 5 To remove the CFast SIM card push that inwards to pop it out...
Page 44: ...34 This page is intentionally left blank...
Page 45: ...35 Driver AP 4 Chapter 4 Driver AP...
Page 48: ...38 Driver AP 4 Click Yes 3 Wait for extracting...
Page 49: ...39 Driver AP 6 Click Finish 5 Click Next...
Page 51: ...41 Driver AP 3 Click Yes 4 Click Next...
Page 52: ...42 Driver AP 5 Wait for the process 6 Click Next...
Page 54: ...44 Driver AP 2 Wait for extracting 3 Keep waiting...
Page 55: ...45 Driver AP 4 Click Next 5 Wait for the process...
Page 57: ...47 Driver AP 2 Click Next 3 Click Install...
Page 58: ...48 Driver AP 4 Wait for the process 5 Click Finish...
Page 59: ...49 BIOS 5 Chapter 5 BIOS...
Page 75: ...65 Appendix Appendix...