You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
413 B
19 lines
413 B
#pragma once
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#include "iflytop_xsync/iflytop_xsync.h"
|
|
#include "project_configs.h"
|
|
|
|
#define MAX_REG_NUM 256
|
|
|
|
void reg_manager_init();
|
|
|
|
uint32_t reg_manager_read_reg(uint32_t addr);
|
|
uint32_t reg_manager_write_reg(uint32_t addr, uint32_t value);
|
|
|
|
void reg_manager_read_regs(uint32_t start_addr, uint32_t nreg, uint32_t* datacache, uint32_t* len);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|