CMSIS2000
0.0.7
|
CMSIS like Device Peripheral Access Layer system.c Source File for the NXP LPC2xxx Device Series. More...
#include "mcu_id.h"
#include "LPC2xxx.h"
#include "lpc2xxx_pclk.h"
#include "lpc2xxx_pconp.h"
#include "lpc2xxx_pllclk.h"
Go to the source code of this file.
Macros | |
#define | CHECK_RANGE(val, min, max) ((val < min) || (val > max)) |
#define | CHECK_RSVD(val, mask) (val & mask) |
#define | def_IRQHandler_name(handler_name) handler_name##_IRQHandler |
#define | LPC_SC_MAM_MODE_DISABLED 0 |
#define | LPC_SC_MAM_MODE_FULL 2 |
#define | LPC_SC_MAM_MODE_PARTIAL 1 |
#define | MAMCR_Val LPC_SC_MAM_MODE_FULL |
#define | MAMTIM_Val 4 |
#define | NULL ((void *)0) |
#define | PCLKSEL0_Val 0 |
#define | PCLKSEL1_Val 0 |
#define | VIC_DEFAULT_ISR vic_def_isr |
Variables | |
const ISR_ptr_type | ISR_HANDLES_ARRAY [] |
const char | sizeof_ISR_HANDLES_ARRAY = (sizeof(ISR_HANDLES_ARRAY)/sizeof(ISR_HANDLES_ARRAY[0])) |
CMSIS like Device Peripheral Access Layer system.c Source File for the NXP LPC2xxx Device Series.
Definition in file system_LPC2xxx.c.
#define CHECK_RANGE | ( | val, | |
min, | |||
max | |||
) | ((val < min) || (val > max)) |
#define CHECK_RSVD | ( | val, | |
mask | |||
) | (val & mask) |
#define def_IRQHandler_name | ( | handler_name | ) | handler_name##_IRQHandler |
Definition at line 392 of file system_LPC2xxx.c.
#define LPC_SC_MAM_MODE_DISABLED 0 |
#define LPC_SC_MAM_MODE_FULL 2 |
#define LPC_SC_MAM_MODE_PARTIAL 1 |
#define MAMCR_Val LPC_SC_MAM_MODE_FULL |
#define MAMTIM_Val 4 |
#define NULL ((void *)0) |
Definition at line 287 of file system_LPC2xxx.c.
Referenced by BMK_benchFile(), BMK_findMaxMem(), BMK_GetMilliStart(), GET_ISR_HANDLER_BY_NUMBER(), load_uboot_file(), LZ4_compress64kCtx(), LZ4_compress_limitedOutput(), LZ4_compressCtx(), LZ4_compressHCCtx(), LZ4HC_Free(), NVIC_EnableIRQ(), and SystemVIC_SetISR().
#define PCLKSEL0_Val 0 |
#define PCLKSEL1_Val 0 |
#define VIC_DEFAULT_ISR vic_def_isr |
Definition at line 357 of file system_LPC2xxx.c.
Referenced by SystemVIC_Init().
ISR_IRQ_PROTO | ( | VIC_DEFAULT_ISR | ) |
ISR_IRQ_PROTO | ( | WDT | ) |
ISR_IRQ_PROTO | ( | PROGRAMM_INT | ) |
ISR_IRQ_PROTO | ( | ARM_CORE_ICE_RX | ) |
ISR_IRQ_PROTO | ( | ARM_CORE_ICE_TX | ) |
ISR_IRQ_PROTO | ( | TIMER0 | ) |
ISR_IRQ_PROTO | ( | TIMER1 | ) |
ISR_IRQ_PROTO | ( | UART0 | ) |
ISR_IRQ_PROTO | ( | UART1 | ) |
ISR_IRQ_PROTO | ( | PWM | ) |
ISR_IRQ_PROTO | ( | PWM0 | ) |
ISR_IRQ_PROTO | ( | I2C | ) |
ISR_IRQ_PROTO | ( | I2C0 | ) |
ISR_IRQ_PROTO | ( | SPI | ) |
ISR_IRQ_PROTO | ( | SPI0 | ) |
ISR_IRQ_PROTO | ( | SSP0 | ) |
ISR_IRQ_PROTO | ( | SPI1 | ) |
ISR_IRQ_PROTO | ( | SSP1 | ) |
ISR_IRQ_PROTO | ( | PLL0 | ) |
ISR_IRQ_PROTO | ( | RTC | ) |
ISR_IRQ_PROTO | ( | EINT0 | ) |
ISR_IRQ_PROTO | ( | EINT1 | ) |
ISR_IRQ_PROTO | ( | EINT2 | ) |
ISR_IRQ_PROTO | ( | EINT3 | ) |
ISR_IRQ_PROTO | ( | ADC | ) |
ISR_IRQ_PROTO | ( | CAN1_TX | ) |
ISR_IRQ_PROTO | ( | CAN2_TX | ) |
ISR_IRQ_PROTO | ( | CAN3_TX | ) |
ISR_IRQ_PROTO | ( | CAN4_TX | ) |
ISR_IRQ_PROTO | ( | PROGRAMM_INT24 | ) |
ISR_IRQ_PROTO | ( | PROGRAMM_INT25 | ) |
ISR_IRQ_PROTO | ( | CAN1_RX | ) |
ISR_IRQ_PROTO | ( | CAN2_RX | ) |
ISR_IRQ_PROTO | ( | CAN3_RX | ) |
ISR_IRQ_PROTO | ( | CAN4_RX | ) |
MOVE_CODE_TO_FLASH void* SystemVIC_SetISR | ( | ISR_HANDLER((*isr_func)) | , |
IRQn_Type | IRQ_type, | ||
signed char | priority | ||
) |
Definition at line 294 of file system_LPC2xxx.c.
References NULL, VIC, VIC_ENABLE, VIC_MAX_IRQ_NUMBER, and VIC_SIZE.
Referenced by NVIC_EnableIRQ(), and SystemVIC_Init().