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.
board.h
00001 /*! 00002 * \file 00003 * \copyright Copyright (C) Xsens Technologies B.V., 2015. 00004 * 00005 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 00006 * use this file except in compliance with the License. You may obtain a copy 00007 * of the License at 00008 * 00009 * http://www.apache.org/licenses/LICENSE-2.0 00010 * 00011 * Unless required by applicable law or agreed to in writing, software 00012 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 00013 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 00014 * License for the specific language governing permissions and limitations 00015 * under the License. 00016 */ 00017 #ifndef BOARD_H 00018 #define BOARD_H 00019 #include "mbed.h" 00020 00021 #if defined(TARGET_NUCLEO_F401RE) 00022 00023 #define MT_DRDY PB_3 00024 #define MT_RESET PC_9 00025 00026 // Uart connection with the PC: 00027 #define PC_TX PA_2 00028 #define PC_RX PA_3 00029 00030 // SPI connection with the module: 00031 #define MT_SCLK PB_13 00032 #define MT_MISO PB_14 00033 #define MT_MOSI PB_15 00034 #define MT_nCS PB_6 00035 00036 // I2C connection with the module: 00037 #define MT_SCL PB_8 00038 #define MT_SDA PB_9 00039 #define MT_ADD0 PB_13 00040 #define MT_ADD1 PB_14 00041 #define MT_ADD2 PB_15 00042 00043 // UART connection with the module: 00044 #define UART_TX_TO_MODULE PA_9 00045 #define UART_RX_FROM_MODULE PA_10 00046 00047 #else 00048 #error "Support for selected mbed platform has not been added." 00049 #endif // TARGET_NUCLEO_F401RE 00050 00051 #endif // BOARD_H
Generated on Wed Jul 13 2022 07:56:15 by
1.7.2