]>
git.gir.st - tmk_keyboard.git/blob - tool/mbed/mbed-sdk/libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/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
[] = {
40 {PTB13
, ADC0_SE13
, 0},
44 /************DAC***************/
45 const PinMap PinMap_DAC
[] = {
50 /************I2C***************/
51 const PinMap PinMap_I2C_SDA
[] = {
58 const PinMap PinMap_I2C_SCL
[] = {
64 /************UART***************/
65 const PinMap PinMap_UART_TX
[] = {
72 const PinMap PinMap_UART_RX
[] = {
79 /************SPI***************/
80 const PinMap PinMap_SPI_SCLK
[] = {
86 const PinMap PinMap_SPI_MOSI
[] = {
93 const PinMap PinMap_SPI_MISO
[] = {
101 const PinMap PinMap_SPI_SSEL
[] = {
107 /************PWM***************/
108 const PinMap PinMap_PWM
[] = {
109 {PTA0
, PWM_7
, 2}, // PTA0 , TPM1 CH0
110 {PTA5
, PWM_6
, 2}, // PTA5 , TPM0 CH5
111 {PTA6
, PWM_5
, 2}, // PTA6 , TPM0 CH4
112 {PTA12
, PWM_7
, 2}, // PTA12, TPM1 CH0
114 {PTB5
, PWM_8
, 2}, // PTB5 , TPM1 CH1
115 {PTB6
, PWM_4
, 2}, // PTB6 , TPM0 CH3
116 {PTB7
, PWM_3
, 2}, // PTB7 , TPM0 CH2
117 {PTB8
, PWM_4
, 2}, // PTB8 , TPM0 CH3
118 {PTB9
, PWM_3
, 2}, // PTB9 , TPM0 CH2
119 {PTB10
, PWM_2
, 2}, // PTB10 , TPM0 CH1
120 {PTB11
, PWM_1
, 2}, // PTB11 , TPM0 CH0
121 {PTB13
, PWM_8
, 2}, // PTB13 , TPM1 CH1