Microchip® Advanced Software Framework

gpbr.h File Reference

General Purpose Backup Registers (GPBR) driver for SAM.

Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.

#include "compiler.h"

Typedefs

typedef enum gpbr_num_type gpbr_num_t
 GPBR register number type. More...
 

Enumerations

enum  gpbr_num_type {
  GPBR0 = 0,
  GPBR1,
  GPBR2,
  GPBR3,
  GPBR4,
  GPBR5,
  GPBR6,
  GPBR7
}
 GPBR register number type. More...
 

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

typedef enum gpbr_num_type gpbr_num_t

GPBR register number type.

GPBR register number type.

Enumerator
GPBR0 
GPBR1 
GPBR2 
GPBR3 
GPBR4 
GPBR5 
GPBR6 
GPBR7