7.1.2 Hard_Reset

Prototype:

void Hard_Reset(void)

Description:

The application can call this function to make a system reset. The reset is done by executing an illegal instruction.

Input:

None

Output:

None

7.1.3 Update_NV_RAM

Prototype:

bool_t Update_NV_RAM

(

NV_RAM_Struct_t const *NV_RAM_Distination_ptr, uint8_t *Source_ptr,

uint16_t Source_Length

)

Description:

The application can call this function to update any NVM parameter with new values specified in the input parameters. There is no validation of input parameters.

 

NOTE

NVM can in code be read as a normal construct.

Input:

 

NV_RAM_Distination_ptr

A pointer to current NV RAM data (ex. The MAC address), which must be changed.

Source_ptr

A pointer to new NVM data, which must be stored.

Source_Length

The length (number of bytes) of the new NVM data to store.

Output:

 

True – NVM data stored.

 

False - Something went wrong (should never happen).

Freescale Semiconductor

Embedded Bootloader Reference Manual, Rev. 0.0

7-3

Page 51
Image 51
Freescale Semiconductor 802.15.4 manual HardReset, UpdateNVRAM