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.
40 lines
790 B
40 lines
790 B
/* |
|
* @Author: your name |
|
* @Date: 2021-06-01 17:05:15 |
|
* @LastEditTime: 2021-08-10 17:10:46 |
|
* @LastEditors: Please set LastEditors |
|
* @Description: In User Settings Edit |
|
* @FilePath: \flow-radar-convertor\BSP\bsp_common.h |
|
*/ |
|
#ifndef __BSP_COMMON_H |
|
#define __BSP_COMMON_H |
|
|
|
#ifdef __cplusplus |
|
extern "C" { |
|
#endif |
|
#include "main.h" |
|
|
|
|
|
|
|
|
|
#define RANGE_FINDER_ID 13 |
|
|
|
extern uint8_t usart_rev_data; |
|
|
|
|
|
void open_timer(TIM_HandleTypeDef *htim); |
|
void close_timer(TIM_HandleTypeDef *htim); |
|
void USAR_UART_IDLECallback(UART_HandleTypeDef *huart); |
|
void USER_UART_IRQHandler(UART_HandleTypeDef *huart); |
|
|
|
void action_do_uasrt1_sigle_data(uint8_t data); |
|
void usart1_IRQ_action(void); |
|
void active_uasrt_irq(uint8_t instance); |
|
void action_rev_usart(uint8_t data); |
|
|
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
#endif |
|
|
|
|