Wixel SDK
Functions | Variables
uart1.h File Reference
#include <cc2511_map.h>
#include <cc2511_types.h>
#include <com.h>

Go to the source code of this file.

Functions

void uart1Init ()
 
void uart1SetBaudRate (uint32 baudrate)
 
void uart1SetParity (uint8 parity)
 
void uart1SetStopBits (uint8 stopBits)
 
uint8 uart1TxAvailable (void)
 
void uart1TxSendByte (uint8 byte)
 
void uart1TxSend (const uint8 XDATA *buffer, uint8 size)
 
uint8 uart1RxAvailable (void)
 
uint8 uart1RxReceiveByte (void)
 
 ISR (UTX1, 0)
 
 ISR (URX1, 0)
 

Variables

volatile BIT uart1RxParityErrorOccurred
 
volatile BIT uart1RxFramingErrorOccurred
 
volatile BIT uart1RxBufferFullOccurred
 

Detailed Description

For information about these functions, see uart0.h. These functions/variables do exactly the same thing as the functions in uart0.h, except they apply to USART1 instead of USART0.

Definition in file uart1.h.