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.

18 lines
368 B

1 year ago
  1. #pragma once
  2. #ifdef __cplusplus
  3. extern "C" {
  4. #endif
  5. #include "project_dep.h"
  6. #define MAX_REG_NUM 256
  7. void reg_manager_init();
  8. uint32_t reg_manager_read_reg(uint32_t addr);
  9. uint32_t reg_manager_write_reg(uint32_t addr, uint32_t value);
  10. void reg_manager_read_regs(uint32_t start_addr, uint32_t nreg, uint32_t* datacache, uint32_t* len);
  11. #ifdef __cplusplus
  12. }
  13. #endif