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

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

Go to the source code of this file.

Functions

void uart_register_tx_event (uint8_t num, void(*f)(char))
void uart_register_rx_event (uint8_t num, void(*f)(char))


Function Documentation

void uart_register_rx_event ( uint8_t  num,
void(*)(char)  f 
)

This function is used to register another function which will be executed at each byte reception (5, 6 ,7 ,8 bits)

Definition at line 42 of file uart_events.c.

References parse_symbols::f, IRQ_LOCK, IRQ_UNLOCK, rx_event, and UART_HW_NUM.

void uart_register_tx_event ( uint8_t  num,
void(*)(char)  f 
)

This function is used to register another function which will be executed at each byte transmission (5, 6 ,7 ,8 bits)

Definition at line 30 of file uart_events.c.

References parse_symbols::f, IRQ_LOCK, IRQ_UNLOCK, tx_event, and UART_HW_NUM.


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