wip(ex04)
This commit is contained in:
parent
a87568e5f7
commit
5a954c3713
12 changed files with 403 additions and 57 deletions
14
ex04/include/uart.h
Normal file
14
ex04/include/uart.h
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#ifndef UART_H
|
||||
#define UART_H
|
||||
|
||||
#include "mystd.h"
|
||||
|
||||
void uart_init(void);
|
||||
|
||||
void uart_tx(char data);
|
||||
void uart_sendstring(const char* str);
|
||||
void uart_send_u8(uint8_t val);
|
||||
|
||||
char uart_rx(void);
|
||||
|
||||
#endif /* UART_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue