GIO_read
2-132
Constraints and
Calling Context
❏
This function can be called only after the device has been loaded and
initialized. The handle supplied should have been obtained with a
prior call to GIO_create or GIO_new.
❏
GIO_read cannot be called from a SWI, HWI, or main() unless the
underlying mini-driver is a non-blocking driver and the GIO Manager
properties are set to use non-blocking synchronization methods.
Example
/* Read from the device */
size = sizeof(readStruct);
status = GIO_read(gioChan, &readStruct, &size);