RTEMS  5.0.0
Macros | Functions
apbuart.h File Reference
#include "ambapp.h"
#include "grlib.h"

Go to the source code of this file.

Macros

#define APBUART_CTRL_RE   0x1
 
#define APBUART_CTRL_TE   0x2
 
#define APBUART_CTRL_RI   0x4
 
#define APBUART_CTRL_TI   0x8
 
#define APBUART_CTRL_PS   0x10
 
#define APBUART_CTRL_PE   0x20
 
#define APBUART_CTRL_FL   0x40
 
#define APBUART_CTRL_LB   0x80
 
#define APBUART_CTRL_EC   0x100
 
#define APBUART_CTRL_TF   0x200
 
#define APBUART_CTRL_RF   0x400
 
#define APBUART_CTRL_DB   0x800
 
#define APBUART_CTRL_BI   0x1000
 
#define APBUART_CTRL_DI   0x2000
 
#define APBUART_CTRL_FA   0x80000000
 
#define APBUART_STATUS_DR   0x1
 
#define APBUART_STATUS_TS   0x2
 
#define APBUART_STATUS_TE   0x4
 
#define APBUART_STATUS_BR   0x8
 
#define APBUART_STATUS_OV   0x10
 
#define APBUART_STATUS_PE   0x20
 
#define APBUART_STATUS_FE   0x40
 
#define APBUART_STATUS_ERR   0x78
 
#define APBUART_STATUS_TH   0x80
 
#define APBUART_STATUS_RH   0x100
 
#define APBUART_STATUS_TF   0x200
 
#define APBUART_STATUS_RF   0x400
 

Functions

void apbuart_outbyte_polled (struct apbuart_regs *regs, unsigned char ch, int do_cr_on_newline, int wait_sent)
 
int apbuart_inbyte_nonblocking (struct apbuart_regs *regs)