Other Parts Discussed in Thread: TMS320C6748
The chip I used is TMS320C6748. I plan to define some register variables(about ~50 count) to replace the some normal global variables. I read the datasheet especial on the part of memory mapping. I define the register as follow format:
#define REG32(x) (*(volatile unsigned int *)(x))// reference to a 32 bit register (unsigned int)
#define Register_Var1 REG32(0x60000000u) //clocks of burst width
I'm not sure which memery block I used is OK? Is there someone could give me a confirmation? Thank you very much!