30 while ((ch = *(str++)) != 0) {
const struct serialPortVTable * vTable
void(* setMode)(serialPort_t *instance, portMode_t mode)
void(* serialWrite)(serialPort_t *instance, uint8_t ch)
void serialPrint(serialPort_t *instance, const char *str)
void(* serialSetBaudRate)(serialPort_t *instance, uint32_t baudRate)
bool isSerialTransmitBufferEmpty(serialPort_t *instance)
uint8_t(* serialTotalBytesWaiting)(serialPort_t *instance)
uint32_t serialGetBaudRate(serialPort_t *instance)
uint8_t(* serialRead)(serialPort_t *instance)
bool(* isSerialTransmitBufferEmpty)(serialPort_t *instance)
void serialSetBaudRate(serialPort_t *instance, uint32_t baudRate)
void serialWrite(serialPort_t *instance, uint8_t ch)
void serialSetMode(serialPort_t *instance, portMode_t mode)
uint8_t serialRead(serialPort_t *instance)
uint8_t serialTotalBytesWaiting(serialPort_t *instance)