GIO_write
2-136
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.
❏
This function can be called within the program’s main() function only
if the GIO channel is asynchronous (non-blocking).
❏
GIO_write cannot be called from a SWI or HWI unless the underlying
mini-driver is a non-blocking driver and the GIO Manager properties
are set to use non-blocking synchronization methods.
Example
/* write synchronously to the device*/
size = sizeof(writeStruct);
status = GIO_write(gioChan, &writeStrct, &size);