Function
nuContDataRead
Syntax:
void nuContDataRead(void)
Arguments:
None
Return Value:
None
Explanation:
Reads the Controller data
Reads the Controller data from the application via the Controller Manager.
For NuSystem, the Controller Manager reads the Controller data at retrace time, but this function can be used to read the data from the application at any arbitrary time.
The program does not return from this function until all of the Controller data has been read. It takes around 2ms to read the Controller data. The data is read into the internal buffer of the Controller Manager. The application obtains the data with the nuContDataGet function. If you want to perform an asynchrounous read, please use the nuContDataReadStart function.
Reference: nuContDataGet, nuContDataReadStart