basic_framework/modules/vofa/vofa.h

21 lines
489 B
C
Raw Normal View History

2023-10-02 18:00:54 +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
#include <stdint.h>
#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);
void ANODT_SendF1(int32_t Angle,int32_t speed_rpm,int32_t Angle_target,int32_t speed_target);
2023-10-02 18:00:54 +08:00
#endif // !1#define