English
Language : 

ZAURA Datasheet, PDF (56/99 Pages) –
ZAURA RF Wireless Library
Programmer’s Reference Manual
44
ZAURA_RF_GetParams
Description This function reads the RF and User parameters stored in Flash.
If the Flash-based RF parameters are valid, the RAM-based
ZAURA_RF_Params configuration variable is updated with the values
read from Flash. If the Flash-based RF parameters are invalid, the
RAM-based ZAURA_RF_Params configuration variable is not modi-
fied. Prior to returning to the caller, this function will configure the RF
Module with values stored in the RAM-based ZAURA_RF_Params
configuration variable.
The User parameters read from Flash are always assumed to be valid
and will overwrite the contents of the RAM-based
ZAURA_RF_UserParams configuration variable.
The ZAURA RF Wireless Library calls this function during initializa-
tion to determine whether the RF parameters from Flash or the default
values specified in the ZAURA RF configuration file will be used to
initialize the radio.
Syntax
void ZAURA_RF_GetParams( void );
Parameters None.
Returns None.
See Also ZAURA_RF_SetParams, ZAURA_RF_PARAMS Structure,
ZAURA RF Wireless Module Configuration
Example
ZAURA_RF_GetParams();
/*
* If the RF parameters stored in Flash were valid, the
* ZAURA_RF_Params global variable now contains the values
* stored in Flash and the radio has been reprogrammed to
* use the RF parameters stored in Flash.
*
* In addition the RAM-based ZAURA_RF_UsserParams global
* variable will be overwritten with the values from
* Flash.
**/
ZAURA RF Wireless Radio Configuration API
RM006003-1011