Autodrone
Multi-Domain Vehicle
drv_serial.h File Reference

This file enables reading of usart data for use with printf. More...

Go to the source code of this file.

Functions

void serialInit (void)
 
void serialWrite (uint8_t ch)
 
void serialRead8 (uint8_t *num)
 
void serialReadPID (float *P, float *I, float *D)
 
bool serialWaitFor (char wait)
 

Detailed Description

This file enables reading of usart data for use with printf.

Based on which device you are using (Nucleo or Autodrone PCB), enable the corresponding Include in the preprocessor

Author
Jeremy Wolfe
Date
23 FEB 2022

Function Documentation

◆ serialInit()

void serialInit ( void  )

◆ serialRead8()

void serialRead8 ( uint8_t *  num)

◆ serialReadPID()

void serialReadPID ( float *  P,
float *  I,
float *  D 
)

◆ serialWaitFor()

bool serialWaitFor ( char  wait)

◆ serialWrite()

void serialWrite ( uint8_t  ch)