4.2.2 Functions
static com_adapter_result_t DataSend (uint8_t *data, size_t length)
static com_adapter_result_t DataReceive (uint8_t *data, size_t length)
static uint16_t FrameCheckCalculate (uint8_t *ftpData, uint16_t bufferLength)
com_adapter_result_t COM_FrameTransfer (uint8_t *receiveBufferPtr, uint16_t *receiveIndexPtr)
Receives or sends bytes over the SERCOM and pushes the data bytes into the provided buffer until a complete frame is received.
com_adapter_result_t COM_FrameSet (uint8_t *responseBufferPtr, uint16_t responseLength)
Transfers bytes from the given buffer using the defined framing format.
com_adapter_result_t COM_Initialize (uint16_t maximumBufferLength)
Performs the initialization actions for the communication peripheral and adapter code.
