semf
stm32spicallbacks.cpp
Go to the documentation of this file.
1
12
13#if defined(STM32) && defined(HAL_SPI_MODULE_ENABLED)
14extern "C"
15void HAL_SPI_RxCpltCallback(SPI_HandleTypeDef* hspi)
16{
19}
20extern "C"
21void HAL_SPI_TxCpltCallback(SPI_HandleTypeDef* hspi)
22{
25}
26extern "C"
27void HAL_SPI_TxRxCpltCallback(SPI_HandleTypeDef* hspi)
28{
31}
32extern "C"
33void HAL_SPI_ErrorCallback(SPI_HandleTypeDef* hspi)
34{
37}
38extern "C"
39void HAL_SPI_AbortCpltCallback(SPI_HandleTypeDef* hspi)
40{
43}
44#endif
static void systemIsrWrittenAndRead(SPI_HandleTypeDef &spi)
System-wide interrupt service routine for spi receive and transmit.
static void systemIsrError(SPI_HandleTypeDef &spi)
System-wide interrupt service routine for spi error.
static void systemIsrWritten(SPI_HandleTypeDef &spi)
System-wide interrupt service routine for spi transmit.
static void systemIsrRead(SPI_HandleTypeDef &spi)
System-wide interrupt service routine for spi receive.
static void systemIsrAbort(SPI_HandleTypeDef &spi)
System-wide interrupt service routine for spi abort.
static void systemIsrWrittenAndRead(SPI_HandleTypeDef &hwHandle)
Handles the global receive transmit complete callback.
static void systemIsrError(SPI_HandleTypeDef &hwHandle)
Handles the global error callback.
static void systemIsrAbort(SPI_HandleTypeDef &hwHandle)
Handles the global abort callback.
static void systemIsrRead(SPI_HandleTypeDef &hwHandle)
Handles the global receive complete callback.
static void systemIsrWritten(SPI_HandleTypeDef &hwHandle)
Handles the global transmit complete callback.
void HAL_SPI_TxRxCpltCallback(SPI_HandleTypeDef *hspi)
void HAL_SPI_TxCpltCallback(SPI_HandleTypeDef *hspi)
void HAL_SPI_ErrorCallback(SPI_HandleTypeDef *hspi)
void HAL_SPI_RxCpltCallback(SPI_HandleTypeDef *hspi)
void HAL_SPI_AbortCpltCallback(SPI_HandleTypeDef *hspi)