Functions
drv_serial.c File Reference
#include <stdint.h>
#include <stdbool.h>
#include "drv_serial.h"
Include dependency graph for drv_serial.c:

Go to the source code of this file.

Functions

bool isSerialTransmitBufferEmpty (serialPort_t *instance)
 
uint32_t serialGetBaudRate (serialPort_t *instance)
 
void serialPrint (serialPort_t *instance, const char *str)
 
uint8_t serialRead (serialPort_t *instance)
 
void serialSetBaudRate (serialPort_t *instance, uint32_t baudRate)
 
void serialSetMode (serialPort_t *instance, portMode_t mode)
 
uint8_t serialTotalBytesWaiting (serialPort_t *instance)
 
void serialWrite (serialPort_t *instance, uint8_t ch)
 

Function Documentation

bool isSerialTransmitBufferEmpty ( serialPort_t instance)

Definition at line 60 of file drv_serial.c.

uint32_t serialGetBaudRate ( serialPort_t instance)

Definition at line 35 of file drv_serial.c.

void serialPrint ( serialPort_t instance,
const char *  str 
)

Definition at line 27 of file drv_serial.c.

uint8_t serialRead ( serialPort_t instance)

Definition at line 50 of file drv_serial.c.

void serialSetBaudRate ( serialPort_t instance,
uint32_t  baudRate 
)

Definition at line 55 of file drv_serial.c.

void serialSetMode ( serialPort_t instance,
portMode_t  mode 
)
inline

Definition at line 65 of file drv_serial.c.

uint8_t serialTotalBytesWaiting ( serialPort_t instance)

Definition at line 45 of file drv_serial.c.

void serialWrite ( serialPort_t instance,
uint8_t  ch 
)

Definition at line 40 of file drv_serial.c.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:26