libuav original

Dependents:   UAVCAN UAVCAN_Subscriber

Embed: (wiki syntax)

« Back to documentation index

CHIP: LPC11xx FLASH Memory Controller driver

CHIP: LPC11xx FLASH Memory Controller driver

Data Structures

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

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.

Enumeration Type Documentation

FLASH Access time definitions.

Enumerator:
FLASHTIM_20MHZ_CPU 

Flash accesses use 1 CPU clocks. Use for up to 20 MHz CPU clock

FLASHTIM_40MHZ_CPU 

Flash accesses use 2 CPU clocks. Use for up to 40 MHz CPU clock

FLASHTIM_50MHZ_CPU 

Flash accesses use 3 CPU clocks. Use for up to 50 MHz CPU clock

Definition at line 72 of file fmc_11xx.h.


Function Documentation

STATIC INLINE void Chip_FMC_SetFLASHAccess ( FMC_FLASHTIM_T  clks )

Set FLASH access time in clocks.

Parameters:
clks: Clock cycles for FLASH access (minus 1)
Returns:
Nothing
Note:
For CPU speed up to 20MHz, use a value of 0. For up to 40MHz, use a value of 1. For up to 50MHz, use a value of 2.

Definition at line 85 of file fmc_11xx.h.