feat(ex02): nice 75C in the room I guess
This commit is contained in:
parent
1515ff94b8
commit
a801b53938
15 changed files with 919 additions and 0 deletions
19
ex03/include/uart.h
Normal file
19
ex03/include/uart.h
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#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);
|
||||
void uart_send_u16(uint16_t val);
|
||||
|
||||
void uart_send_u8_hex(uint8_t val);
|
||||
void uart_send_u16_hex(uint16_t val);
|
||||
|
||||
char uart_rx(void);
|
||||
|
||||
#endif /* UART_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue