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

Macros

#define MXC_F_FLC_CTRL_WRITE_POS   0
 
#define MXC_F_FLC_CTRL_WRITE   ((uint32_t)(0x1UL << MXC_F_FLC_CTRL_WRITE_POS))
 
#define MXC_V_FLC_CTRL_WRITE_COMPLETE   ((uint32_t)0x0UL)
 
#define MXC_S_FLC_CTRL_WRITE_COMPLETE   (MXC_V_FLC_CTRL_WRITE_COMPLETE << MXC_F_FLC_CTRL_WRITE_POS)
 
#define MXC_V_FLC_CTRL_WRITE_START_WR   ((uint32_t)0x1UL)
 
#define MXC_S_FLC_CTRL_WRITE_START_WR   (MXC_V_FLC_CTRL_WRITE_START_WR << MXC_F_FLC_CTRL_WRITE_POS)
 
#define MXC_F_FLC_CTRL_MASS_ERASE_POS   1
 
#define MXC_F_FLC_CTRL_MASS_ERASE   ((uint32_t)(0x1UL << MXC_F_FLC_CTRL_MASS_ERASE_POS))
 
#define MXC_V_FLC_CTRL_MASS_ERASE_COMPLETE   ((uint32_t)0x0UL)
 
#define MXC_S_FLC_CTRL_MASS_ERASE_COMPLETE   (MXC_V_FLC_CTRL_MASS_ERASE_COMPLETE << MXC_F_FLC_CTRL_MASS_ERASE_POS)
 
#define MXC_V_FLC_CTRL_MASS_ERASE_START_ME   ((uint32_t)0x1UL)
 
#define MXC_S_FLC_CTRL_MASS_ERASE_START_ME   (MXC_V_FLC_CTRL_MASS_ERASE_START_ME << MXC_F_FLC_CTRL_MASS_ERASE_POS)
 
#define MXC_F_FLC_CTRL_PAGE_ERASE_POS   2
 
#define MXC_F_FLC_CTRL_PAGE_ERASE   ((uint32_t)(0x1UL << MXC_F_FLC_CTRL_PAGE_ERASE_POS))
 
#define MXC_V_FLC_CTRL_PAGE_ERASE_COMPLETE   ((uint32_t)0x0UL)
 
#define MXC_S_FLC_CTRL_PAGE_ERASE_COMPLETE   (MXC_V_FLC_CTRL_PAGE_ERASE_COMPLETE << MXC_F_FLC_CTRL_PAGE_ERASE_POS)
 
#define MXC_V_FLC_CTRL_PAGE_ERASE_START_PGE   ((uint32_t)0x1UL)
 
#define MXC_S_FLC_CTRL_PAGE_ERASE_START_PGE   (MXC_V_FLC_CTRL_PAGE_ERASE_START_PGE << MXC_F_FLC_CTRL_PAGE_ERASE_POS)
 
#define MXC_F_FLC_CTRL_WIDTH_POS   4
 
#define MXC_F_FLC_CTRL_WIDTH   ((uint32_t)(0x1UL << MXC_F_FLC_CTRL_WIDTH_POS))
 
#define MXC_V_FLC_CTRL_WIDTH_128_BIT   ((uint32_t)0x0UL)
 
#define MXC_S_FLC_CTRL_WIDTH_128_BIT   (MXC_V_FLC_CTRL_WIDTH_128_BIT << MXC_F_FLC_CTRL_WIDTH_POS)
 
#define MXC_V_FLC_CTRL_WIDTH_32_BIT   ((uint32_t)0x1UL)
 
#define MXC_S_FLC_CTRL_WIDTH_32_BIT   (MXC_V_FLC_CTRL_WIDTH_32_BIT << MXC_F_FLC_CTRL_WIDTH_POS)
 
#define MXC_F_FLC_CTRL_ERASE_CODE_POS   8
 
#define MXC_F_FLC_CTRL_ERASE_CODE   ((uint32_t)(0xFFUL << MXC_F_FLC_CTRL_ERASE_CODE_POS))
 
#define MXC_V_FLC_CTRL_ERASE_CODE_DIS   ((uint32_t)0x0UL)
 
#define MXC_S_FLC_CTRL_ERASE_CODE_DIS   (MXC_V_FLC_CTRL_ERASE_CODE_DIS << MXC_F_FLC_CTRL_ERASE_CODE_POS)
 
#define MXC_V_FLC_CTRL_ERASE_CODE_PGE   ((uint32_t)0x55UL)
 
#define MXC_S_FLC_CTRL_ERASE_CODE_PGE   (MXC_V_FLC_CTRL_ERASE_CODE_PGE << MXC_F_FLC_CTRL_ERASE_CODE_POS)
 
#define MXC_V_FLC_CTRL_ERASE_CODE_ME   ((uint32_t)0xAAUL)
 
#define MXC_S_FLC_CTRL_ERASE_CODE_ME   (MXC_V_FLC_CTRL_ERASE_CODE_ME << MXC_F_FLC_CTRL_ERASE_CODE_POS)
 
#define MXC_F_FLC_CTRL_BUSY_POS   24
 
#define MXC_F_FLC_CTRL_BUSY   ((uint32_t)(0x1UL << MXC_F_FLC_CTRL_BUSY_POS))
 
#define MXC_V_FLC_CTRL_BUSY_IDLE   ((uint32_t)0x0UL)
 
#define MXC_S_FLC_CTRL_BUSY_IDLE   (MXC_V_FLC_CTRL_BUSY_IDLE << MXC_F_FLC_CTRL_BUSY_POS)
 
#define MXC_V_FLC_CTRL_BUSY_BUSY   ((uint32_t)0x1UL)
 
#define MXC_S_FLC_CTRL_BUSY_BUSY   (MXC_V_FLC_CTRL_BUSY_BUSY << MXC_F_FLC_CTRL_BUSY_POS)
 
#define MXC_F_FLC_CTRL_UNLOCK_CODE_POS   28
 
#define MXC_F_FLC_CTRL_UNLOCK_CODE   ((uint32_t)(0xFUL << MXC_F_FLC_CTRL_UNLOCK_CODE_POS))
 
#define MXC_V_FLC_CTRL_UNLOCK_CODE_UNLOCKED   ((uint32_t)0x2UL)
 
#define MXC_S_FLC_CTRL_UNLOCK_CODE_UNLOCKED   (MXC_V_FLC_CTRL_UNLOCK_CODE_UNLOCKED << MXC_F_FLC_CTRL_UNLOCK_CODE_POS)
 
#define MXC_V_FLC_CTRL_UNLOCK_CODE_LOCKED   ((uint32_t)0x3UL)
 
#define MXC_S_FLC_CTRL_UNLOCK_CODE_LOCKED   (MXC_V_FLC_CTRL_UNLOCK_CODE_LOCKED << MXC_F_FLC_CTRL_UNLOCK_CODE_POS)
 

Detailed Description

Flash Control Register.

Macro Definition Documentation

◆ MXC_F_FLC_CTRL_BUSY

#define MXC_F_FLC_CTRL_BUSY   ((uint32_t)(0x1UL << MXC_F_FLC_CTRL_BUSY_POS))

CTRL_BUSY Mask

◆ MXC_F_FLC_CTRL_BUSY_POS

#define MXC_F_FLC_CTRL_BUSY_POS   24

CTRL_BUSY Position

◆ MXC_F_FLC_CTRL_ERASE_CODE

#define MXC_F_FLC_CTRL_ERASE_CODE   ((uint32_t)(0xFFUL << MXC_F_FLC_CTRL_ERASE_CODE_POS))

CTRL_ERASE_CODE Mask

◆ MXC_F_FLC_CTRL_ERASE_CODE_POS

#define MXC_F_FLC_CTRL_ERASE_CODE_POS   8

CTRL_ERASE_CODE Position

◆ MXC_F_FLC_CTRL_MASS_ERASE

#define MXC_F_FLC_CTRL_MASS_ERASE   ((uint32_t)(0x1UL << MXC_F_FLC_CTRL_MASS_ERASE_POS))

CTRL_MASS_ERASE Mask

◆ MXC_F_FLC_CTRL_MASS_ERASE_POS

#define MXC_F_FLC_CTRL_MASS_ERASE_POS   1

CTRL_MASS_ERASE Position

◆ MXC_F_FLC_CTRL_PAGE_ERASE

#define MXC_F_FLC_CTRL_PAGE_ERASE   ((uint32_t)(0x1UL << MXC_F_FLC_CTRL_PAGE_ERASE_POS))

CTRL_PAGE_ERASE Mask

◆ MXC_F_FLC_CTRL_PAGE_ERASE_POS

#define MXC_F_FLC_CTRL_PAGE_ERASE_POS   2

CTRL_PAGE_ERASE Position

◆ MXC_F_FLC_CTRL_UNLOCK_CODE

#define MXC_F_FLC_CTRL_UNLOCK_CODE   ((uint32_t)(0xFUL << MXC_F_FLC_CTRL_UNLOCK_CODE_POS))

CTRL_UNLOCK_CODE Mask

◆ MXC_F_FLC_CTRL_UNLOCK_CODE_POS

#define MXC_F_FLC_CTRL_UNLOCK_CODE_POS   28

CTRL_UNLOCK_CODE Position

◆ MXC_F_FLC_CTRL_WIDTH

#define MXC_F_FLC_CTRL_WIDTH   ((uint32_t)(0x1UL << MXC_F_FLC_CTRL_WIDTH_POS))

