Watchdog Timer
Fork of mbed-src by
targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/PeripheralPins.c@619:484341a108bc, 2015-09-04 (annotated)
- Committer:
- mbed_official
- Date:
- Fri Sep 04 08:45:09 2015 +0100
- Revision:
- 619:484341a108bc
- Parent:
- 363:12a245e5c745
Synchronized with git revision a412b49ac52f8002fb8f35dd143db771675e8d88
Full URL: https://github.com/mbedmicro/mbed/commit/a412b49ac52f8002fb8f35dd143db771675e8d88/
Fixed linker script for LPCXpresso for EA LPC11U35 QuickStart Board
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 363:12a245e5c745 | 1 | /* mbed Microcontroller Library |
mbed_official | 363:12a245e5c745 | 2 | * Copyright (c) 2006-2013 ARM Limited |
mbed_official | 363:12a245e5c745 | 3 | * |
mbed_official | 363:12a245e5c745 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
mbed_official | 363:12a245e5c745 | 5 | * you may not use this file except in compliance with the License. |
mbed_official | 363:12a245e5c745 | 6 | * You may obtain a copy of the License at |
mbed_official | 363:12a245e5c745 | 7 | * |
mbed_official | 363:12a245e5c745 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
mbed_official | 363:12a245e5c745 | 9 | * |
mbed_official | 363:12a245e5c745 | 10 | * Unless required by applicable law or agreed to in writing, software |
mbed_official | 363:12a245e5c745 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
mbed_official | 363:12a245e5c745 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
mbed_official | 363:12a245e5c745 | 13 | * See the License for the specific language governing permissions and |
mbed_official | 363:12a245e5c745 | 14 | * limitations under the License. |
mbed_official | 363:12a245e5c745 | 15 | */ |
mbed_official | 363:12a245e5c745 | 16 | |
mbed_official | 363:12a245e5c745 | 17 | #include "PeripheralPins.h" |
mbed_official | 363:12a245e5c745 | 18 | |
mbed_official | 363:12a245e5c745 | 19 | /************RTC***************/ |
mbed_official | 363:12a245e5c745 | 20 | const PinMap PinMap_RTC[] = { |
mbed_official | 619:484341a108bc | 21 | {NC, OSC32KCLK, 0}, |
mbed_official | 363:12a245e5c745 | 22 | }; |
mbed_official | 363:12a245e5c745 | 23 | |
mbed_official | 363:12a245e5c745 | 24 | /************ADC***************/ |
mbed_official | 363:12a245e5c745 | 25 | const PinMap PinMap_ADC[] = { |
mbed_official | 363:12a245e5c745 | 26 | {PTE20, ADC0_SE0, 0}, |
mbed_official | 363:12a245e5c745 | 27 | {PTE22, ADC0_SE3, 0}, |
mbed_official | 363:12a245e5c745 | 28 | {PTE21, ADC0_SE4a, 0}, |
mbed_official | 363:12a245e5c745 | 29 | {PTE29, ADC0_SE4b, 0}, |
mbed_official | 363:12a245e5c745 | 30 | {PTE30, ADC0_SE23, 0}, |
mbed_official | 363:12a245e5c745 | 31 | {PTE23, ADC0_SE7a, 0}, |
mbed_official | 363:12a245e5c745 | 32 | {PTB0, ADC0_SE8, 0}, |
mbed_official | 363:12a245e5c745 | 33 | {PTB1, ADC0_SE9, 0}, |
mbed_official | 363:12a245e5c745 | 34 | {PTB2, ADC0_SE12, 0}, |
mbed_official | 363:12a245e5c745 | 35 | {PTB3, ADC0_SE13, 0}, |
mbed_official | 363:12a245e5c745 | 36 | {PTC0, ADC0_SE14, 0}, |
mbed_official | 363:12a245e5c745 | 37 | {PTC1, ADC0_SE15, 0}, |
mbed_official | 363:12a245e5c745 | 38 | {PTC2, ADC0_SE11, 0}, |
mbed_official | 363:12a245e5c745 | 39 | {PTD1, ADC0_SE5b, 0}, |
mbed_official | 363:12a245e5c745 | 40 | {PTD5, ADC0_SE6b, 0}, |
mbed_official | 363:12a245e5c745 | 41 | {PTD6, ADC0_SE7b, 0}, |
mbed_official | 363:12a245e5c745 | 42 | {NC, NC, 0} |
mbed_official | 363:12a245e5c745 | 43 | }; |
mbed_official | 363:12a245e5c745 | 44 | |
mbed_official | 363:12a245e5c745 | 45 | /************DAC***************/ |
mbed_official | 363:12a245e5c745 | 46 | const PinMap PinMap_DAC[] = { |
mbed_official | 363:12a245e5c745 | 47 | {PTE30, DAC_0, 0}, |
mbed_official | 363:12a245e5c745 | 48 | {NC , NC , 0} |
mbed_official | 363:12a245e5c745 | 49 | }; |
mbed_official | 363:12a245e5c745 | 50 | |
mbed_official | 363:12a245e5c745 | 51 | /************I2C***************/ |
mbed_official | 363:12a245e5c745 | 52 | const PinMap PinMap_I2C_SDA[] = { |
mbed_official | 363:12a245e5c745 | 53 | {PTA4, I2C_0, 2}, |
mbed_official | 363:12a245e5c745 | 54 | {PTB1, I2C_0, 2}, |
mbed_official | 363:12a245e5c745 | 55 | {PTB3, I2C_0, 2}, |
mbed_official | 363:12a245e5c745 | 56 | {PTC2, I2C_1, 2}, |
mbed_official | 363:12a245e5c745 | 57 | {PTE0, I2C_1, 6}, |
mbed_official | 363:12a245e5c745 | 58 | {PTE25, I2C_0, 5}, |
mbed_official | 363:12a245e5c745 | 59 | {NC , NC , 0} |
mbed_official | 363:12a245e5c745 | 60 | }; |
mbed_official | 363:12a245e5c745 | 61 | |
mbed_official | 363:12a245e5c745 | 62 | const PinMap PinMap_I2C_SCL[] = { |
mbed_official | 363:12a245e5c745 | 63 | {PTA3, I2C_0, 2}, |
mbed_official | 363:12a245e5c745 | 64 | {PTB0, I2C_0, 2}, |
mbed_official | 363:12a245e5c745 | 65 | {PTB2, I2C_0, 2}, |
mbed_official | 363:12a245e5c745 | 66 | {PTC1, I2C_1, 2}, |
mbed_official | 363:12a245e5c745 | 67 | {PTE1, I2C_1, 6}, |
mbed_official | 363:12a245e5c745 | 68 | {PTE24, I2C_0, 5}, |
mbed_official | 363:12a245e5c745 | 69 | {NC , NC, 0} |
mbed_official | 363:12a245e5c745 | 70 | }; |
mbed_official | 363:12a245e5c745 | 71 | |
mbed_official | 363:12a245e5c745 | 72 | /************UART***************/ |
mbed_official | 363:12a245e5c745 | 73 | const PinMap PinMap_UART_TX[] = { |
mbed_official | 363:12a245e5c745 | 74 | {PTA2, UART_0, 2}, |
mbed_official | 363:12a245e5c745 | 75 | {PTA19, UART_1, 3}, |
mbed_official | 363:12a245e5c745 | 76 | {PTB17, UART_0, 3}, |
mbed_official | 363:12a245e5c745 | 77 | {PTD3, UART_2, 3}, |
mbed_official | 363:12a245e5c745 | 78 | {PTD5, UART_2, 3}, |
mbed_official | 363:12a245e5c745 | 79 | {PTD7, UART_0, 3}, |
mbed_official | 363:12a245e5c745 | 80 | {PTE0, UART_1, 3}, |
mbed_official | 363:12a245e5c745 | 81 | {PTE20, UART_0, 4}, |
mbed_official | 363:12a245e5c745 | 82 | {PTE22, UART_2, 4}, |
mbed_official | 363:12a245e5c745 | 83 | {PTE30, UART_1, 5}, |
mbed_official | 363:12a245e5c745 | 84 | {NC , NC , 0} |
mbed_official | 363:12a245e5c745 | 85 | }; |
mbed_official | 363:12a245e5c745 | 86 | |
mbed_official | 363:12a245e5c745 | 87 | const PinMap PinMap_UART_RX[] = { |
mbed_official | 363:12a245e5c745 | 88 | {PTA1, UART_0, 2}, |
mbed_official | 363:12a245e5c745 | 89 | {PTA18, UART_1, 3}, |
mbed_official | 363:12a245e5c745 | 90 | {PTB16, UART_0, 3}, |
mbed_official | 363:12a245e5c745 | 91 | {PTC3, UART_1, 3}, |
mbed_official | 363:12a245e5c745 | 92 | {PTD2, UART_2, 3}, |
mbed_official | 363:12a245e5c745 | 93 | {PTD4, UART_2, 3}, |
mbed_official | 363:12a245e5c745 | 94 | {PTD6, UART_0, 3}, |
mbed_official | 363:12a245e5c745 | 95 | {PTE1, UART_1, 3}, |
mbed_official | 363:12a245e5c745 | 96 | {PTE21, UART_0, 4}, |
mbed_official | 363:12a245e5c745 | 97 | {PTE23, UART_2, 4}, |
mbed_official | 363:12a245e5c745 | 98 | {NC , NC , 0} |
mbed_official | 363:12a245e5c745 | 99 | }; |
mbed_official | 363:12a245e5c745 | 100 | |
mbed_official | 363:12a245e5c745 | 101 | /************SPI***************/ |
mbed_official | 363:12a245e5c745 | 102 | const PinMap PinMap_SPI_SCLK[] = { |
mbed_official | 363:12a245e5c745 | 103 | {PTC3, SPI_1, 2}, |
mbed_official | 363:12a245e5c745 | 104 | {PTC5, SPI_0, 2}, |
mbed_official | 363:12a245e5c745 | 105 | {PTD1, SPI_0, 2}, |
mbed_official | 363:12a245e5c745 | 106 | {PTD5, SPI_1, 2}, |
mbed_official | 363:12a245e5c745 | 107 | {NC , NC , 0} |
mbed_official | 363:12a245e5c745 | 108 | }; |
mbed_official | 363:12a245e5c745 | 109 | |
mbed_official | 363:12a245e5c745 | 110 | const PinMap PinMap_SPI_MOSI[] = { |
mbed_official | 363:12a245e5c745 | 111 | {PTB16, SPI_1, 2}, |
mbed_official | 363:12a245e5c745 | 112 | {PTB17, SPI_1, 5}, |
mbed_official | 363:12a245e5c745 | 113 | {PTC6, SPI_0, 2}, |
mbed_official | 363:12a245e5c745 | 114 | {PTC7, SPI_0, 5}, |
mbed_official | 363:12a245e5c745 | 115 | {PTD2, SPI_0, 2}, |
mbed_official | 363:12a245e5c745 | 116 | {PTD3, SPI_0, 5}, |
mbed_official | 363:12a245e5c745 | 117 | {PTD6, SPI_1, 2}, |
mbed_official | 363:12a245e5c745 | 118 | {PTD7, SPI_1, 5}, |
mbed_official | 363:12a245e5c745 | 119 | {PTE1, SPI_1, 2}, |
mbed_official | 363:12a245e5c745 | 120 | {NC , NC , 0} |
mbed_official | 363:12a245e5c745 | 121 | }; |
mbed_official | 363:12a245e5c745 | 122 | |
mbed_official | 363:12a245e5c745 | 123 | const PinMap PinMap_SPI_MISO[] = { |
mbed_official | 363:12a245e5c745 | 124 | {PTB16, SPI_1, 5}, |
mbed_official | 363:12a245e5c745 | 125 | {PTB17, SPI_1, 2}, |
mbed_official | 363:12a245e5c745 | 126 | {PTC6, SPI_0, 5}, |
mbed_official | 363:12a245e5c745 | 127 | {PTC7, SPI_0, 2}, |
mbed_official | 363:12a245e5c745 | 128 | {PTD2, SPI_0, 5}, |
mbed_official | 363:12a245e5c745 | 129 | {PTD3, SPI_0, 2}, |
mbed_official | 363:12a245e5c745 | 130 | {PTD6, SPI_1, 5}, |
mbed_official | 363:12a245e5c745 | 131 | {PTD7, SPI_1, 2}, |
mbed_official | 363:12a245e5c745 | 132 | {PTE0, SPI_1, 2}, |
mbed_official | 363:12a245e5c745 | 133 | {PTE1, SPI_1, 5}, |
mbed_official | 363:12a245e5c745 | 134 | {NC , NC , 0} |
mbed_official | 363:12a245e5c745 | 135 | }; |
mbed_official | 363:12a245e5c745 | 136 | |
mbed_official | 363:12a245e5c745 | 137 | const PinMap PinMap_SPI_SSEL[] = { |
mbed_official | 363:12a245e5c745 | 138 | {PTC4, SPI_0, 2}, |
mbed_official | 363:12a245e5c745 | 139 | {PTD0, SPI_0, 2}, |
mbed_official | 363:12a245e5c745 | 140 | {PTD4, SPI_1, 2}, |
mbed_official | 363:12a245e5c745 | 141 | {NC , NC , 0} |
mbed_official | 363:12a245e5c745 | 142 | }; |
mbed_official | 363:12a245e5c745 | 143 | |
mbed_official | 363:12a245e5c745 | 144 | /************PWM***************/ |
mbed_official | 363:12a245e5c745 | 145 | const PinMap PinMap_PWM[] = { |
mbed_official | 363:12a245e5c745 | 146 | {PTA0, PWM_6, 3}, // PTA0 , TPM0 CH5 |
mbed_official | 363:12a245e5c745 | 147 | {PTA1, PWM_9 , 3}, // PTA1 , TPM2 CH0 |
mbed_official | 363:12a245e5c745 | 148 | {PTA2, PWM_10, 3}, // PTA2 , TPM2 CH1 |
mbed_official | 363:12a245e5c745 | 149 | {PTA3, PWM_1, 3}, // PTA3 , TPM0 CH0 |
mbed_official | 363:12a245e5c745 | 150 | {PTA4, PWM_2 , 3}, // PTA4 , TPM0 CH1 |
mbed_official | 363:12a245e5c745 | 151 | {PTA5, PWM_3 , 3}, // PTA5 , TPM0 CH2 |
mbed_official | 363:12a245e5c745 | 152 | {PTA12, PWM_7 , 3}, // PTA12, TPM1 CH0 |
mbed_official | 363:12a245e5c745 | 153 | {PTA13, PWM_8 , 3}, // PTA13, TPM1 CH1 |
mbed_official | 363:12a245e5c745 | 154 | |
mbed_official | 363:12a245e5c745 | 155 | {PTB0, PWM_7, 3}, // PTB0 , TPM1 CH0 |
mbed_official | 363:12a245e5c745 | 156 | {PTB1, PWM_8, 3}, // PTB1 , TPM1 CH1 |
mbed_official | 363:12a245e5c745 | 157 | {PTB2, PWM_9, 3}, // PTB2 , TPM2 CH0 |
mbed_official | 363:12a245e5c745 | 158 | {PTB3, PWM_10, 3}, // PTB3 , TPM2 CH1 |
mbed_official | 363:12a245e5c745 | 159 | {PTB18, PWM_9, 3}, // PTB18, TPM2 CH0 |
mbed_official | 363:12a245e5c745 | 160 | {PTB19, PWM_10, 3}, // PTB18, TPM2 CH1 |
mbed_official | 363:12a245e5c745 | 161 | |
mbed_official | 363:12a245e5c745 | 162 | {PTC1, PWM_1, 4}, // PTC1 , TPM0 CH0 |
mbed_official | 363:12a245e5c745 | 163 | {PTC2, PWM_2, 4}, // PTC2 , TPM0 CH1 |
mbed_official | 363:12a245e5c745 | 164 | {PTC3, PWM_3, 4}, // PTC3 , TPM0 CH2 |
mbed_official | 363:12a245e5c745 | 165 | {PTC4, PWM_4, 4}, // PTC4 , TPM0 CH3 |
mbed_official | 363:12a245e5c745 | 166 | |
mbed_official | 363:12a245e5c745 | 167 | {PTD0, PWM_1 , 4}, // PTD0 , TPM0 CH0 |
mbed_official | 363:12a245e5c745 | 168 | {PTD1, PWM_2 , 4}, // PTD0 , TPM0 CH1 |
mbed_official | 363:12a245e5c745 | 169 | {PTD2, PWM_3 , 4}, // PTD2 , TPM0 CH2 |
mbed_official | 363:12a245e5c745 | 170 | {PTD3, PWM_4 , 4}, // PTD3 , TPM0 CH3 |
mbed_official | 363:12a245e5c745 | 171 | {PTD4, PWM_5 , 4}, // PTD4 , TPM0 CH4 |
mbed_official | 363:12a245e5c745 | 172 | {PTD5, PWM_6 , 4}, // PTD5 , TPM0 CH5 |
mbed_official | 363:12a245e5c745 | 173 | |
mbed_official | 363:12a245e5c745 | 174 | {PTE20, PWM_7, 3}, // PTE20, TPM1 CH0 |
mbed_official | 363:12a245e5c745 | 175 | {PTE21, PWM_8, 3}, // PTE21, TPM1 CH1 |
mbed_official | 363:12a245e5c745 | 176 | {PTE22, PWM_9, 3}, // PTE22, TPM2 CH0 |
mbed_official | 363:12a245e5c745 | 177 | {PTE23, PWM_10, 3}, // PTE23, TPM2 CH1 |
mbed_official | 363:12a245e5c745 | 178 | {PTE24, PWM_1, 3}, // PTE24, TPM0 CH0 |
mbed_official | 363:12a245e5c745 | 179 | {PTE25, PWM_2, 3}, // PTE25, TPM0 CH1 |
mbed_official | 363:12a245e5c745 | 180 | {PTE29, PWM_3, 3}, // PTE29, TPM0 CH2 |
mbed_official | 363:12a245e5c745 | 181 | {PTE30, PWM_4, 3}, // PTE30, TPM0 CH3 |
mbed_official | 363:12a245e5c745 | 182 | {PTE31, PWM_5, 3}, // PTE31, TPM0 CH4 |
mbed_official | 363:12a245e5c745 | 183 | {NC , NC, 0} |
mbed_official | 363:12a245e5c745 | 184 | }; |