Gunar Kroeger / Mbed OS AcusticLocator
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.h Source File

main.h

00001 /* Define to prevent recursive inclusion -------------------------------------*/
00002 #ifndef __MAIN_H
00003 #define __MAIN_H
00004   /* Includes ------------------------------------------------------------------*/
00005 
00006 /* Includes ------------------------------------------------------------------*/
00007 /* USER CODE BEGIN Includes */
00008 
00009 /* USER CODE END Includes */
00010 
00011 /* Private define ------------------------------------------------------------*/
00012 
00013 #define B1_Pin GPIO_PIN_13
00014 #define B1_GPIO_Port GPIOC
00015 #define USART_TX_Pin GPIO_PIN_2
00016 #define USART_TX_GPIO_Port GPIOA
00017 #define USART_RX_Pin GPIO_PIN_3
00018 #define USART_RX_GPIO_Port GPIOA
00019 #define LD2_Pin GPIO_PIN_5
00020 #define LD2_GPIO_Port GPIOA
00021 #define TMS_Pin GPIO_PIN_13
00022 #define TMS_GPIO_Port GPIOA
00023 #define TCK_Pin GPIO_PIN_14
00024 #define TCK_GPIO_Port GPIOA
00025 #define SWO_Pin GPIO_PIN_3
00026 #define SWO_GPIO_Port GPIOB
00027 
00028 /* ########################## Assert Selection ############################## */
00029 /**
00030   * @brief Uncomment the line below to expanse the "assert_param" macro in the 
00031   *        HAL drivers code
00032   */
00033 /* #define USE_FULL_ASSERT    1U */
00034 
00035 /* USER CODE BEGIN Private defines */
00036 
00037 /* USER CODE END Private defines */
00038 
00039 #ifdef __cplusplus
00040  extern "C" {
00041 #endif
00042 void _Error_Handler(const char *, int);
00043 
00044 #define Error_Handler() _Error_Handler(__FILE__, __LINE__)
00045 #ifdef __cplusplus
00046 }
00047 #endif
00048 
00049 /**
00050   * @}
00051   */ 
00052 
00053 /**
00054   * @}
00055 */ 
00056 
00057 #endif /* __MAIN_H */
00058 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/