I have several DK-TM4C123G kits and I'm studying the qs-logger example. I have serveral questions on this code:
1. Is any additional documentation available such as UML flowchart for the qs-logger project?
2. On line 778 of qs-logger.c there are library functions that use the prefix MAP_ e.g. MAP_SysCtlPeripheralEnable(BUTTONS_GPIO_PERIPH);
I've used these functions with the prefix ROM_ so what does the MAP_ mean? Where can I find the definitions? How do these differ from the ROM_ functions?
3. On line 836 of qs-logger.c the MAP_ code is used again, specifically MAP_SysCtlClockSet(SYSCTL_SYSDIV_4 |....
but at line #152 we see #define CLOCK_RATE 100 which I assume means that the clock rate is 100 MHz because line #153 we see #define MS_PER_SYSTICK (1000 / CLOCK_RATE)
which looks like it's trying to calculate mS per systick but the clock rate can't be 100 MHz as the max clock rate for the processor on this kit is 80 MHz and anyway, in teh code the clock is specifically set to 50 MHz.
4. Once qs-logger is up and running, there's a system of displaying a menu of data output selections and then taking the selected data item and displaying it in a 'widget' screen - e.g. selecting 'current' displays a 1Hz updated reading of current in mA displayed on a simple screen canvas; selecting 'gyro' gives a different screen canvas with separate x, y, and z, values displayed. Without any documentation, I'm struggling to understand how that works. What I'd really like to do is to create my own widgets, add them into the menu system.
Any help greatly appreciated.