![]() |
DVBCore
22.3.0
Open Source DVB Engine
|
Header file for NVM data handling functions. More...
Go to the source code of this file.
Typedefs | |
typedef enum e_nvm_items | E_NVM_ITEMS |
Functions | |
void | APP_NvmRestoreDefaults (void) |
Resets the DVB's settings to factory defaults. | |
U32BIT | APP_NvmReadDefault (E_NVM_ITEMS nvm_item) |
Returns the factory default value for the given DVB setting. More... | |
U32BIT | APP_NvmRead (E_NVM_ITEMS nvm_item) |
Returns the current value for the given DVB setting. More... | |
U8BIT * | APP_NvmReadString (E_NVM_ITEMS nvm_item) |
Returns pointer to current string for the given DVB setting. More... | |
void | APP_NvmSave (E_NVM_ITEMS nvm_item, U32BIT new_value, BOOLEAN write_to_flash_now) |
Sets the current value for the given DVB setting. More... | |
void | APP_NvmSaveString (E_NVM_ITEMS nvm_item, U8BIT *str_ptr, BOOLEAN write_to_flash_now) |
Sets the current value for the given DVB setting. More... | |
void | APP_NvmSaveAllNow (void) |
Saves DVB values immediately. | |
U32BIT | APP_NvmGetDvbSize (void) |
Returns the size in bytes the DVB module uses to save its settings. More... | |
void | APP_NvmInitialise (void) |
Initialises the DVB core's NVM data. | |
Header file for NVM data handling functions.
U32BIT APP_NvmGetDvbSize | ( | void | ) |
Returns the size in bytes the DVB module uses to save its settings.
U32BIT APP_NvmRead | ( | E_NVM_ITEMS | nvm_item | ) |
Returns the current value for the given DVB setting.
nvm_item | - value to be read |
U32BIT APP_NvmReadDefault | ( | E_NVM_ITEMS | nvm_item | ) |
Returns the factory default value for the given DVB setting.
nvm_item | - value to be read |
U8BIT* APP_NvmReadString | ( | E_NVM_ITEMS | nvm_item | ) |
Returns pointer to current string for the given DVB setting.
nvm_item | - value to be read |
void APP_NvmSave | ( | E_NVM_ITEMS | nvm_item, |
U32BIT | new_value, | ||
BOOLEAN | write_to_flash_now | ||
) |
Sets the current value for the given DVB setting.
nvm_item | - item to be read |
new_value | - value for the item |
write_to_flash_now | - if TRUE then all the current values will be saved. When changing the values of several items, it will be more efficient to only this this TRUE for the last item |
void APP_NvmSaveString | ( | E_NVM_ITEMS | nvm_item, |
U8BIT * | str_ptr, | ||
BOOLEAN | write_to_flash_now | ||
) |
Sets the current value for the given DVB setting.
nvm_item | - item to be written |
str_ptr | - pointer to string for the item |
write_to_flash_now | - if TRUE then all the current values will be saved. When changing the values of several items, it will be more efficient to only this this TRUE for the last item |