NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
serial_port_ops Struct Reference

#include <serial.h>

Data Fields

void(* put )(serialPort_t *instance, uint8_t ch)
 
uint8_t(* serialTotalRxWaiting )(serialPort_t *instance)
 
uint8_t(* serialTotalTxFree )(serialPort_t *instance)
 
uint8_t(* serialRead )(serialPort_t *instance)
 
void(* serialSetBaudRate )(serialPort_t *instance, uint32_t baudRate)
 
bool(* isSerialTransmitBufferEmpty )(serialPort_t *instance)
 
void(* setMode )(serialPort_t *instance, portMode_t mode)
 
void(* writeBuf )(serialPort_t *instance, void *data, int count)
 
void(* beginWrite )(serialPort_t *instance)
 
void(* endWrite )(serialPort_t *instance)
 

Field Documentation

void(* serial_port_ops::beginWrite)(serialPort_t *instance)
void(* serial_port_ops::endWrite)(serialPort_t *instance)
bool(* serial_port_ops::isSerialTransmitBufferEmpty)(serialPort_t *instance)
void(* serial_port_ops::put)(serialPort_t *instance, uint8_t ch)
uint8_t(* serial_port_ops::serialRead)(serialPort_t *instance)
void(* serial_port_ops::serialSetBaudRate)(serialPort_t *instance, uint32_t baudRate)
uint8_t(* serial_port_ops::serialTotalRxWaiting)(serialPort_t *instance)
uint8_t(* serial_port_ops::serialTotalTxFree)(serialPort_t *instance)
void(* serial_port_ops::setMode)(serialPort_t *instance, portMode_t mode)
void(* serial_port_ops::writeBuf)(serialPort_t *instance, void *data, int count)

The documentation for this struct was generated from the following file: