 |
MAX32675 Peripheral Driver API
Peripheral Driver API for the MAX32675
|
60 #define MXC_FLASH_PAGE_MASK ~(MXC_FLASH_PAGE_SIZE - 1)
63 #define MXC_FLASH_PAGE_ADDR(page) (MXC_FLASH_MEM_BASE + ((unsigned long)page * MXC_FLASH_PAGE_SIZE))
115 int MXC_FLC_Write (uint32_t address, uint32_t length, uint32_t *buffer);
int MXC_FLC_Write128(uint32_t address, uint32_t *data)
Writes 128 bits of data to flash.
int MXC_FLC_DisableInt(uint32_t flags)
Disable flash interrupts.
int MXC_FLC_LockInfoBlock(uint32_t address)
Lock info block.
int MXC_FLC_ClearFlags(uint32_t flags)
Clear flash interrupt flags.
int MXC_FLC_Write(uint32_t address, uint32_t length, uint32_t *buffer)
Writes data to flash.
int MXC_FLC_Init()
Initializes the Flash Controller for erase/write operations.
int MXC_FLC_GetFlags(void)
Retrieve flash interrupt flags.
int MXC_FLC_MassErase(void)
Erases the entire flash array.
int MXC_FLC_EnableInt(uint32_t flags)
Enable flash interrupts.
void MXC_FLC_Read(int address, void *buffer, int len)
Read Data out of Flash from an address.
int MXC_FLC_Write32(uint32_t address, uint32_t data)
Writes 32 bits of data to flash.
int MXC_FLC_UnlockInfoBlock(uint32_t address)
Unlock info block.
int MXC_FLC_PageErase(uint32_t address)
Erases the page of flash at the specified address.
int MXC_FLC_Busy(void)
Checks if Flash Controller is busy.