30 lines
731 B
C
30 lines
731 B
C
/*
|
|
* @Author: DaMingSY zxm5337@163.com
|
|
* @Date: 2024-09-11 10:06:30
|
|
* @LastEditors: DaMingSY zxm5337@163.com
|
|
* @LastEditTime: 2024-10-12 10:45:13
|
|
* @FilePath: \signal_generator\App\RN7302\rn7302.h
|
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
*/
|
|
#ifndef __RN7302_H
|
|
#define __RN7302_H
|
|
#include "data_type_def.h"
|
|
|
|
// typedef enum
|
|
// {
|
|
// ERROR = 0,
|
|
// SUCCESS = !ERROR
|
|
// } ErrorStatus;
|
|
|
|
typedef struct
|
|
{
|
|
uint8_t I[3][4];
|
|
uint8_t V[3][4];
|
|
} rns7302_data_reg;
|
|
|
|
void rn7302_Init(void);
|
|
void get_rn7302_ch_value(void);
|
|
void fun_rn7302_operate(uint8_t channel, float32 *data_pv);
|
|
|
|
#endif
|