mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-11-15 19:49:12 +01:00
14 lines
209 B
C
14 lines
209 B
C
#ifndef UART_H
|
|
#define UART_H
|
|
|
|
#define BAUD 9600UL
|
|
|
|
void uart_set_recv_handler(void (*handler)(unsigned char c));
|
|
|
|
void uart_init(void);
|
|
|
|
void uart_putc(const char c);
|
|
void uart_puts(const char* str);
|
|
|
|
#endif
|