|
L14-Click 1.0
STM32WLE5CC LoRaWAN Sensor Platform
|
This file provides code for the configuration of the SPI instances. More...
#include "spi.h"Go to the source code of this file.
Functions | |
| void | MX_SPI1_Init (void) |
| Initialise SPI1 peripheral (hspi1) as configured by STM32CubeMX. Sets clock polarity/phase, data size, baud-rate prescaler, and NSS management for communication with the AT25EU0041A external flash chip. | |
| void | HAL_SPI_MspInit (SPI_HandleTypeDef *spiHandle) |
| void | HAL_SPI_MspDeInit (SPI_HandleTypeDef *spiHandle) |
| void | MX_SPI1_DeInit (void) |
| Deinitialize SPI1 peripheral for low power mode. | |
Variables | |
| SPI_HandleTypeDef | hspi1 |
This file provides code for the configuration of the SPI instances.
Copyright (c) 2025 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.
Definition in file spi.c.
| void HAL_SPI_MspDeInit | ( | SPI_HandleTypeDef * | spiHandle | ) |
| void HAL_SPI_MspInit | ( | SPI_HandleTypeDef * | spiHandle | ) |
| void MX_SPI1_DeInit | ( | void | ) |
Deinitialize SPI1 peripheral for low power mode.
Deinitialise SPI1 peripheral to reduce current consumption in low-power mode. Call before entering STOP or OFF mode; call MX_SPI1_Init() again after wakeup.
Definition at line 130 of file spi.c.
References hspi1.
Referenced by PWR_EnterOffMode(), and PWR_EnterStopMode().
| void MX_SPI1_Init | ( | void | ) |
Initialise SPI1 peripheral (hspi1) as configured by STM32CubeMX. Sets clock polarity/phase, data size, baud-rate prescaler, and NSS management for communication with the AT25EU0041A external flash chip.
Definition at line 30 of file spi.c.
References Error_Handler(), and hspi1.
Referenced by main(), and PWR_ExitStopMode().
| SPI_HandleTypeDef hspi1 |
Definition at line 27 of file spi.c.
Referenced by MX_SPI1_DeInit(), and MX_SPI1_Init().