ECE 4760 Final Project
 All Files Functions Variables Enumerations Enumerator Macros
Macros | Functions
uart.c File Reference
#include <stdint.h>
#include <stdio.h>
#include <avr/io.h>
#include "uart.h"

Go to the source code of this file.


#define F_CPU   16000000UL
#define UART_BAUD   57600


void uart_init (void)
int uart_putchar (char c, FILE *stream)
int uart_getchar (FILE *stream)

Macro Definition Documentation

#define F_CPU   16000000UL

Definition at line 18 of file uart.c.

#define UART_BAUD   57600

Definition at line 21 of file uart.c.

Function Documentation

int uart_getchar ( FILE *  stream)

Definition at line 102 of file uart.c.

void uart_init ( void  )

Definition at line 35 of file uart.c.

int uart_putchar ( char  c,
FILE *  stream 

Definition at line 51 of file uart.c.