|
L14-Click 1.0
STM32WLE5CC LoRaWAN Sensor Platform
|
This file contains all the function prototypes for the spi.c file. More...
#include "main.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 | MX_SPI1_DeInit (void) |
| 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. | |
Variables | |
| SPI_HandleTypeDef | hspi1 |
This file contains all the function prototypes for the spi.c file.
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.h.
| void MX_SPI1_DeInit | ( | void | ) |
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.
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().
|
extern |
Definition at line 27 of file spi.c.
Referenced by MX_SPI1_DeInit(), and MX_SPI1_Init().