aversive_10-03-12/modules/comm/uart/uart_setconf.c File Reference

#include <uart.h>
#include <uart_defs.h>
#include <uart_private.h>

Go to the source code of this file.

Defines

#define UART_SET_STATICCONF(x)

Functions

int8_t uart_setconf (uint8_t num, struct uart_config *u)


Define Documentation

#define UART_SET_STATICCONF (  ) 

Value:

u->enabled = UART##x##_ENABLED;                                 \
        u->intr_enabled = UART##x##_INTERRUPT_ENABLED;                  \
        u->use_double_speed = UART##x##_USE_DOUBLE_SPEED;               \
        u->parity =  UART##x##_PARITY;                                  \
        u->stop_bits = UART##x##_STOP_BIT;                              \
        u->nbits = UART##x##_NBITS;                                     \
        u->baudrate = UART##x##_BAUDRATE;                               \
        break

Definition at line 156 of file uart_setconf.c.

Referenced by uart_setconf().


Function Documentation

int8_t uart_setconf ( uint8_t  num,
struct uart_config u 
)


Generated on Fri Mar 12 06:32:05 2010 for AVR by  doxygen 1.5.6