first commit
This commit is contained in:
15
APP/usart_ano.h
Normal file
15
APP/usart_ano.h
Normal file
@ -0,0 +1,15 @@
|
||||
//
|
||||
// Created by hu123456 on 2024/1/22.
|
||||
//
|
||||
|
||||
#ifndef FOC_N_USART_ANO_H
|
||||
#define FOC_N_USART_ANO_H
|
||||
#include "mymain.h"
|
||||
#define BYTE0(dwTemp) ( *( (char *)(&dwTemp) + 0) )
|
||||
#define BYTE1(dwTemp) ( *( (char *)(&dwTemp) + 1) )
|
||||
#define BYTE2(dwTemp) ( *( (char *)(&dwTemp) + 2) )
|
||||
#define BYTE3(dwTemp) ( *( (char *)(&dwTemp) + 3) )
|
||||
|
||||
|
||||
void Data_send(int32_t _a,int32_t _b,int32_t _c,int32_t _d);
|
||||
#endif //FOC_N_USART_ANO_H
|
Reference in New Issue
Block a user