HPM SDK
HPMicro Software Development Kit
hpm_bpor_regs.h File Reference

Go to the source code of this file.

Data Structures

struct  BPOR_Type
 

Macros

#define BPOR_POR_CONFIG_RETENTION_MASK   (0x1U)
 
#define BPOR_POR_CONFIG_RETENTION_SHIFT   (0U)
 
#define BPOR_POR_CONFIG_RETENTION_SET(x)   (((uint32_t)(x) << BPOR_POR_CONFIG_RETENTION_SHIFT) & BPOR_POR_CONFIG_RETENTION_MASK)
 
#define BPOR_POR_CONFIG_RETENTION_GET(x)   (((uint32_t)(x) & BPOR_POR_CONFIG_RETENTION_MASK) >> BPOR_POR_CONFIG_RETENTION_SHIFT)
 

Macro Definition Documentation

◆ BPOR_POR_CONFIG_RETENTION_GET

#define BPOR_POR_CONFIG_RETENTION_GET (   x)    (((uint32_t)(x) & BPOR_POR_CONFIG_RETENTION_MASK) >> BPOR_POR_CONFIG_RETENTION_SHIFT)

◆ BPOR_POR_CONFIG_RETENTION_MASK

#define BPOR_POR_CONFIG_RETENTION_MASK   (0x1U)

◆ BPOR_POR_CONFIG_RETENTION_SET

#define BPOR_POR_CONFIG_RETENTION_SET (   x)    (((uint32_t)(x) << BPOR_POR_CONFIG_RETENTION_SHIFT) & BPOR_POR_CONFIG_RETENTION_MASK)

◆ BPOR_POR_CONFIG_RETENTION_SHIFT

#define BPOR_POR_CONFIG_RETENTION_SHIFT   (0U)