2.6 USI Host Process

The addUsi_Init() function initializes the USI Host and starts it. This function must be launched before using the USI Host, typically on the system or application initialization.

The addUsi_Process() function processes USI messages in Tx and Rx. It transmits pending messages and retrieves data from the serial port. Once a full message is received, it will process it, calling the corresponding callbacks if needed. This function must be called periodically, for example every millisecond.

The addUsi_ConfigurePort() function allows to change the default port configuration (defined in the PrjCfg.h file) once the program is running.