ece312_finalproject/sd_reader/periph.h
David Lenfesty 0bff1ffcac Importing code. I swear there are more commits :)
Imported code from larger repo for code. Has some stuff I didn't want
here.
2019-12-05 17:24:03 -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