u8  nuContMgrInit(void)
Return Value
Bit pattern of the connected Controller

Initilializes and registers the Controller Manager

Initializes the Controller Manager and registers it in the SI Manager. If the Controller Manager needs to be removed from the SI Manager, please use the nuContMgrRemove function to remove it. Once the Controller Manager is removed, the Controller needs to be initialized and the Controller Manager needs to be started. The return value is a bit pattern of the connected Controller.

                     7   6   5   4   3   2   1   0   bit
Bit pattern	| - | - | - | - | 4 | 3 | 2 | 1 |
	*Bit is 1 if the Controller is connected.

If you want to execute some function after the Controller data has been read, you can register that function as a callback function in the Controller Manager. The registration is made with the nuContReadFuncSet function and removed with the nuContReadFuncRemove function.

Since this function is called by the nuContInit function, in most cases this function does not need to be called.

See Also

nuSiMgrInit, nuContInit, nuContReadFuncSet, and nuContReadFuncRemove