initial commit

This commit is contained in:
bmy
2024-04-25 22:31:01 +08:00
commit 200b5703f9
119 changed files with 52620 additions and 0 deletions

19
app/by_param.h Normal file
View 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