![Logo](AFBR-S50.ico) |
AFBR-S50 API Reference Manual
v1.6.5
AFBR-S50 Time-of-Flight Sensor SDK for Embedded Software
|
void SCI_Frame_Queue16s(sci_frame_t *frame, int16_t data)
Inserts a signed halfword (16-bit) into the TX buffer.
Definition: sci_frame.c:151
uint8_t SCI_Frame_IsStartFrame(sci_frame_t const *frame)
Determines whether the frame is a start frame.
Definition: sci_frame.c:75
void SCI_Frame_SetByte(sci_frame_t *frame, uint8_t byte)
Function for inserting a byte in a SCI frame.
Definition: sci_frame.c:81
uint32_t SCI_Frame_BytesToRead(sci_frame_t const *frame)
Returns the bytes that have been written from the buffer and not read yet.
Definition: sci_frame.c:64
int32_t SCI_Frame_Dequeue24s(sci_frame_t *frame)
Takes a signed 3/4-word (24-bit) from the RX buffer.
Definition: sci_frame.c:204
uint8_t SCI_Frame_Dequeue08u(sci_frame_t *frame)
Takes a unsigned byte (8-bit) from the RX buffer.
Definition: sci_frame.c:221
void SCI_Frame_PutChar(char c, void *frame)
Inserts a char into the TX buffer.
Definition: sci_frame.c:250
int32_t SCI_Frame_Dequeue32s(sci_frame_t *frame)
Takes a signed word (32-bit) from the RX buffer.
Definition: sci_frame.c:212
void SCI_Frame_Queue32u(sci_frame_t *frame, uint32_t data)
Inserts a unsigned word (32-bit) into the TX buffer.
Definition: sci_frame.c:132
SCI: The internal type definitions.
int8_t SCI_Frame_Dequeue08s(sci_frame_t *frame)
Takes a signed byte (8-bit) from the RX buffer.
Definition: sci_frame.c:193
void SCI_Frame_Queue24s(sci_frame_t *frame, int32_t data)
Inserts a signed 3/4-word (24-bit) into the TX buffer.
Definition: sci_frame.c:156
void SCI_Frame_Queue08u(sci_frame_t *frame, uint8_t data)
Inserts a unsigned byte (8-bit) into the TX buffer.
Definition: sci_frame.c:108
This file is part of the AFBR-S50 API.
Data buffer for outgoing frames.
Definition: sci_internal_types.h:109
void SCI_Frame_Queue08s(sci_frame_t *frame, int8_t data)
Inserts a signed byte (8-bit) into the TX buffer.
Definition: sci_frame.c:139
A data structure to represent current time.
Definition: time.h:69
void SCI_Frame_Queue_Time(sci_frame_t *frame, ltc_t const *t)
Inserts a ltc_t time stamp type into the TX buffer.
Definition: sci_frame.c:170
int32_t SCI_Frame_TotalFrameLength(sci_frame_t const *frame)
Returns the total number of bytes within a specified frame.
Definition: sci_frame.c:50
int16_t SCI_Frame_Dequeue16s(sci_frame_t *frame)
Takes a signed halfword (16-bit) from the RX buffer.
Definition: sci_frame.c:197
uint32_t SCI_Frame_Dequeue32u(sci_frame_t *frame)
Takes a unsigned word (32-bit) from the RX buffer.
Definition: sci_frame.c:240
void SCI_Frame_Queue32s(sci_frame_t *frame, int32_t data)
Inserts a signed word (32-bit) into the TX buffer.
Definition: sci_frame.c:162
void SCI_Frame_Queue16u(sci_frame_t *frame, uint16_t data)
Inserts a unsigned halfword (16-bit) into the TX buffer.
Definition: sci_frame.c:120
void SCI_Frame_Queue24u(sci_frame_t *frame, uint32_t data)
Inserts a unsigned 3/4-word (24-bit) into the TX buffer.
Definition: sci_frame.c:125
uint16_t SCI_Frame_Dequeue16u(sci_frame_t *frame)
Takes a unsigned halfword (16-bit) from the RX buffer.
Definition: sci_frame.c:225
uint32_t SCI_Frame_Dequeue24u(sci_frame_t *frame)
Takes a unsigned 3/4-word (24-bit) from the RX buffer.
Definition: sci_frame.c:232