BME280 Driver 2.0.x
Driver for BME280 sensor
|
This file provides code for the configuration of the SPI instances. More...
#include "spi.h"
Functions | |
void | MX_SPI1_Init (void) |
void | HAL_SPI_MspInit (SPI_HandleTypeDef *spiHandle) |
void | HAL_SPI_MspDeInit (SPI_HandleTypeDef *spiHandle) |
Variables | |
SPI_HandleTypeDef | hspi1 |
This file provides code for the configuration of the SPI instances.
Copyright (c) 2023 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 | ) |
SPI1 GPIO Configuration PA5 ---—> SPI1_SCK PA6 ---—> SPI1_MISO PA7 ---—> SPI1_MOSI
void HAL_SPI_MspInit | ( | SPI_HandleTypeDef * | spiHandle | ) |
SPI1 GPIO Configuration PA5 ---—> SPI1_SCK PA6 ---—> SPI1_MISO PA7 ---—> SPI1_MOSI