mirror of
https://gitee.com/dlmu-cone/bf_original_balance_chassis
synced 2026-07-24 11:37:45 +08:00
超级电容通信 VOFA
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-gcc.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