Quadrotor from scratch
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
243 B

#ifndef __UART_H
#define __UART_H
#include "types.h"
void init_uart(void);
void putch(char c);
void putstr(char *s);
void putint(unsigned int n);
void putint_s(int n);
void puthex(unsigned int n);
bool getch(char *c);
#endif /* __UART_H */