Freescale Semiconductor 802.15.4 manual NVFlashSetup, FLICGSetup

Models: 802.15.4

1 66
Download 66 pages 37.1 Kb
Page 52
Image 52

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

7-4

Embedded Bootloader Reference Manual, Rev 0.0

Freescale Semiconductor

Page 52
Image 52
Freescale Semiconductor 802.15.4 manual NVFlashSetup, FLICGSetup