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.

25 lines
1.1 KiB

2 years ago
  1. #pragma once
  2. #include <stdbool.h>
  3. #include <stdint.h>
  4. #include <stdio.h>
  5. #include "main.h"
  6. #include "usart.h"
  7. uint32_t sys_haspassedms(uint32_t ticket);
  8. /***********************************************************************************************************************
  9. * ========================================================================================================= *
  10. ***********************************************************************************************************************/
  11. void port_do_debug_light_state(void);
  12. /***********************************************************************************************************************
  13. * *************************************************************************************************************** *
  14. ***********************************************************************************************************************/
  15. typedef struct
  16. {
  17. UART_HandleTypeDef *uarthandler;
  18. uint8_t rxbuf;
  19. } uart_t;
  20. void port_mock_on_uart_rx(uart_t *uart);
  21. void port_uart_start_all_uart_receive(void);