is, bit 0 denotes GPIO 0, bit 1 denotes GPIO 1, etc. For example, to write
pins 0, 1, and 3, the pin numbers should be '0x0'.
–
Enter the value in the (R/W) result field from '0x01' to '0x0F' to write the value
of the output pin. The pin numbers are ordered bit-wise, that is, bit 0 denotes
GPIO 0, bit 1 denotes GPIO 1, etc. For example, to set pins 0 and 1 high and
pin 3 to low, the pin number should be '0x0B/. Key in the value '0x0A' to write.
–
Click the <write GPIO data> button to write the GPIO output pins.
SMBus
When the application is executed, click the radio button to test each access mode,
that is, access a byte, access multiple bytes and access a word. All data must be
read or written in hexadecimal except the numbers for the radio button. The "access
multiple bytes" mode must be written in decimal. The functionalities of the watchdog
can be tested as follows:
Read a byte
–
Click the <Access a byte> radio button.
–
Enter the slave device address in the Slave address field.
–
Input the register offset in the Register Offset field.
–
Click the <read SMBus data> button to view a byte of data from the device in
the Result field.
Write a byte
–
Click the he <Access a byte> radio button.
–
Enter the slave device address in the Slave address field.
–
Input the register offset in Register Offset field.
–
Input the desired data in the Results field to write to the device.
–
Click the <write SMBus data> button to write data to the device through
SMBus.
Read a word
–
Click the <Access a word> radio button.
–
Enter the slave device address in the Slave address field.
47
MIO-2270 User Manual