20.01.2014 Views

Manual NISE 3500 - ICPDAS-EUROPE

Manual NISE 3500 - ICPDAS-EUROPE

Manual NISE 3500 - ICPDAS-EUROPE

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix B: GPI/O Programming guide<br />

GPI/O (General Purpose Input/Output) pins are provided for custom system<br />

design. This appendix provides definitions and its default setting for the<br />

ten GPI/O pins in the <strong>NISE</strong><strong>3500</strong> series. The pin definition is shown in the<br />

following table:<br />

Pin GPI/O PowerOn Address Pin GPI/O PowerOn Address<br />

No. mode Default<br />

No. mode Default<br />

1 VCC - - 2 GND - -<br />

3 GPO Low 3E4h (Bit4) 4 GPI High 3E4h (Bit0)<br />

5 GPO Low 3E4h (Bit5) 6 GPI High 3E4h (Bit1)<br />

7 GPO Low 3E4h (Bit6) 8 GPI High 3E4h (Bit2)<br />

9 GPO Low 3E4h (Bit7) 10 GPI High 3E4h (Bit3)<br />

JP2 – GPI/O Connector<br />

Control the GPO pin (3/5/7/9) level from I/O port 3E4h bit (4/5/6/7).<br />

The bit is Set/Clear indicated output High/Low<br />

GPIO programming sample code<br />

#define GPIO_PORT 0x3E4<br />

#define GPO3 (0x01

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!