Included Files
- #include <nut/include/sys/atom.h>
- #include <nut/include/sys/event.h>
- #include <nut/include/sys/timer.h>
- #include <nut/include/dev/irqreg.h>
- #include <nut/include/dev/usartavr.h>
Preprocessor definitions
#define ASCII_XON 0x11
#define ASCII_XOFF 0x13
#define XON_PENDING 0x10
#define XOFF_PENDING 0x20
#define XOFF_SENT 0x40
#define XOFF_RCVD 0x80
Local Variables
rx_errors
static ureg_t rx_errors
flow_control
static ureg_t flow_control
tx_aframe
static ureg_t tx_aframe
static int AvrUsartDeinit ( void )
static void AvrUsartDisable ( void )
static void AvrUsartEnable ( void )
static u_char AvrUsartGetClockMode ( void )
static u_char AvrUsartGetDataBits ( void )
static u_long AvrUsartGetFlowControl ( void )
static u_char AvrUsartGetParity ( void )
static u_long AvrUsartGetSpeed ( void )
static u_long AvrUsartGetStatus ( void )
static u_char AvrUsartGetStopBits ( void )
static int AvrUsartInit ( void )
static void AvrUsartRxComplete ( void* arg )
static void AvrUsartRxStart ( void )
static int AvrUsartSetClockMode ( u_char mode )
static int AvrUsartSetDataBits ( u_char bits )
static int AvrUsartSetFlowControl ( u_long flags )
static int AvrUsartSetParity ( u_char mode )
static int AvrUsartSetSpeed ( u_long rate )
static int AvrUsartSetStatus ( u_long flags )
static int AvrUsartSetStopBits ( u_char bits )
static void AvrUsartTxEmpty ( void* arg )
static void AvrUsartTxStart ( void )