75#define SCI_ALLOW_NEWLINE 1
80#define SCI_CMD_IS_EXTENDED_CMD(cmd) ((cmd) & 0x80)
int32_t status_t
Type used for all status and error return values.
Definition argus_status.h:70
void SCI_DataLink_ResetRxFrames(sci_frame_t *frame)
Resets the frame read pointer to the very first byte (= command byte).
Definition sci_datalink.c:402
bool SCI_DataLink_IsTxBusy(void)
Returns whether the TX line is currently busy and data is being sent.
Definition sci_datalink.c:543
void SCI_DataLink_ReleaseFrames(sci_frame_t *frame)
Releases the frame queue.
Definition sci_datalink.c:391
status_t SCI_DataLink_SendTxFrame(sci_frame_t *frame, bool high_priority)
Trigger the data transfer and releases the TX buffers.
Definition sci_datalink.c:552
status_t SCI_DataLink_Init(void)
Initialize the data link module.
Definition sci_datalink.c:148
status_t SCI_DataLink_CheckRxFrame(sci_frame_t *frame)
Checks the CRC checksum for a RX frame.
Definition sci_datalink.c:346
sci_frame_t * SCI_DataLink_RequestTxFrame(bool queueStartByte)
Find an unused TX buffer from the queue and prepare it with a start byte.
Definition sci_datalink.c:442
SCI: The internal type definitions.
This file is part of the AFBR-S50 Explorer Application.
Data buffer for outgoing frames.
Definition sci_internal_types.h:110