2.4.3.3 COM_Initialize()

com_adapter_result_t COM_Initialize (uint16_t maximumBufferLength)

Performs initialization actions for the communication peripheral and adapter code.

Parameters:
in maximumBufferLength

- Maximum length that the COM adapter is allowed to read

Returns:

COM_PASS - Specified arguments are valid and initialization was successful  

COM_INVALID_ARG - Specified arguments were invalid  

COM_FAIL - Error occurred in SERCOM initialization