initial commit
This commit is contained in:
19
app/by_param.h
Normal file
19
app/by_param.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#ifndef _BY_PARAM_H__
|
||||
#define _BY_PARAM_H__
|
||||
|
||||
#include "at32f413.h"
|
||||
|
||||
#include "by_utils.h"
|
||||
|
||||
typedef struct by_param_type {
|
||||
uint16_t reg_addr;
|
||||
uint16_t *data_ptr;
|
||||
char data_str[20];
|
||||
} by_param_type;
|
||||
|
||||
#define BY_PARAM_NUM_MAX (20)
|
||||
|
||||
by_error_status by_param_init(void);
|
||||
by_error_status by_param_reg(uint16_t reg_addr, uint16_t *data_ptr, const char *data_str);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user