]>
git.gir.st - tmk_keyboard.git/blob - tmk_core/tool/mbed/mbed-sdk/libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K22F/PeripheralPins.c
1 /* mbed Microcontroller Library
2 * Copyright (c) 2006-2013 ARM Limited
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 #include "PeripheralPins.h"
19 /************RTC***************/
20 const PinMap PinMap_RTC
[] = {
24 /************ADC***************/
25 const PinMap PinMap_ADC
[] = {
30 {PTC10
, ADC1_SE6b
, 0},
32 {PTC11
, ADC1_SE7b
, 0},
34 {PTB0
, ADC0_SE8
, 0},
35 {PTB1
, ADC0_SE9
, 0},
36 {PTB2
, ADC0_SE12
, 0},
37 {PTB3
, ADC0_SE13
, 0},
38 {PTC0
, ADC0_SE14
, 0},
39 {PTB10
, ADC1_SE14
, 0},
40 {PTB11
, ADC1_SE15
, 0},
41 {PTC1
, ADC0_SE15
, 0},
42 {PTA17
, ADC1_SE17
, 0},
43 //{PTE24, ADC0_SE17, 0}, //I2C pull up
44 //{PTE25, ADC0_SE18, 0}, //I2C pull up
48 /************DAC***************/
49 const PinMap PinMap_DAC
[] = {
54 /************I2C***************/
55 const PinMap PinMap_I2C_SDA
[] = {
66 const PinMap PinMap_I2C_SCL
[] = {
77 /************UART***************/
78 const PinMap PinMap_UART_TX
[] = {
89 const PinMap PinMap_UART_RX
[] = {
100 /************SPI***************/
101 const PinMap PinMap_SPI_SCLK
[] = {
111 const PinMap PinMap_SPI_MOSI
[] = {
122 const PinMap PinMap_SPI_MISO
[] = {
133 const PinMap PinMap_SPI_SSEL
[] = {
143 /************PWM***************/
144 const PinMap PinMap_PWM
[] = {