Hello all, I am looking at the TM4C123 datasheet which defines (I'll use the SysTick as an example)
STCTRL, STRELOAD, and STCURRENT as the SysTick registers. Those names are all compact and easy to remember, however I am taking a micro controller
course online, and the same registers are being defined as:
#define NVIC_ST_CTRL_R (*((volatile unsigned long *)0xE000E010))
#define NVIC_ST_RELOAD_R (*((volatile unsigned long *)0xE000E014))
#define NVIC_ST_CURRENT_R (*((volatile unsigned long *)0xE000E018))
So, 2 questions:
-Which header file contains the shorter register names?
-Is there a 'normal' or 'best' way to go here?
thank you
/etienne