![Logo](AFBR-S50.ico) |
AFBR-S50 API Reference Manual
v1.6.5
AFBR-S50 Time-of-Flight Sensor SDK for Embedded Software
|
Go to the documentation of this file.
38 #ifndef SCI_DATALINK_H
39 #define SCI_DATALINK_H
75 #define SCI_ALLOW_NEWLINE 1
80 #define SCI_CMD_IS_EXTENDED_CMD(cmd) ((cmd) & 0x80)
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:435
bool SCI_DataLink_IsTxBusy(void)
Returns whether the TX line is currently busy and data is being sent.
Definition: sci_datalink.c:536
SCI: The internal type definitions.
status_t SCI_DataLink_Init(void)
Initialize the data link module.
Definition: sci_datalink.c:141
This file is part of the AFBR-S50 Explorer Application.
void SCI_DataLink_ReleaseFrames(sci_frame_t *frame)
Releases the frame queue.
Definition: sci_datalink.c:384
Data buffer for outgoing frames.
Definition: sci_internal_types.h:109
status_t SCI_DataLink_CheckRxFrame(sci_frame_t *frame)
Checks the CRC checksum for a RX frame.
Definition: sci_datalink.c:339
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:545
void SCI_DataLink_ResetRxFrames(sci_frame_t *frame)
Resets the frame read pointer to the very first byte (= command byte).
Definition: sci_datalink.c:395
int32_t status_t
Type used for all status and error return values.
Definition: argus_status.h:70