This file provides code for the configuration of the SPI instances. More...
#include "spi.h"Functions | |
| void | MX_SPI2_Init (void) |
| void | HAL_SPI_MspInit (SPI_HandleTypeDef *spiHandle) |
| void | HAL_SPI_MspDeInit (SPI_HandleTypeDef *spiHandle) |
Variables | |
| SPI_HandleTypeDef | hspi2 |
This file provides code for the configuration of the SPI instances.
Copyright (c) 2024 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.
| void HAL_SPI_MspDeInit | ( | SPI_HandleTypeDef * | spiHandle | ) |
SPI2 GPIO Configuration PB12 ------> SPI2_NSS PB13 ------> SPI2_SCK PB14 ------> SPI2_MISO PB15 ------> SPI2_MOSI
| void HAL_SPI_MspInit | ( | SPI_HandleTypeDef * | spiHandle | ) |
SPI2 GPIO Configuration PB12 ------> SPI2_NSS PB13 ------> SPI2_SCK PB14 ------> SPI2_MISO PB15 ------> SPI2_MOSI
| void MX_SPI2_Init | ( | void | ) |
| SPI_HandleTypeDef hspi2 |