BeRTOS
ser_at91.h File Reference

High level serial I/O API. More...

#include <cfg/macros.h>
#include <cfg/compiler.h>
#include <cpu/detect.h>

Go to the source code of this file.

Enumerations

Serial hw numbers
enum  { , SER_CNT }

Serial Error/status flags.

#define SERRF_RXFIFOOVERRUN   BV(0)
 Rx FIFO buffer overrun.
#define SERRF_RXTIMEOUT   BV(1)
 Receive timeout.
#define SERRF_TXTIMEOUT   BV(2)
 Transmit timeout.
#define SERRF_RXSROVERRUN   BV(5)
 Rx shift register overrun.
#define SERRF_FRAMEERROR   BV(6)
 Stop bit missing.
#define SERRF_PARITYERROR   BV(7)
 Parity error.
#define SERRF_NOISEERROR   0
 Unsupported.
typedef uint32_t serstatus_t
 Rx FIFO buffer overrun.

Detailed Description

High level serial I/O API.

Author:
Daniele Basile <asterix@develer.com>

Definition in file ser_at91.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
SER_CNT 

Number of serial ports.

Definition at line 70 of file ser_at91.h.