AN668
5.2.2. gModes.c
The gModes.c file has two functions: gModes_enter_my_default_mode() and gModes_enter_my_off_mode().
The default mode function places the device in the default mode after a reset and calls
gCpu_enter_default_config() from gCpu.c, gPB_enter_default_config() from gPB.c, and
gRtc0_enter_default_config() from gRtc0.c.
The off mode function is not currently called from anywhere in the project and includes calls to
gRtc0_enter_off_config() from gRtc0.c and gPB_enter_off_config() from gPB.c.
Figure 9 illustrates the dependencies diagram for gModes.c.
gModes.c
Blinky
gCpu.c
gPB.c
gRtc0.c
si32Hal
Figure 9. gModes.c Dependencies
Rev. 0.1
7