mirror of
https://gitee.com/dlmu-cone/half-steering-basic-framework
synced 2026-10-23 17:42:20 +08:00
first commit
This commit is contained in:
21
modules/vofa/vofa.h
Normal file
21
modules/vofa/vofa.h
Normal file
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* @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);
|
||||
|
||||
#endif // !1#define
|
||||
Reference in New Issue
Block a user