Appendix D Digital I/O; Digital I/O Software Programming - AXIOMTEK IMB530 User Manual

Intel socket 1200 coretm i9/i7/ i5/ i3 /pentium / celeron and xeon e processors atx industrial motherboard
Table of Contents

Advertisement

Digital I/O Software Programming

I2C to GPIO PCA9554PW GPIO[3:0] is Output, GPIO[7:4] is Input.
I2C address: 0b0100100x.
IOBASE: 0xF040
Registers:
Command byte
Command
Protocol
0
Read byte
1
Read/write byte
2
Read/write byte
3
Read/write byte
The command byte is the first byte to follow the address byte during a write transmission. It is
used as a pointer to determine which of the following registers will be written or read.
Register 0: Input port register.
This register is a read-only port. It reflects the incoming logic levels of the pins, regardless of
whether the pin is defined as an input or an output by Register 3. Writes to this register have
no effect.
The default 'X' is determined by the externally applied logic level, normally '1' when no external
signal is externally applied because of the internal pull-up resistors.
Bit
Symbol
7
I7
6
I6
5
I5
4
I4
3
I3
2
I2
1
I1
0
I0
Digital I/O
Function
Input port register
Output port register
Polarity inversion register
Configuration register
Access
Value
Read only
X
Read only
X
Read only
X
Read only
X
Read only
X
Read only
X
Read only
X
Read only
X
Appendix D
Digital I/O
Description
Determined by externally applied
logic level.
79

Advertisement

Table of Contents
loading

Table of Contents