2022-12-05 15:59:47 +08:00
|
|
|
/*
|
|
|
|
* @Descripttion:
|
|
|
|
* @version:
|
|
|
|
* @Author: Chenfu
|
|
|
|
* @Date: 2022-12-05 12:39:18
|
|
|
|
* @LastEditTime: 2022-12-05 13:37:36
|
|
|
|
*/
|
|
|
|
#ifndef VOFA_H
|
|
|
|
#define VOFA_H
|
2022-12-12 22:29:51 +08:00
|
|
|
#include <stdint.h>
|
2022-12-05 15:59:47 +08:00
|
|
|
#include "bsp_usart.h"
|
|
|
|
#include "usart.h"
|
|
|
|
|
|
|
|
typedef union
|
|
|
|
{
|
|
|
|
float float_t;
|
|
|
|
uint8_t uint8_t[4];
|
|
|
|
} send_float;
|
|
|
|
void vofa_justfloat_output(float *data, uint8_t num , UART_HandleTypeDef *huart);
|
|
|
|
|
|
|
|
#endif // !1#define
|