
MIO-2361 User Manual
48
GPIO
When the application is executed, it will display GPIO information in the GPIO
INFORMATION group box. It displays the number of input pins and output pins. You
can click the radio button to choose to test either the single pin function or multiple
pin functions. The GPIO pin assignments of the supported platforms are located in
Appendix B.
Test Read Single Input Pin
–
Click the radio button- Single-Pin.
–
Key in the pin number to read the value of the input pin. The Pin number
starts from '0'.
–
Click the READ GPIO DATA button and the status of the GPIO pin will be dis-
played in (R/W) Result field.
Test Read Multiple Input Pin
–
Click the radio button- Multi-Pin.
–
Key in the pin number from ‘0x01’ to ‘0x0F’ to read the value of the input pin.
The pin numbers are ordered bitwise, i.e. bit 0 stands for GPIO 0, bit 1 stands
for GPIO 1, etc. For example, if you want to read pin 0, 1, and 3, the pin num-
bers should be ‘0x0B’.
–
Click READ GPIO DATA button and the status of the GPIO pins will be dis-
played in (R/W) the result field.
Test Write Single Output Pin
–
Click the radio button- Single-Pin.
–
Key in the pin numbers you want to write. Pin numbers starting from '0'.
–
Key in the value either '0' or '1' in (R/W) Result field to write the output pin you
chose above step.
–
Click the WRITE GPIO DATA button to write the GPIO output pin.
Содержание MIO-2361 Series
Страница 8: ...MIO 2361 User Manual viii ...
Страница 27: ...Chapter 3 3 BIOS Settings ...
Страница 53: ...Chapter 4 4 S W Introduction Installation ...
Страница 64: ...MIO 2361 User Manual 54 ...
Страница 65: ...Appendix A A PIN Assignments ...
Страница 83: ...Appendix B B WDT GPIO ...
Страница 86: ...MIO 2361 User Manual 76 ...
Страница 87: ...Appendix C C System Assignments ...