volatile uint8_t * txBuffer
uint8_t serialRead(serialPort_t *instance)
volatile uint8_t * rxBuffer
void serialPrint(serialPort_t *instance, const char *str)
const struct serialPortVTable * vTable
struct serialPort serialPort_t
void(* serialReceiveCallbackPtr)(uint16_t data)
void serialSetMode(serialPort_t *instance, portMode_t mode)
bool isSerialTransmitBufferEmpty(serialPort_t *instance)
void serialSetBaudRate(serialPort_t *instance, uint32_t baudRate)
uint32_t serialGetBaudRate(serialPort_t *instance)
serialReceiveCallbackPtr callback
void serialWrite(serialPort_t *instance, uint8_t ch)
uint8_t serialTotalBytesWaiting(serialPort_t *instance)