Macros | |
USART Settings | |
#define | EXAMPLE_USART_BAUDRATE 57600 |
#define | EXAMPLE_USART_BITSPERCHAR 8 |
#define | EXAMPLE_USART_PARITY USART_NO_PARITY |
#define | EXAMPLE_USART_STOPBIT USART_1_STOPBIT |
#define | EXAMPLE_USART (&AVR32_USART1) |
#define | EXAMPLE_USART_RX_PIN AVR32_USART1_RXD_0_0_PIN |
#define | EXAMPLE_USART_RX_FUNCTION AVR32_USART1_RXD_0_0_FUNCTION |
#define | EXAMPLE_USART_TX_PIN AVR32_USART1_TXD_0_0_PIN |
#define | EXAMPLE_USART_TX_FUNCTION AVR32_USART1_TXD_0_0_FUNCTION |
#define | EXAMPLE_USART_IRQ AVR32_USART1_IRQ |
Functions | |
void | dsp_debug_init (int fosc) |
this function initializes the USART module at "EXAMPLE_USART_BAUDRATE" bauds More... | |
char | dsp_debug_read_fct () |
This function is used to get a string through the USART. More... | |
void | dsp_debug_write_fct (char c) |
This function is used by the debugging module. It permits to print a character through the USART. More... | |
#define EXAMPLE_USART (&AVR32_USART1) |
Referenced by dsp_debug_init(), dsp_debug_read_fct(), and dsp_debug_write_fct().
#define EXAMPLE_USART_BAUDRATE 57600 |
Referenced by dsp_debug_init().
#define EXAMPLE_USART_BITSPERCHAR 8 |
Referenced by dsp_debug_init().
#define EXAMPLE_USART_IRQ AVR32_USART1_IRQ |
#define EXAMPLE_USART_PARITY USART_NO_PARITY |
Referenced by dsp_debug_init().
#define EXAMPLE_USART_RX_FUNCTION AVR32_USART1_RXD_0_0_FUNCTION |
Referenced by dsp_debug_init().
#define EXAMPLE_USART_RX_PIN AVR32_USART1_RXD_0_0_PIN |
Referenced by dsp_debug_init().
#define EXAMPLE_USART_STOPBIT USART_1_STOPBIT |
Referenced by dsp_debug_init().
#define EXAMPLE_USART_TX_FUNCTION AVR32_USART1_TXD_0_0_FUNCTION |
Referenced by dsp_debug_init().
#define EXAMPLE_USART_TX_PIN AVR32_USART1_TXD_0_0_PIN |
Referenced by dsp_debug_init().