ITA-5831 User Manual
68
6.3
Example
Here is an example based on ITA-5831, assuming that GPIO 00 is set as output and
GPIO 7 is set as input, with the two pins interconnected. GPIO 00 corresponds to
PCA9554 0x40 IO0, while GPIO 07 corresponds to PCA9554 0x40 IO7.
To set the corresponding register, follow the instructions provided below.
Set GPIO 00 as Output
1.
Read SMBUS slave 0x40 Register 3 byte value.
2.
Set bit 0 of the value read in step 1 as 0 and write it to SMBUS slave 0x40 Reg-
ister 3.
3.
Read SMBUS slave 0x40 Register 1 byte value.
4.
Set bit 0 of the value read in Step 3 as 0 or 1 according to low or high of the out-
put value, then write it back to SMBUS slave 0x40 Register 1.
Set GPIO 07 as Input
1.
Read SMBUS slave 0x40 Register 3 byte value.
2.
Set bit 7 of the value read in Step 1 as 1 and write it to SMBUS slave 0x40 Reg-
ister 3.
3.
Read SMBUS slave 0x40 Register 0 byte value.
4.
Decide the low or high of the input value through bit 7 value read in Step 3.
Содержание ITA-5831 Series
Страница 10: ...ITA 5831 User Manual x ...
Страница 11: ...Chapter 1 1 Overview Introduction Specifications Power Information Environmental Specifications System Diagram ...
Страница 14: ...ITA 5831 User Manual 4 1 5 System Diagram Figure 1 1 ITA 5831 System Diagram ...
Страница 16: ...ITA 5831 User Manual 6 ...
Страница 17: ...Chapter 2 2 H W Installation Introduction Jumpers and Connectors I O Connectors ...
Страница 26: ...ITA 5831 User Manual 16 ...
Страница 29: ...19 ITA 5831 User Manual Chapter 3 System Setup Figure 3 2 Mini PCIe Installation ...
Страница 32: ...ITA 5831 User Manual 22 Figure 3 6 Easy Swap Module Installation 2 Figure 3 7 COM Module ITA EM SR61 001AE ...
Страница 34: ...ITA 5831 User Manual 24 Figure 3 10 Battery Module ITA BA61 00A1E ...
Страница 37: ...Chapter 4 4 BIOS Settings ...
Страница 64: ...ITA 5831 User Manual 54 ...
Страница 68: ...ITA 5831 User Manual 58 ...
Страница 69: ...59 ITA 5831 User Manual Chapter 5 Driver Installation ...
Страница 72: ...ITA 5831 User Manual 62 ...
Страница 73: ...Chapter 6 6 GPIO Programming Guide ...
Страница 84: ...ITA 5831 User Manual 74 ...
Страница 85: ...Appendix A A Watchdog Timer ...
Страница 90: ...ITA 5831 User Manual 80 ...
Страница 91: ...Appendix B B BSMI RoHS Declaration ...
Страница 93: ...Appendix C C Chinese Language Safety Instructions and Battery Information ...
Страница 95: ...85 ITA 5831 User Manual Appendix C Chinese Language Safety Instructions and Battery Information ...