/** ****************************************************************************** * @file SPI/SPI_FullDuplex_AdvComIT/Slave/Inc/main.h * @author MCD Application Team * @brief Header for main.c module ****************************************************************************** * @attention * * Copyright (c) 2017 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file * in the root directory of this software component. * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** *//* ... *//* Define to prevent recursive inclusion -------------------------------------*/#ifndef__MAIN_H#define__MAIN_H/* Includes ------------------------------------------------------------------*/#include"stm32f4_discovery.h"Includes/* Exported types ------------------------------------------------------------*//* Exported constants --------------------------------------------------------*//* User can use this section to tailor SPIx instance used and associated resources *//* ... *//* Definition for SPIx clock resources */#defineSPIxSPI2#defineSPIx_CLK_ENABLE()__HAL_RCC_SPI2_CLK_ENABLE()#defineSPIx_SCK_GPIO_CLK_ENABLE()__HAL_RCC_GPIOB_CLK_ENABLE()#defineSPIx_MISO_GPIO_CLK_ENABLE()__HAL_RCC_GPIOB_CLK_ENABLE()#defineSPIx_MOSI_GPIO_CLK_ENABLE()__HAL_RCC_GPIOB_CLK_ENABLE()#defineSPIx_FORCE_RESET()__HAL_RCC_SPI2_FORCE_RESET()#defineSPIx_RELEASE_RESET()__HAL_RCC_SPI2_RELEASE_RESET()/* Definition for SPIx Pins */#defineSPIx_SCK_PINGPIO_PIN_13#defineSPIx_SCK_GPIO_PORTGPIOB#defineSPIx_SCK_AFGPIO_AF5_SPI2#defineSPIx_MISO_PINGPIO_PIN_14#defineSPIx_MISO_GPIO_PORTGPIOB#defineSPIx_MISO_AFGPIO_AF5_SPI2#defineSPIx_MOSI_PINGPIO_PIN_15#defineSPIx_MOSI_GPIO_PORTGPIOB#defineSPIx_MOSI_AFGPIO_AF5_SPI2/* Definition for SPIx's NVIC */#defineSPIx_IRQnSPI2_IRQn#defineSPIx_IRQHandlerSPI2_IRQHandler18 definesExported constants/* Exported macro ------------------------------------------------------------*//* Exported functions ------------------------------------------------------- *//* ... */#endif/* __MAIN_H */
Details
Show: from
Types: Columns:
All items filtered out
All items filtered out
This file uses the notable symbols shown below. Click anywhere in the file to view more details.