soft_usart.h 254 B

123456789101112
  1. #ifndef __SOFT_USART_H
  2. #define __SOFT_USART_H
  3. #include "stdbool.h"
  4. #include "stdio.h"
  5. #include "common.h"
  6. #define USART_1 1
  7. void usart1_send_msg(uint8_t *data, uint8_t size);
  8. bool uart_send_is_ok(uint8_t uart_num);
  9. void send_uartfifo_msg(void);
  10. #endif