XMC Peripheral Library for XMC4000 Family: xmc4_flash.h File Reference

XMC Peripheral Library for XMC4000 Family

XMC Peripheral Library for XMC4000 Family  2.1.16
xmc4_flash.h File Reference
#include "xmc_common.h"
Include dependency graph for xmc4_flash.h:

Macros

#define XMC_FLASH_BYTES_PER_PAGE   (256UL)
 
#define XMC_FLASH_BYTES_PER_UCB   (1024UL)
 
#define XMC_FLASH_PHY_SECTOR_0   (uint32_t *)(XMC_FLASH_UNCACHED_BASE + 0x00000UL)
 
#define XMC_FLASH_PHY_SECTOR_10   (uint32_t *)(XMC_FLASH_UNCACHED_BASE + 0x80000UL)
 
#define XMC_FLASH_PHY_SECTOR_11   (uint32_t *)(XMC_FLASH_UNCACHED_BASE + 0xC0000UL)
 
#define XMC_FLASH_PHY_SECTOR_12   (uint32_t *)(XMC_FLASH_UNCACHED_BASE + 0x100000UL)
 
#define XMC_FLASH_PHY_SECTOR_13   (uint32_t *)(XMC_FLASH_UNCACHED_BASE + 0x140000UL)
 
#define XMC_FLASH_PHY_SECTOR_14   (uint32_t *)(XMC_FLASH_UNCACHED_BASE + 0x180000UL)
 
#define XMC_FLASH_PHY_SECTOR_15   (uint32_t *)(XMC_FLASH_UNCACHED_BASE + 0x1C0000UL)
 
#define XMC_FLASH_PHY_SECTOR_4   (uint32_t *)(XMC_FLASH_UNCACHED_BASE + 0x10000UL)
 
#define XMC_FLASH_PHY_SECTOR_8   (uint32_t *)(XMC_FLASH_UNCACHED_BASE + 0x20000UL)
 
#define XMC_FLASH_PHY_SECTOR_9   (uint32_t *)(XMC_FLASH_UNCACHED_BASE + 0x40000UL)
 
#define XMC_FLASH_SECTOR_0   (uint32_t *)(XMC_FLASH_UNCACHED_BASE + 0x00000UL)
 
#define XMC_FLASH_SECTOR_1   (uint32_t *)(XMC_FLASH_UNCACHED_BASE + 0x04000UL)
 
#define XMC_FLASH_SECTOR_10   (uint32_t *)(XMC_FLASH_UNCACHED_BASE + 0x80000UL)
 
#define XMC_FLASH_SECTOR_11   (uint32_t *)(XMC_FLASH_UNCACHED_BASE + 0xC0000UL)
 
#define XMC_FLASH_SECTOR_12   (uint32_t *)(XMC_FLASH_UNCACHED_BASE + 0x100000UL)
 
#define XMC_FLASH_SECTOR_13   (uint32_t *)(XMC_FLASH_UNCACHED_BASE + 0x140000UL)
 
#define XMC_FLASH_SECTOR_14   (uint32_t *)(XMC_FLASH_UNCACHED_BASE + 0x180000UL)
 
#define XMC_FLASH_SECTOR_15   (uint32_t *)(XMC_FLASH_UNCACHED_BASE + 0x1C0000UL)
 
#define XMC_FLASH_SECTOR_2   (uint32_t *)(XMC_FLASH_UNCACHED_BASE + 0x08000UL)
 
#define XMC_FLASH_SECTOR_3   (uint32_t *)(XMC_FLASH_UNCACHED_BASE + 0x0C000UL)
 
#define XMC_FLASH_SECTOR_4   (uint32_t *)(XMC_FLASH_UNCACHED_BASE + 0x10000UL)
 
#define XMC_FLASH_SECTOR_5   (uint32_t *)(XMC_FLASH_UNCACHED_BASE + 0x14000UL)
 
#define XMC_FLASH_SECTOR_6   (uint32_t *)(XMC_FLASH_UNCACHED_BASE + 0x18000UL)
 
#define XMC_FLASH_SECTOR_7   (uint32_t *)(XMC_FLASH_UNCACHED_BASE + 0x1C000UL)
 
#define XMC_FLASH_SECTOR_8   (uint32_t *)(XMC_FLASH_UNCACHED_BASE + 0x20000UL)
 
#define XMC_FLASH_SECTOR_9   (uint32_t *)(XMC_FLASH_UNCACHED_BASE + 0x40000UL)
 
#define XMC_FLASH_UCB0   (uint32_t *)(XMC_FLASH_UNCACHED_BASE + 0x0000UL)
 
#define XMC_FLASH_UCB1   (uint32_t *)(XMC_FLASH_UNCACHED_BASE + 0x0400UL)
 
#define XMC_FLASH_UCB2   (uint32_t *)(XMC_FLASH_UNCACHED_BASE + 0x0800UL)
 
#define XMC_FLASH_UNCACHED_BASE   (0x0C000000U)
 
#define XMC_FLASH_WORDS_PER_PAGE   (64UL)
 

Enumerations

Functions

void XMC_FLASH_ConfirmProtection (uint8_t user)
 
void XMC_FLASH_DisableDoubleBitErrorTrap (void)
 
void XMC_FLASH_DisableDynamicIdle (void)
 
void XMC_FLASH_DisableSleepRequest (void)
 
void XMC_FLASH_DisableWaitStateForECC (void)
 
void XMC_FLASH_EnableDoubleBitErrorTrap (void)
 
void XMC_FLASH_EnableDynamicIdle (void)
 
void XMC_FLASH_EnableSleepRequest (void)
 
void XMC_FLASH_EnableWaitStateForECC (void)
 
void XMC_FLASH_ErasePhysicalSector (uint32_t *sector_start_address)
 
void XMC_FLASH_EraseUCB (uint32_t *ucb_sector_start_address)
 
void XMC_FLASH_InstallProtection (uint8_t user, uint32_t protection_mask, uint32_t password_0, uint32_t password_1)
 
void XMC_FLASH_RepairPhysicalSector (void)
 
void XMC_FLASH_Reset (void)
 
void XMC_FLASH_ResumeProtection (void)
 
void XMC_FLASH_SetMargin (const XMC_FLASH_MARGIN_t margin)
 
void XMC_FLASH_SetWaitStates (uint32_t num_wait_states)
 
bool XMC_FLASH_VerifyReadProtection (uint32_t password_0, uint32_t password_1)
 
bool XMC_FLASH_VerifyWriteProtection (uint32_t user, uint32_t protection_mask, uint32_t password_0, uint32_t password_1)
 
void XMC_PREFETCH_DisableInstructionBuffer (void)
 
void XMC_PREFETCH_EnableInstructionBuffer (void)
 
void XMC_PREFETCH_InvalidateInstructionBuffer (void)
 

Detailed Description

Date
2016-03-22
Generated on Mon Aug 7 2017 11:33:56 for XMC Peripheral Library for XMC4000 Family by   doxygen 1.8.11