MAX32665 Peripheral Driver API
Peripheral Driver API for the MAX32665
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Modules Pages

Macros

#define MXC_F_FLC_CN_WR_POS   0
 
#define MXC_F_FLC_CN_WR   ((uint32_t)(0x1UL << MXC_F_FLC_CN_WR_POS))
 
#define MXC_F_FLC_CN_ME_POS   1
 
#define MXC_F_FLC_CN_ME   ((uint32_t)(0x1UL << MXC_F_FLC_CN_ME_POS))
 
#define MXC_F_FLC_CN_PGE_POS   2
 
#define MXC_F_FLC_CN_PGE   ((uint32_t)(0x1UL << MXC_F_FLC_CN_PGE_POS))
 
#define MXC_F_FLC_CN_ERASE_CODE_POS   8
 
#define MXC_F_FLC_CN_ERASE_CODE   ((uint32_t)(0xFFUL << MXC_F_FLC_CN_ERASE_CODE_POS))
 
#define MXC_V_FLC_CN_ERASE_CODE_NOP   ((uint32_t)0x0UL)
 
#define MXC_S_FLC_CN_ERASE_CODE_NOP   (MXC_V_FLC_CN_ERASE_CODE_NOP << MXC_F_FLC_CN_ERASE_CODE_POS)
 
#define MXC_V_FLC_CN_ERASE_CODE_ERASEPAGE   ((uint32_t)0x55UL)
 
#define MXC_S_FLC_CN_ERASE_CODE_ERASEPAGE   (MXC_V_FLC_CN_ERASE_CODE_ERASEPAGE << MXC_F_FLC_CN_ERASE_CODE_POS)
 
#define MXC_V_FLC_CN_ERASE_CODE_ERASEALL   ((uint32_t)0xAAUL)
 
#define MXC_S_FLC_CN_ERASE_CODE_ERASEALL   (MXC_V_FLC_CN_ERASE_CODE_ERASEALL << MXC_F_FLC_CN_ERASE_CODE_POS)
 
#define MXC_F_FLC_CN_PEND_POS   24
 
#define MXC_F_FLC_CN_PEND   ((uint32_t)(0x1UL << MXC_F_FLC_CN_PEND_POS))
 
#define MXC_F_FLC_CN_UNLOCK_POS   28
 
#define MXC_F_FLC_CN_UNLOCK   ((uint32_t)(0xFUL << MXC_F_FLC_CN_UNLOCK_POS))
 
#define MXC_V_FLC_CN_UNLOCK_UNLOCKED   ((uint32_t)0x2UL)
 
#define MXC_S_FLC_CN_UNLOCK_UNLOCKED   (MXC_V_FLC_CN_UNLOCK_UNLOCKED << MXC_F_FLC_CN_UNLOCK_POS)
 
#define MXC_V_FLC_CN_UNLOCK_LOCKED   ((uint32_t)0x3UL)
 
#define MXC_S_FLC_CN_UNLOCK_LOCKED   (MXC_V_FLC_CN_UNLOCK_LOCKED << MXC_F_FLC_CN_UNLOCK_POS)
 

Detailed Description

Flash Control Register.

Macro Definition Documentation

◆ MXC_F_FLC_CN_ERASE_CODE

#define MXC_F_FLC_CN_ERASE_CODE   ((uint32_t)(0xFFUL << MXC_F_FLC_CN_ERASE_CODE_POS))

CN_ERASE_CODE Mask

◆ MXC_F_FLC_CN_ERASE_CODE_POS

#define MXC_F_FLC_CN_ERASE_CODE_POS   8

CN_ERASE_CODE Position

◆ MXC_F_FLC_CN_ME

#define MXC_F_FLC_CN_ME   ((uint32_t)(0x1UL << MXC_F_FLC_CN_ME_POS))

CN_ME Mask

◆ MXC_F_FLC_CN_ME_POS

#define MXC_F_FLC_CN_ME_POS   1

CN_ME Position

◆ MXC_F_FLC_CN_PEND

#define MXC_F_FLC_CN_PEND   ((uint32_t)(0x1UL << MXC_F_FLC_CN_PEND_POS))

CN_PEND Mask

