![Advantech MIO-2260 Скачать руководство пользователя страница 60](http://html1.mh-extra.com/html/advantech/mio-2260/mio-2260_user-manual_2857824060.webp)
MIO-2260 User Manual
50
–
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- Multiple-Pins.
–
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 statuses of the GPIO pins will be dis-
played in (R/W) Result field.
Test Write Single Output Pin
–
Click the radio button- Single-Pin.
–
Key in the pin numbers you want to write. Pin numbers start 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.
Test Write Multiple Output Pins
–
Click the radio button- Multiple-Pins.
–
Key in the pin number from ‘0x01’ to ‘0x0F’ to choose the multiple pin num-
bers to write the value of the output pin. The pin numbers are ordered bit-
wise, i.e. bit 0 stands for GPIO 0, bit 1 stands for GPIO 1, etc. For example, if
you want to write pin 0, 1, and 3, the pin numbers should be ‘0x0B’.
–
Key in the value in (R/W) Result field from ‘0x01’ to ‘0x0F’ to write the value
of the output 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 set pin 0
and 1 high, 3 to low, the pin number should be ‘0x0B/, and then you should
key in the value ‘0x0A’ to write.
–
Click the WRITE GPIO DATA button to write the GPIO output pins.
I
2
C
When the application is executed, you can read or write a byte of data through I
2
C
devices. All data must be read or written in hexadecimal system.
Read a byte
–
Key in the slave device address in Slave address field.
–
Key in the register offset in Register Offset field.
–
Click the READ A BYTE button and then a byte of data from the device will
be shown on the Result field.
Содержание MIO-2260
Страница 6: ...MIO 2260 User Manual vi...
Страница 10: ...MIO 2260 User Manual x...
Страница 16: ...MIO 2260 User Manual 6...
Страница 27: ...Chapter 3 3 BIOS settings...
Страница 52: ...MIO 2260 User Manual 42...
Страница 53: ...Chapter 4 4 S W Introduction Installation...
Страница 65: ...Appendix A A PIN Assignments...
Страница 79: ...Appendix B B WDT GPIO...
Страница 82: ...MIO 2260 User Manual 72...
Страница 83: ...Appendix C C System Assignments...