Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
uart_arch.c File Reference

omap uart handling More...

#include "mcu_periph/uart.h"
#include <stdint.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "serial_port.h"
#include <errno.h>
+ Include dependency graph for uart_arch.c:

Go to the source code of this file.

Macros

#define TRACE(fmt, args...)
 

Functions

void uart_periph_set_baudrate (struct uart_periph *periph, uint32_t baud)
 
void uart_transmit (struct uart_periph *periph, uint8_t data)
 
static void uart_handler (struct uart_periph *periph)
 

Detailed Description

omap uart handling

Definition in file uart_arch.c.

Macro Definition Documentation

#define TRACE (   fmt,
  args... 
)

Definition at line 37 of file uart_arch.c.

Referenced by uart_handler(), uart_periph_set_baudrate(), and uart_transmit().

Function Documentation

void uart_periph_set_baudrate ( struct uart_periph periph,
uint32_t  baud 
)

Definition at line 40 of file uart_arch.c.

References uart_periph::dev, port, uart_periph::reg_addr, serial_port_close(), serial_port_free(), serial_port_new(), serial_port_open_raw(), and TRACE.

+ Here is the call graph for this function: