Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
IO_Config.h
00001 /** 00002 * @file IO_Config.h 00003 * @brief 00004 * 00005 * DAPLink Interface Firmware 00006 * Copyright (c) 2009-2016, ARM Limited, All Rights Reserved 00007 * SPDX-License-Identifier: Apache-2.0 00008 * 00009 * Licensed under the Apache License, Version 2.0 (the "License"); you may 00010 * not use this file except in compliance with the License. 00011 * You may obtain a copy of the License at 00012 * 00013 * http://www.apache.org/licenses/LICENSE-2.0 00014 * 00015 * Unless required by applicable law or agreed to in writing, software 00016 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 00017 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00018 * See the License for the specific language governing permissions and 00019 * limitations under the License. 00020 */ 00021 00022 #include "max32620.h" 00023 00024 #ifndef __IO_CONFIG_H__ 00025 #define __IO_CONFIG_H__ 00026 00027 // DAP LED 00028 #define PIN_DAP_LED_PORT 4 00029 #define PIN_DAP_LED_PIN 2 00030 00031 // MSD LED 00032 #define PIN_MSD_LED_PORT 4 00033 #define PIN_MSD_LED_PIN 0 00034 00035 // CDC LED 00036 #define PIN_CDC_LED_PORT 4 00037 #define PIN_CDC_LED_PIN 1 00038 00039 // Non-Forwarded Reset In Pin 00040 #define PIN_RESET_IN_NO_FWRD_PORT 5 00041 #define PIN_RESET_IN_NO_FWRD_PIN 0 00042 00043 #define TRGT_PORT 1 00044 #define SRST_PIN 0 00045 #define RSTN_PIN 1 00046 #define TDI_PIN 2 00047 #define TCK_PIN 3 00048 #define TMS_PIN 4 00049 #define TDO_PIN 5 00050 #define VDDIO_PIN 6 00051 00052 #define BUFFEN_PORT 6 00053 #define BUFFEN_PIN 0 00054 00055 #define SWCLK_PIN TCK_PIN 00056 #define SWDIO_PIN TMS_PIN 00057 00058 #define MXC_E_GPIO_OUT_MODE_TRISTATE 0 00059 #define MXC_E_GPIO_OUT_MODE_OPEN_DRAIN_W_PULLUP 2 00060 #define MXC_E_GPIO_OUT_MODE_NORMAL 5 00061 00062 #endif
Generated on Tue Jul 12 2022 15:37:19 by
