OpenWSN Firmware
uart.h File Reference
#include "stdint.h"
#include "board.h"

Go to the source code of this file.

Typedefs

typedef void(* uart_tx_cbt )(void)
 
typedef void(* uart_rx_cbt )(void)
 

Enumerations

enum  uart_event_t { UART_EVENT_THRES, UART_EVENT_OVERFLOW }
 

Functions

void uart_init (void)
 
void uart_setCallbacks (uart_tx_cbt txCb, uart_rx_cbt rxCb)
 
void uart_enableInterrupts (void)
 
void uart_disableInterrupts (void)
 
void uart_clearRxInterrupts (void)
 
void uart_clearTxInterrupts (void)
 
void uart_writeByte (uint8_t byteToWrite)
 
uint8_t uart_readByte (void)
 
kick_scheduler_t uart_tx_isr (void)
 
kick_scheduler_t uart_rx_isr (void)