CQ_KIT_Ver1_5

Dependencies:   mbed RateLimiter BLDCmotorDriverCQ_KIT_Ver1_5

Revision:
2:4ae769d0b112
Child:
10:5fbe1476624c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/X_NUCLEO_IHM07M1/x_nucleo_ihm07m1_targets.h	Wed Oct 12 13:15:03 2016 +0000
@@ -0,0 +1,51 @@
+/* mbed Microcontroller Library
+* Copyright (c) 2006-2016 ARM Limited
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*     http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/**
+  ******************************************************************************
+  * @file    x_nucleo_ihm07m1_targets.h 
+  * @author  STMicroelectronics
+  * @brief   Header file with pin definitions for X-NUCLEO-IHM07M1 board
+  ******************************************************************************
+  * @copy
+  *
+  * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
+  * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
+  * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
+  * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
+  * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
+  * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
+  *
+  * <h2><center>&copy; COPYRIGHT 2016 STMicroelectronics</center></h2>
+  */ 
+
+/* Define to prevent from recursive inclusion --------------------------------*/
+#ifndef __X_NUCLEO_IHM07M1_TARGETS_H_
+#define __X_NUCLEO_IHM07M1_TARGETS_H_
+
+// Default pin configuration for X-NUCLEO-IHM07M1 with STM32 Nucleo boards
+#define P_IN1 PA_8
+#define P_IN2 PA_9
+#define P_IN3 PA_10
+#define P_EN1 PC_10
+#define P_EN2 PC_11
+#define P_EN3 PC_12
+#define P_HALL1 PA_15
+#define P_HALL2 PB_3
+#define P_HALL3 PB_10
+#define P_FAULT PB_2
+
+#endif // __X_NUCLEO_IHM07M1_TARGETS_H_