CTRL_WIDTH Mask

◆ MXC_F_FLC_CTRL_WIDTH_POS

#define MXC_F_FLC_CTRL_WIDTH_POS   4

CTRL_WIDTH Position

◆ MXC_F_FLC_CTRL_WRITE

#define MXC_F_FLC_CTRL_WRITE   ((uint32_t)(0x1UL << MXC_F_FLC_CTRL_WRITE_POS))

CTRL_WRITE Mask

◆ MXC_F_FLC_CTRL_WRITE_POS

#define MXC_F_FLC_CTRL_WRITE_POS   0

CTRL_WRITE Position

◆ MXC_S_FLC_CTRL_BUSY_BUSY

#define MXC_S_FLC_CTRL_BUSY_BUSY   (MXC_V_FLC_CTRL_BUSY_BUSY << MXC_F_FLC_CTRL_BUSY_POS)

CTRL_BUSY_BUSY Setting

◆ MXC_S_FLC_CTRL_BUSY_IDLE

#define MXC_S_FLC_CTRL_BUSY_IDLE   (MXC_V_FLC_CTRL_BUSY_IDLE << MXC_F_FLC_CTRL_BUSY_POS)

CTRL_BUSY_IDLE Setting

◆ MXC_S_FLC_CTRL_ERASE_CODE_DIS

#define MXC_S_FLC_CTRL_ERASE_CODE_DIS   (MXC_V_FLC_CTRL_ERASE_CODE_DIS << MXC_F_FLC_CTRL_ERASE_CODE_POS)

CTRL_ERASE_CODE_DIS Setting

◆ MXC_S_FLC_CTRL_ERASE_CODE_ME

#define MXC_S_FLC_CTRL_ERASE_CODE_ME   (MXC_V_FLC_CTRL_ERASE_CODE_ME << MXC_F_FLC_CTRL_ERASE_CODE_POS)

CTRL_ERASE_CODE_ME Setting

◆ MXC_S_FLC_CTRL_ERASE_CODE_PGE

#define MXC_S_FLC_CTRL_ERASE_CODE_PGE   (MXC_V_FLC_CTRL_ERASE_CODE_PGE << MXC_F_FLC_CTRL_ERASE_CODE_POS)

CTRL_ERASE_CODE_PGE Setting

◆ MXC_S_FLC_CTRL_MASS_ERASE_COMPLETE

#define MXC_S_FLC_CTRL_MASS_ERASE_COMPLETE   (MXC_V_FLC_CTRL_MASS_ERASE_COMPLETE << MXC_F_FLC_CTRL_MASS_ERASE_POS)

CTRL_MASS_ERASE_COMPLETE Setting

◆ MXC_S_FLC_CTRL_MASS_ERASE_START_ME

#define MXC_S_FLC_CTRL_MASS_ERASE_START_ME   (MXC_V_FLC_CTRL_MASS_ERASE_START_ME << MXC_F_FLC_CTRL_MASS_ERASE_POS)

CTRL_MASS_ERASE_START_ME Setting

◆ MXC_S_FLC_CTRL_PAGE_ERASE_COMPLETE

#define MXC_S_FLC_CTRL_PAGE_ERASE_COMPLETE   (MXC_V_FLC_CTRL_PAGE_ERASE_COMPLETE << MXC_F_FLC_CTRL_PAGE_ERASE_POS)

CTRL_PAGE_ERASE_COMPLETE Setting

◆ MXC_S_FLC_CTRL_PAGE_ERASE_START_PGE

#define MXC_S_FLC_CTRL_PAGE_ERASE_START_PGE   (MXC_V_FLC_CTRL_PAGE_ERASE_START_PGE << MXC_F_FLC_CTRL_PAGE_ERASE_POS)

CTRL_PAGE_ERASE_START_PGE Setting

◆ MXC_S_FLC_CTRL_UNLOCK_CODE_LOCKED

#define MXC_S_FLC_CTRL_UNLOCK_CODE_LOCKED   (MXC_V_FLC_CTRL_UNLOCK_CODE_LOCKED << MXC_F_FLC_CTRL_UNLOCK_CODE_POS)

CTRL_UNLOCK_CODE_LOCKED Setting

◆ MXC_S_FLC_CTRL_UNLOCK_CODE_UNLOCKED

#define MXC_S_FLC_CTRL_UNLOCK_CODE_UNLOCKED   (MXC_V_FLC_CTRL_UNLOCK_CODE_UNLOCKED << MXC_F_FLC_CTRL_UNLOCK_CODE_POS)

CTRL_UNLOCK_CODE_UNLOCKED Setting

◆ MXC_S_FLC_CTRL_WIDTH_128_BIT

#define MXC_S_FLC_CTRL_WIDTH_128_BIT   (MXC_V_FLC_CTRL_WIDTH_128_BIT << MXC_F_FLC_CTRL_WIDTH_POS)

