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 "armVIC.h"
+ Include dependency graph for uart_arch.c:

Go to the source code of this file.

Functions

static void uart_disable_interrupts (struct uart_periph *p)
 
static void uart_enable_interrupts (struct uart_periph *p)
 
static void uart_set_baudrate (struct uart_periph *p, uint32_t baud)
 
void uart_periph_set_baudrate (struct uart_periph *p, uint32_t baud)
 
void uart_transmit (struct uart_periph *p, uint8_t data)
 
static void uart_ISR (struct uart_periph *p)
 

Function Documentation

static void uart_disable_interrupts ( struct uart_periph p)
inlinestatic

Definition at line 32 of file uart_arch.c.

References uart_periph::reg_addr.

Referenced by uart_periph_set_baudrate().

+ Here is the caller graph for this function:

static void uart_enable_interrupts ( struct uart_periph p)
inlinestatic

Definition at line 40 of file uart_arch.c.

References uart_periph::reg_addr, and UIER_ERBFI.

Referenced by uart_periph_set_baudrate().

+ Here is the caller graph for this function:

void uart_periph_set_baudrate ( struct uart_periph p,
uint32_t  baud 
)

Definition at line 59 of file uart_arch.c.

static void uart_set_baudrate ( struct uart_periph p,
uint32_t  baud 
)
inlinestatic

Definition at line 45 of file uart_arch.c.

References uart_periph::reg_addr, UART_8N1, UART_FIFO_8, and ULCR_DLAB_ENABLE.

Referenced by uart_periph_set_baudrate().

+ Here is the caller graph for this function:

void uart_transmit ( struct uart_periph p,
uint8_t  data 
)

Definition at line 65 of file uart_arch.c.