LPCOpen Platform for LPC112X microcontrollers  112X
LPCOpen Platform for the NXP LPC112X family of Microcontrollers
Data Structures | Macros | Enumerations | Functions
fmc_112x.h File Reference

Go to the source code of this file.

Data Structures

struct  LPC_FMC_T
 FLASH Memory Controller Unit register block structure. More...
 

Macros

#define FMC_FLASHSIG_BUSY   (1UL << 17)
 
#define FMC_FLASHSIG_STAT   (1 << 2)
 

Enumerations

enum  FMC_FLASHTIM_T { FLASHTIM_20MHZ_CPU = 0, FLASHTIM_40MHZ_CPU = 1, FLASHTIM_50MHZ_CPU = 2 }
 FLASH Access time definitions. More...
 

Functions

STATIC INLINE void Chip_FMC_SetFLASHAccess (FMC_FLASHTIM_T clks)
 Set FLASH access time in clocks. More...
 
STATIC INLINE void Chip_FMC_ComputeSignature (uint32_t start, uint32_t stop)
 Start computation of a signature for a FLASH memory range. More...
 
STATIC INLINE void Chip_FMC_ComputeSignatureBlocks (uint32_t start, uint32_t blocks)
 Start computation of a signature for a FLASH memory address and block count. More...
 
STATIC INLINE void Chip_FMC_ClearSignatureBusy (void)
 Clear signature generation completion flag. More...
 
STATIC INLINE bool Chip_FMC_IsSignatureBusy (void)
 Check for signature generation completion. More...
 
STATIC INLINE uint32_t Chip_FMC_GetSignature (int index)
 Returns the generated FLASH signature value. More...