opentvc
Functions
USART Library

Functions

void usartInit (unsigned int ubrr)
 
void usartTransmit (unsigned char data)
 
unsigned char usartReceive (void)
 
int print (char c, FILE *stream)
 

Detailed Description

This library contains all the neccessary code for serial transmission.

Function Documentation

void usartInit ( unsigned int  ubrr)

This function enables the receiver and tranmitter.

unsigned char usartReceive ( void  )

This function receives data from the RX pin.

void usartTransmit ( unsigned char  data)

This function transmit data on the TX pin.