Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
General Purpose Backup Registers (GPBR)

Driver for the General Purpose Backup Registers.

This driver provides access to the main features of the GPBR controller.

Functions

uint32_t gpbr_read (gpbr_num_t ul_reg_num)
 Read the specified backup register. More...
 
void gpbr_write (gpbr_num_t ul_reg_num, uint32_t ul_value)
 Write a value to the specified backup register. More...
 

uint32_t gpbr_read ( gpbr_num_t  ul_reg_num)

Read the specified backup register.

Parameters
ul_reg_numGeneral purpose backup register number.
Returns
Value of the specified backup register.

Referenced by display_menu_core().

void gpbr_write ( gpbr_num_t  ul_reg_num,
uint32_t  ul_value 
)

Write a value to the specified backup register.

Parameters
ul_reg_numGeneral purpose backup register number.
ul_valueValue to be written.