BME280 Driver 2.0.x
Driver for BME280 sensor
Loading...
Searching...
No Matches
spi.c File Reference

This file provides code for the configuration of the SPI instances. More...

#include "spi.h"
Include dependency graph for spi.c:

Functions

void MX_SPI1_Init (void)
 
void HAL_SPI_MspInit (SPI_HandleTypeDef *spiHandle)
 
void HAL_SPI_MspDeInit (SPI_HandleTypeDef *spiHandle)
 

Variables

SPI_HandleTypeDef hspi1
 

Detailed Description

This file provides code for the configuration of the SPI instances.

Attention

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.

Function Documentation

◆ HAL_SPI_MspDeInit()

void HAL_SPI_MspDeInit ( SPI_HandleTypeDef *  spiHandle)

SPI1 GPIO Configuration PA5 ---—> SPI1_SCK PA6 ---—> SPI1_MISO PA7 ---—> SPI1_MOSI

◆ HAL_SPI_MspInit()

void HAL_SPI_MspInit ( SPI_HandleTypeDef *  spiHandle)

SPI1 GPIO Configuration PA5 ---—> SPI1_SCK PA6 ---—> SPI1_MISO PA7 ---—> SPI1_MOSI