Function


nuSiSendMesg


Syntax

s32 nuSiSendMesg(NUScMsg mesg, void* dataPtr)

Arguments

mesg      message number to be sent to the SI manager
dataPtr   pointer indicating the buffer position to be handed to or returned 
          from the callback function

Return Value

Error

Description

Sends a message to the SI manager (synchronous)

Sends a message to the SI manager to perform SI operations. The SI manager calls the device manager callback function corresponding to mesg. The callback function receives the necessary value from dataPtr and, after performing the SI operation, stores a value, if necessary, in the position indicated in dataPtr. Errors are the return values of the SI-related OS functions called within each callback function.

This function also waits for the completion of the SI operation.

Use this function when creating independent SI device managers.

See Also

nuSiSendMesgNW