Restructure files
This commit is contained in:
parent
8c7b62dc2d
commit
b5f86d5972
13 changed files with 29 additions and 20 deletions
|
|
@ -1,22 +0,0 @@
|
|||
#ifndef UART_H_
|
||||
#define UART_H_
|
||||
|
||||
#include "config.h"
|
||||
#include <avr/io.h>
|
||||
|
||||
// Initialize UART
|
||||
void uartInit();
|
||||
|
||||
// Transmit a single character
|
||||
void uartPutChar(unsigned char data);
|
||||
|
||||
// Transmit a string
|
||||
void uartPutString(char* data);
|
||||
|
||||
// Read a single character (blocking)
|
||||
unsigned char uartGetChar();
|
||||
|
||||
// Read a string until \n (blocking)
|
||||
uint8_t uartGetLine(char* buffer, uint8_t maxLength);
|
||||
|
||||
#endif /* UART_H_ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue