NXP LPC23XX

NXP LPC23XX family specific code. More...

Detailed Description

NXP LPC23XX family specific code.

Files

file  cpu_conf.h
 LPC23XX CPU configuration.
 
file  periph_cpu.h
 CPU specific definitions for internal peripheral handling.
 

Macros

#define CPU_HAS_BACKUP_RAM   (1)
 The CPU has RAM that is retained in the deepest sleep mode.
 

Functions

void cpu_init_pll (void)
 Initialize the phase lock loop oscillator.
 
void cpu_init_mam (void)
 Initialize the Memory Acceleration Module.
 
void lpc23xx_pclk_scale (uint32_t source, uint32_t target, uint32_t *pclksel, uint32_t *prescale)
 Scale lpc23xx cpu speed.
 
void cpu_init_clks (void)
 Initialize lpc23xx cpu clocks.
 
bool install_irq (int IntNumber, void(*HandlerAddr)(void), int Priority)
 install lpc23xx irq
 
static void cpu_print_last_instruction (void)
 Prints the current content of the link register (lr)
 
static bool cpu_woke_from_backup (void)
 Returns true if the CPU woke from Deep Sleep.
 
bool cpu_backup_ram_is_initialized (void)
 Returns true if the backup RAM has been initialized.
 

Variables

uintptr_t __stack_start
 end of user stack memory space