Question
hi guys, I'm trying to define a register range for uint32_t array. I couldn't find a place online that explain in properly. do you know a way to do so?
uint32_t REG_INIT[32];//// i dont think it is necessery that only for explanation
#define MainAddr ((uint64_t)0x801FEC0)
#define step 0x8
#define BiasRefInit *(uint64_t *)(MainAddr+0*step)
#define BiasRefFinal *(uint64_t *)(MainAddr+1*step)
#define PowerRecycles *(uint64_t *)(MainAddr+2*step)
#define REG_INIT[32] *(uint64_t *)(MainAddr+3*step)/// i wont to set a 32 regs range to "reg init".