SHB250R Intel LGA1151 Processor PICMG1.3 Half-size CPU Board
Digital I/O
69
Appendix B
Digital I/O
Digital I/O Software Programming
I2C to GPIO PCA9554PW GPIO[3:0] is input, GPIO[7:4] is output.
I2C address: 0b0100100x.
IOBASE: 0xF040
Registers:
Command byte
Command
Protocol
Function
0
Read byte
Input port register
1
Read/write byte
Output port register
2
Read/write byte
Polarity inversion register
3
Read/write byte
Configuration register
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 externally applied because of the internal pull-up resistors.
Bit
Symbol
Access
Value
Description
7
I7
Read only
X
Determined by externally applied
logic level.
6
I6
Read only
X
5
I5
Read only
X
4
I4
Read only
X
3
I3
Read only
X
2
I2
Read only
X
1
I1
Read only
X
0
I0
Read only
X
Summary of Contents for SHB250R
Page 1: ...SHB250R Intel LGA1151 Coffee Lake Refresh processor PICMG 1 3 Half size board User s Manual...
Page 6: ...vi This page is intentionally left blank...
Page 33: ...SHB250R Intel LGA1151 Processor PICMG1 3 Half size CPU Board Hardware Description 27...
Page 35: ...SHB250R Intel LGA1151 Processor PICMG1 3 Half size CPU Board Hardware Description 29...
Page 36: ...SHB250R Intel LGA1151 Processor PICMG1 3 Half size CPU Board 30 Hardware Description...