RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Functions
apbuart_polled.c File Reference

This source file contains the implementation of apbuart_outbyte_wait(), apbuart_outbyte_polled(), and apbuart_inbyte_nonblocking(). More...

#include <grlib/apbuart.h>
#include <grlib/io.h>
#include <rtems/dev/io.h>

Functions

void apbuart_outbyte_wait (const apbuart *regs)
 Ensures that at least once an empty transmitter FIFO was observed.
 
void apbuart_outbyte_polled (apbuart *regs, char ch)
 Waits until an empty transmitter FIFO was observed and then stores the character to the data register.
 
int apbuart_inbyte_nonblocking (apbuart *regs)
 Clears all errors and tries to get one character from the receiver FIFO.
 

Detailed Description

This source file contains the implementation of apbuart_outbyte_wait(), apbuart_outbyte_polled(), and apbuart_inbyte_nonblocking().