◆ MXC_F_FLC_CN_PEND_POS

#define MXC_F_FLC_CN_PEND_POS   24

CN_PEND Position

◆ MXC_F_FLC_CN_PGE

#define MXC_F_FLC_CN_PGE   ((uint32_t)(0x1UL << MXC_F_FLC_CN_PGE_POS))

CN_PGE Mask

◆ MXC_F_FLC_CN_PGE_POS

#define MXC_F_FLC_CN_PGE_POS   2

CN_PGE Position

◆ MXC_F_FLC_CN_UNLOCK

#define MXC_F_FLC_CN_UNLOCK   ((uint32_t)(0xFUL << MXC_F_FLC_CN_UNLOCK_POS))

CN_UNLOCK Mask

◆ MXC_F_FLC_CN_UNLOCK_POS

#define MXC_F_FLC_CN_UNLOCK_POS   28

CN_UNLOCK Position

◆ MXC_F_FLC_CN_WR

#define MXC_F_FLC_CN_WR   ((uint32_t)(0x1UL << MXC_F_FLC_CN_WR_POS))

CN_WR Mask

◆ MXC_F_FLC_CN_WR_POS

#define MXC_F_FLC_CN_WR_POS   0

CN_WR Position

◆ MXC_S_FLC_CN_ERASE_CODE_ERASEALL

#define MXC_S_FLC_CN_ERASE_CODE_ERASEALL   (MXC_V_FLC_CN_ERASE_CODE_ERASEALL << MXC_F_FLC_CN_ERASE_CODE_POS)

CN_ERASE_CODE_ERASEALL Setting

◆ MXC_S_FLC_CN_ERASE_CODE_ERASEPAGE

#define MXC_S_FLC_CN_ERASE_CODE_ERASEPAGE   (MXC_V_FLC_CN_ERASE_CODE_ERASEPAGE << MXC_F_FLC_CN_ERASE_CODE_POS)

CN_ERASE_CODE_ERASEPAGE Setting

◆ MXC_S_FLC_CN_ERASE_CODE_NOP

#define MXC_S_FLC_CN_ERASE_CODE_NOP   (MXC_V_FLC_CN_ERASE_CODE_NOP << MXC_F_FLC_CN_ERASE_CODE_POS)

CN_ERASE_CODE_NOP Setting

◆ MXC_S_FLC_CN_UNLOCK_LOCKED

#define MXC_S_FLC_CN_UNLOCK_LOCKED   (MXC_V_FLC_CN_UNLOCK_LOCKED << MXC_F_FLC_CN_UNLOCK_POS)

CN_UNLOCK_LOCKED Setting

◆ MXC_S_FLC_CN_UNLOCK_UNLOCKED

#define MXC_S_FLC_CN_UNLOCK_UNLOCKED   (MXC_V_FLC_CN_UNLOCK_UNLOCKED << MXC_F_FLC_CN_UNLOCK_POS)

CN_UNLOCK_UNLOCKED Setting

◆ MXC_V_FLC_CN_ERASE_CODE_ERASEALL

#define MXC_V_FLC_CN_ERASE_CODE_ERASEALL   ((uint32_t)0xAAUL)

CN_ERASE_CODE_ERASEALL Value

◆ MXC_V_FLC_CN_ERASE_CODE_ERASEPAGE

#define MXC_V_FLC_CN_ERASE_CODE_ERASEPAGE   ((uint32_t)0x55UL)

CN_ERASE_CODE_ERASEPAGE Value

◆ MXC_V_FLC_CN_ERASE_CODE_NOP

#define MXC_V_FLC_CN_ERASE_CODE_NOP   ((uint32_t)0x0UL)

CN_ERASE_CODE_NOP Value

◆ MXC_V_FLC_CN_UNLOCK_LOCKED

#define MXC_V_FLC_CN_UNLOCK_LOCKED   ((uint32_t)0x3UL)

CN_UNLOCK_LOCKED Value

◆ MXC_V_FLC_CN_UNLOCK_UNLOCKED

#define MXC_V_FLC_CN_UNLOCK_UNLOCKED   ((uint32_t)0x2UL)

CN_UNLOCK_UNLOCKED Value