CMSIS2000
0.0.7
|
Definitions for NXP LPC2xxx PLCLK (peripheral) module and POWERMODI:E. More...
Go to the source code of this file.
Macros | |
#define | WDT_lpc_periph 0 |
number for WDT. | |
#define | TIMER0_lpc_periph 1 |
number for TIMER0. | |
#define | TIMER1_lpc_periph 2 |
number for TIMER1. | |
#define | UART0_lpc_periph 3 |
number for UART0. | |
#define | UART1_lpc_periph 4 |
number for UART1. | |
#define | PWM0_lpc_periph 5 |
number for PWM0. | |
#define | PWM1_lpc_periph 6 |
number for PWM1 | |
#define | I2C0_lpc_periph 7 |
number for I2C0. | |
#define | SPI_lpc_periph 8 |
number for SPI | |
#define | RTC_lpc_periph 9 |
number for RTC. | |
#define | SSP1_lpc_periph 10 |
number for SSP1. | |
#define | DAC_lpc_periph 11 |
number for DAC. | |
#define | ADC_lpc_periph 12 |
number for ADC. | |
#define | ADC0_lpc_periph ADC_lpc_periph |
number for ADC.0 | |
#define | CAN1_lpc_periph 13 |
number for CAN1. | |
#define | CAN2_lpc_periph 14 |
number for CAN2. | |
#define | ACF_lpc_periph 15 |
number for CAN filtering. | |
#define | BAT_RAM_lpc_periph 16 |
number for the battery supported RAM | |
#define | GPIO_lpc_periph 17 |
number for GPIOs. | |
#define | PCB_lpc_periph 18 |
number for the Pin Connect block. | |
#define | I2C1_lpc_periph 19 |
number for I2C1. | |
#define | LCD_lpc_periph 20 |
#define | ADC1_lpc_periph 20 |
#define | SSP0_lpc_periph 21 |
number for SSP0. | |
#define | TIMER2_lpc_periph 22 |
number for TIMER2 | |
#define | TIMER3_lpc_periph 23 |
number for TIMER3. | |
#define | UART2_lpc_periph 24 |
number for UART2 | |
#define | UART3_lpc_periph 25 |
number for UART3. | |
#define | I2C2_lpc_periph 26 |
number for I2C2. | |
#define | I2S_lpc_periph 27 |
number for I2S. | |
#define | MCI_lpc_periph 28 |
number for MCI. | |
#define | GPDMA_lpc_periph 29 |
#define | ENET_lpc_periph 30 |
#define | SYSCON_lpc_periph 30 |
number for the System Control | |
#define | USB_lpc_periph 31 |
number for USB | |
#define | PLCK_divider_4 0 |
#define | PLCK_divider_1 1 |
#define | PLCK_divider_2 2 |
#define | PLCK_divider_8 3 /* sometime it is 6*/ |
#define | PLCK_divider_6 3 /* sometime it is 8*/ |
#define | LPC2XXX_PLCK_DIVIDER_VALUE(devider_koeff) PLCK_divider_##devider_koeff |
PLCK devider convert division coefficient to value witch goes on multiplexor. | |
#define | PCLK_DIVIDER 4 |
#define | APBDIV_Val LPC2XXX_PLCK_DIVIDER_VALUE(PCLK_DIVIDER) |
#define | F_PCLK_HZ (F_CCLK_HZ/PCLK_DIVIDER) |
Definitions for NXP LPC2xxx PLCLK (peripheral) module and POWERMODI:E.
Definition in file lpc2xxx_pclk.h.
#define ACF_lpc_periph 15 |
number for CAN filtering.
Definition at line 68 of file lpc2xxx_pclk.h.
#define ADC0_lpc_periph ADC_lpc_periph |
number for ADC.0
Definition at line 65 of file lpc2xxx_pclk.h.
#define ADC1_lpc_periph 20 |
Definition at line 75 of file lpc2xxx_pclk.h.
#define ADC_lpc_periph 12 |
number for ADC.
Definition at line 64 of file lpc2xxx_pclk.h.
#define APBDIV_Val LPC2XXX_PLCK_DIVIDER_VALUE(PCLK_DIVIDER) |
Definition at line 137 of file lpc2xxx_pclk.h.
#define BAT_RAM_lpc_periph 16 |
number for the battery supported RAM
Definition at line 70 of file lpc2xxx_pclk.h.
#define CAN1_lpc_periph 13 |
number for CAN1.
Definition at line 66 of file lpc2xxx_pclk.h.
#define CAN2_lpc_periph 14 |
number for CAN2.
Definition at line 67 of file lpc2xxx_pclk.h.
#define DAC_lpc_periph 11 |
number for DAC.
Definition at line 63 of file lpc2xxx_pclk.h.
#define ENET_lpc_periph 30 |
Definition at line 85 of file lpc2xxx_pclk.h.
#define F_PCLK_HZ (F_CCLK_HZ/PCLK_DIVIDER) |
Definition at line 138 of file lpc2xxx_pclk.h.
#define GPDMA_lpc_periph 29 |
Definition at line 84 of file lpc2xxx_pclk.h.
#define GPIO_lpc_periph 17 |
number for GPIOs.
Definition at line 71 of file lpc2xxx_pclk.h.
#define I2C0_lpc_periph 7 |
number for I2C0.
Definition at line 59 of file lpc2xxx_pclk.h.
#define I2C1_lpc_periph 19 |
number for I2C1.
Definition at line 73 of file lpc2xxx_pclk.h.
#define I2C2_lpc_periph 26 |
number for I2C2.
Definition at line 81 of file lpc2xxx_pclk.h.
#define I2S_lpc_periph 27 |
number for I2S.
Definition at line 82 of file lpc2xxx_pclk.h.
#define LCD_lpc_periph 20 |
Definition at line 74 of file lpc2xxx_pclk.h.
#define LPC2XXX_PLCK_DIVIDER_VALUE | ( | devider_koeff | ) | PLCK_divider_##devider_koeff |
PLCK devider convert division coefficient to value witch goes on multiplexor.
Definition at line 112 of file lpc2xxx_pclk.h.
#define MCI_lpc_periph 28 |
number for MCI.
Definition at line 83 of file lpc2xxx_pclk.h.
#define PCB_lpc_periph 18 |
number for the Pin Connect block.
Definition at line 72 of file lpc2xxx_pclk.h.
#define PCLK_DIVIDER 4 |
Definition at line 133 of file lpc2xxx_pclk.h.
#define PLCK_divider_1 1 |
Definition at line 99 of file lpc2xxx_pclk.h.
#define PLCK_divider_2 2 |
Definition at line 100 of file lpc2xxx_pclk.h.
#define PLCK_divider_4 0 |
Definition at line 98 of file lpc2xxx_pclk.h.
#define PLCK_divider_6 3 /* sometime it is 8*/ |
Definition at line 102 of file lpc2xxx_pclk.h.
#define PLCK_divider_8 3 /* sometime it is 6*/ |
Definition at line 101 of file lpc2xxx_pclk.h.
#define PWM0_lpc_periph 5 |
number for PWM0.
Definition at line 57 of file lpc2xxx_pclk.h.
#define PWM1_lpc_periph 6 |
number for PWM1
Definition at line 58 of file lpc2xxx_pclk.h.
#define RTC_lpc_periph 9 |
number for RTC.
Definition at line 61 of file lpc2xxx_pclk.h.
#define SPI_lpc_periph 8 |
number for SPI
Definition at line 60 of file lpc2xxx_pclk.h.
#define SSP0_lpc_periph 21 |
number for SSP0.
Definition at line 76 of file lpc2xxx_pclk.h.
#define SSP1_lpc_periph 10 |
number for SSP1.
Definition at line 62 of file lpc2xxx_pclk.h.
#define SYSCON_lpc_periph 30 |
number for the System Control
Definition at line 86 of file lpc2xxx_pclk.h.
#define TIMER0_lpc_periph 1 |
number for TIMER0.
Definition at line 53 of file lpc2xxx_pclk.h.
#define TIMER1_lpc_periph 2 |
number for TIMER1.
Definition at line 54 of file lpc2xxx_pclk.h.
#define TIMER2_lpc_periph 22 |
number for TIMER2
Definition at line 77 of file lpc2xxx_pclk.h.
#define TIMER3_lpc_periph 23 |
number for TIMER3.
Definition at line 78 of file lpc2xxx_pclk.h.
#define UART0_lpc_periph 3 |
number for UART0.
Definition at line 55 of file lpc2xxx_pclk.h.
#define UART1_lpc_periph 4 |
number for UART1.
Definition at line 56 of file lpc2xxx_pclk.h.
#define UART2_lpc_periph 24 |
number for UART2
Definition at line 79 of file lpc2xxx_pclk.h.
#define UART3_lpc_periph 25 |
number for UART3.
Definition at line 80 of file lpc2xxx_pclk.h.
#define USB_lpc_periph 31 |
number for USB
Definition at line 87 of file lpc2xxx_pclk.h.
#define WDT_lpc_periph 0 |
number for WDT.
Definition at line 52 of file lpc2xxx_pclk.h.