Nv_flash_setup, Fl_icg_setup, Nv_flash_setup -4 – Freescale Semiconductor 802.15.4 User Manual
Page 52: Fl_icg_setup -4, 4 nv_flash_setup, 5 fl_icg_setup

7-4 Embedded Bootloader Reference Manual, Rev 0.0 Freescale Semiconductor
7.1.4 NV_Flash_Setup
Prototype:
void NV_Flash_Setup(void)
Description:
This function should never be called under normal conditions. However, it should be called if any of the
other Embedded Bootloader functions malfunctions. The function sets up the flash functions (again), i.e.
copies the flash routines to RAM for execution and initialize the HCS08 flash module.
Input:
None
Output
None
7.1.5 FL_ICG_Setup
Prototype:
void FL_ICG_Setup(void)
Description:
This function can be called by the application. The function could be automatically called if the external
system clock is unstable/removed (from ISR function) and on power down/up (doze). This requires that
the FL_ICG_Setup is called from an ISR function.
NOTE
Application programmers can make their own system clock setup
function or call this function and just modify the ICG and MC13192
register values in the NVM section.
Input:
None
Output
None