CTRL_WIDTH_128_BIT Setting

◆ MXC_S_FLC_CTRL_WIDTH_32_BIT

#define MXC_S_FLC_CTRL_WIDTH_32_BIT   (MXC_V_FLC_CTRL_WIDTH_32_BIT << MXC_F_FLC_CTRL_WIDTH_POS)

CTRL_WIDTH_32_BIT Setting

◆ MXC_S_FLC_CTRL_WRITE_COMPLETE

#define MXC_S_FLC_CTRL_WRITE_COMPLETE   (MXC_V_FLC_CTRL_WRITE_COMPLETE << MXC_F_FLC_CTRL_WRITE_POS)

CTRL_WRITE_COMPLETE Setting

◆ MXC_S_FLC_CTRL_WRITE_START_WR

#define MXC_S_FLC_CTRL_WRITE_START_WR   (MXC_V_FLC_CTRL_WRITE_START_WR << MXC_F_FLC_CTRL_WRITE_POS)

CTRL_WRITE_START_WR Setting

◆ MXC_V_FLC_CTRL_BUSY_BUSY

#define MXC_V_FLC_CTRL_BUSY_BUSY   ((uint32_t)0x1UL)

CTRL_BUSY_BUSY Value

◆ MXC_V_FLC_CTRL_BUSY_IDLE

#define MXC_V_FLC_CTRL_BUSY_IDLE   ((uint32_t)0x0UL)

CTRL_BUSY_IDLE Value

◆ MXC_V_FLC_CTRL_ERASE_CODE_DIS

#define MXC_V_FLC_CTRL_ERASE_CODE_DIS   ((uint32_t)0x0UL)

CTRL_ERASE_CODE_DIS Value

◆ MXC_V_FLC_CTRL_ERASE_CODE_ME

#define MXC_V_FLC_CTRL_ERASE_CODE_ME   ((uint32_t)0xAAUL)

CTRL_ERASE_CODE_ME Value

◆ MXC_V_FLC_CTRL_ERASE_CODE_PGE

#define MXC_V_FLC_CTRL_ERASE_CODE_PGE   ((uint32_t)0x55UL)

CTRL_ERASE_CODE_PGE Value

◆ MXC_V_FLC_CTRL_MASS_ERASE_COMPLETE

#define MXC_V_FLC_CTRL_MASS_ERASE_COMPLETE   ((uint32_t)0x0UL)

CTRL_MASS_ERASE_COMPLETE Value

◆ MXC_V_FLC_CTRL_MASS_ERASE_START_ME

#define MXC_V_FLC_CTRL_MASS_ERASE_START_ME   ((uint32_t)0x1UL)

CTRL_MASS_ERASE_START_ME Value

◆ MXC_V_FLC_CTRL_PAGE_ERASE_COMPLETE

#define MXC_V_FLC_CTRL_PAGE_ERASE_COMPLETE   ((uint32_t)0x0UL)

CTRL_PAGE_ERASE_COMPLETE Value

◆ MXC_V_FLC_CTRL_PAGE_ERASE_START_PGE

#define MXC_V_FLC_CTRL_PAGE_ERASE_START_PGE   ((uint32_t)0x1UL)

CTRL_PAGE_ERASE_START_PGE Value

◆ MXC_V_FLC_CTRL_UNLOCK_CODE_LOCKED

#define MXC_V_FLC_CTRL_UNLOCK_CODE_LOCKED   ((uint32_t)0x3UL)

CTRL_UNLOCK_CODE_LOCKED Value

◆ MXC_V_FLC_CTRL_UNLOCK_CODE_UNLOCKED

#define MXC_V_FLC_CTRL_UNLOCK_CODE_UNLOCKED   ((uint32_t)0x2UL)

CTRL_UNLOCK_CODE_UNLOCKED Value

◆ MXC_V_FLC_CTRL_WIDTH_128_BIT

#define MXC_V_FLC_CTRL_WIDTH_128_BIT   ((uint32_t)0x0UL)

CTRL_WIDTH_128_BIT Value

◆ MXC_V_FLC_CTRL_WIDTH_32_BIT

#define MXC_V_FLC_CTRL_WIDTH_32_BIT   ((uint32_t)0x1UL)

CTRL_WIDTH_32_BIT Value

◆ MXC_V_FLC_CTRL_WRITE_COMPLETE

#define MXC_V_FLC_CTRL_WRITE_COMPLETE   ((uint32_t)0x0UL)

CTRL_WRITE_COMPLETE Value

◆ MXC_V_FLC_CTRL_WRITE_START_WR

#define MXC_V_FLC_CTRL_WRITE_START_WR   ((uint32_t)0x1UL)

CTRL_WRITE_START_WR Value