ece312/final_project/sd_reader/periph.h
David Lenfesty 55025a9ada Mostly done??
Have to do SPI stuff for SD though
2019-12-02 14:32:12 -07:00

13 lines
249 B
C

#ifndef PERIPH_H_
#define PERIPH_H_
#define USART_BAUDRATE 9600 //! USART baudrate, change this to set it.
#define UBRR_VALUE (((F_CPU/(USART_BAUDRATE*16UL)))-1)
// TODO comments
void gpio_init();
void timer_init();
void usart_init();
#endif