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.
This function takes the maximum buffer length of the FTP handler so that it knows when to signal an overflow to the FTP code.
| in | maximumBufferLength |
- Maximum length that the COM adapter is allowed to read |
COM_PASS - Specified arguments were valid and initialization was successful COM_INVALID_ARG - Specified arguments were invalid COM_FAIL - An error occurred in the SERCOM initialization |
| in | maximumBufferLength |
- Maximum length that the COM adapter is allowed to read |
COM_PASS - Specified arguments were valid and initialization was successful COM_INVALID_ARG - Specified arguments were invalid COM_FAIL - An error occurred in the SERCOM initialization |
