Paparazzi UAS  v4.0.4_stable-3-gf39211a
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
uart_arch.c File Reference
#include "mcu_periph/uart.h"
#include <stm32/rcc.h>
#include <stm32/misc.h>
#include <stm32/usart.h>
#include <stm32/gpio.h>
#include "std.h"
#include "pprz_baudrate.h"
+ Include dependency graph for uart_arch.c:

Go to the source code of this file.

Functions

void uart_periph_set_baudrate (struct uart_periph *p, uint32_t baud)
 
void uart_transmit (struct uart_periph *p, uint8_t data)
 
static void usart_irq_handler (struct uart_periph *p)
 
static void usart_enable_irq (IRQn_Type IRQn)
 

Function Documentation

void uart_periph_set_baudrate ( struct uart_periph p,
uint32_t  baud 
)

Definition at line 33 of file uart_arch.c.

References pprz_usart_set_baudrate, uart_periph::reg_addr, uart_disable_interrupts(), uart_enable_interrupts(), and uart_set_baudrate().

+ Here is the call graph for this function:

void uart_transmit ( struct uart_periph p,
uint8_t  data 
)
static void usart_enable_irq ( IRQn_Type  IRQn)
inlinestatic

Definition at line 103 of file uart_arch.c.