Hard_reset, Update_nv_ram, Hard_reset -3 – Freescale Semiconductor 802.15.4 User Manual

Page 51: Update_nv_ram -3, 2 hard_reset, 3 update_nv_ram

Advertising
background image

Freescale Semiconductor Embedded Bootloader Reference Manual, Rev. 0.0

7-3

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).

Advertising