![]() |
MAX32690 Peripheral Driver API
Peripheral Driver API for the MAX32690
|
Flash Control Register.
#define MXC_F_FLC_CTRL_ERASE_CODE ((uint32_t)(0xFFUL << MXC_F_FLC_CTRL_ERASE_CODE_POS)) |
CTRL_ERASE_CODE Mask
#define MXC_F_FLC_CTRL_ERASE_CODE_POS 8 |
CTRL_ERASE_CODE Position
#define MXC_F_FLC_CTRL_LVE ((uint32_t)(0x1UL << MXC_F_FLC_CTRL_LVE_POS)) |
CTRL_LVE Mask
#define MXC_F_FLC_CTRL_LVE_POS 25 |
CTRL_LVE Position
#define MXC_F_FLC_CTRL_ME ((uint32_t)(0x1UL << MXC_F_FLC_CTRL_ME_POS)) |
CTRL_ME Mask
#define MXC_F_FLC_CTRL_ME_POS 1 |
CTRL_ME Position
#define MXC_F_FLC_CTRL_PEND ((uint32_t)(0x1UL << MXC_F_FLC_CTRL_PEND_POS)) |
CTRL_PEND Mask
#define MXC_F_FLC_CTRL_PEND_POS 24 |
CTRL_PEND Position
#define MXC_F_FLC_CTRL_PGE ((uint32_t)(0x1UL << MXC_F_FLC_CTRL_PGE_POS)) |
CTRL_PGE Mask
#define MXC_F_FLC_CTRL_PGE_POS 2 |
CTRL_PGE Position
#define MXC_F_FLC_CTRL_UNLOCK ((uint32_t)(0xFUL << MXC_F_FLC_CTRL_UNLOCK_POS)) |
CTRL_UNLOCK Mask
#define MXC_F_FLC_CTRL_UNLOCK_POS 28 |
CTRL_UNLOCK Position
#define MXC_F_FLC_CTRL_WDTH ((uint32_t)(0x1UL << MXC_F_FLC_CTRL_WDTH_POS)) |
CTRL_WDTH Mask
#define MXC_F_FLC_CTRL_WDTH_POS 4 |
CTRL_WDTH Position
#define MXC_F_FLC_CTRL_WR ((uint32_t)(0x1UL << MXC_F_FLC_CTRL_WR_POS)) |
CTRL_WR Mask
#define MXC_F_FLC_CTRL_WR_POS 0 |
CTRL_WR Position
#define MXC_S_FLC_CTRL_ERASE_CODE_ERASEALL (MXC_V_FLC_CTRL_ERASE_CODE_ERASEALL << MXC_F_FLC_CTRL_ERASE_CODE_POS) |
CTRL_ERASE_CODE_ERASEALL Setting
#define MXC_S_FLC_CTRL_ERASE_CODE_ERASEPAGE (MXC_V_FLC_CTRL_ERASE_CODE_ERASEPAGE << MXC_F_FLC_CTRL_ERASE_CODE_POS) |
CTRL_ERASE_CODE_ERASEPAGE Setting
#define MXC_S_FLC_CTRL_ERASE_CODE_NOP (MXC_V_FLC_CTRL_ERASE_CODE_NOP << MXC_F_FLC_CTRL_ERASE_CODE_POS) |
CTRL_ERASE_CODE_NOP Setting
#define MXC_S_FLC_CTRL_UNLOCK_LOCKED (MXC_V_FLC_CTRL_UNLOCK_LOCKED << MXC_F_FLC_CTRL_UNLOCK_POS) |
CTRL_UNLOCK_LOCKED Setting
#define MXC_S_FLC_CTRL_UNLOCK_UNLOCKED (MXC_V_FLC_CTRL_UNLOCK_UNLOCKED << MXC_F_FLC_CTRL_UNLOCK_POS) |
CTRL_UNLOCK_UNLOCKED Setting
#define MXC_V_FLC_CTRL_ERASE_CODE_ERASEALL ((uint32_t)0xAAUL) |
CTRL_ERASE_CODE_ERASEALL Value
#define MXC_V_FLC_CTRL_ERASE_CODE_ERASEPAGE ((uint32_t)0x55UL) |
CTRL_ERASE_CODE_ERASEPAGE Value
#define MXC_V_FLC_CTRL_ERASE_CODE_NOP ((uint32_t)0x0UL) |
CTRL_ERASE_CODE_NOP Value
#define MXC_V_FLC_CTRL_UNLOCK_LOCKED ((uint32_t)0x3UL) |
CTRL_UNLOCK_LOCKED Value
#define MXC_V_FLC_CTRL_UNLOCK_UNLOCKED ((uint32_t)0x2UL) |
CTRL_UNLOCK_UNLOCKED Value