NinjaFlight
|
Go to the source code of this file.
Macros | |
#define | SOFTSERIAL_BUFFER_SIZE 256 |
Enumerations | |
enum | softSerialPortIndex_e { SOFTSERIAL1 = 0, SOFTSERIAL2 } |
Functions | |
serialPort_t * | openSoftSerial (softSerialPortIndex_e portIndex, serialReceiveCallbackPtr callback, uint32_t baud, portOptions_t options) |
void | softSerialWriteByte (serialPort_t *instance, uint8_t ch) |
uint8_t | softSerialRxBytesWaiting (serialPort_t *instance) |
uint8_t | softSerialTxBytesFree (serialPort_t *instance) |
uint8_t | softSerialReadByte (serialPort_t *instance) |
void | softSerialSetBaudRate (serialPort_t *s, uint32_t baudRate) |
bool | isSoftSerialTransmitBufferEmpty (serialPort_t *s) |
#define SOFTSERIAL_BUFFER_SIZE 256 |
bool isSoftSerialTransmitBufferEmpty | ( | serialPort_t * | s | ) |
serialPort_t* openSoftSerial | ( | softSerialPortIndex_e | portIndex, |
serialReceiveCallbackPtr | callback, | ||
uint32_t | baud, | ||
portOptions_t | options | ||
) |
uint8_t softSerialReadByte | ( | serialPort_t * | instance | ) |
uint8_t softSerialRxBytesWaiting | ( | serialPort_t * | instance | ) |
void softSerialSetBaudRate | ( | serialPort_t * | s, |
uint32_t | baudRate | ||
) |
uint8_t softSerialTxBytesFree | ( | serialPort_t * | instance | ) |
void softSerialWriteByte | ( | serialPort_t * | instance, |
uint8_t | ch | ||
) |