
NANO840/842 Nano-ITX Board
Digital I/O
61
Appendix B
Digital I/O
B.1 Digital I/O Software Programming
I
2
C to GPIO PCA9554PW GPIO.
I
2
C address: 01001000.
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.
Register 0
–
Input port register bit description
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
Содержание NANO820
Страница 6: ...vi This page is intentionally left blank...
Страница 12: ...NANO840 842 Nano ITX Board 6 Board and Pin Assignments Bottom View Side View...
Страница 14: ...NANO840 842 Nano ITX Board 8 Board and Pin Assignments Bottom View...
Страница 32: ...NANO840 842 Nano ITX Board 26 Hardware Description...
Страница 33: ...NANO840 842 Nano ITX Board Hardware Description 27...
Страница 34: ...NANO840 842 Nano ITX Board 28 Hardware Description...
Страница 35: ...NANO840 842 Nano ITX Board Hardware Description 29...
Страница 36: ...NANO840 842 Nano ITX Board 30 Hardware Description...
Страница 37: ...NANO840 842 Nano ITX Board Hardware Description 31 3 6 Memory Map The memory mapping list is shown as follows...
Страница 38: ...NANO840 842 Nano ITX Board 32 Hardware Description This page is intentionally left blank...
Страница 62: ...NANO840 842 Nano ITX Board 56 AMI BIOS Setup Utility This page is intentionally left blank...
Страница 66: ...NANO840 842 Nano ITX Board 60 Watchdog Timer This page is intentionally left blank...
Страница 72: ...NANO840 842 Nano ITX Board 66 BIOS Flash Utility This page is intentionally left blank...