h6. [[GPIO]] h6(. » [[GPIO SWI Calls|SWI Calls]] h6((. » GPIO_ReadEvent h2. GPIO_ReadEvent h5. (SWI &58FAB) |_<^. Entry | | |<^. R0 |<^. Logical GPIO pin number | |_<^. Exit | |<. R0 = 0 (No event occured), 1 (Event occured)| h4. Use Polls the event state of the GPIO pin, the event type is set with flag bits in "GPIO_WriteMode":https://www.riscosopen.org/wiki/documentation/show/GPIO_WriteMode, or returns an error if the pin number is not valid.