RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Macros | Functions
spi-support.c File Reference

This source file contains the shared SPI support code. More...

#include <bsp.h>
#include <bsp/fatal.h>
#include <inttypes.h>
#include <rtems/bspIo.h>
#include <rtems/sysinit.h>
#include <stdio.h>
#include <stm32h7xx_hal_dma.h>
#include <stm32h7xx_hal_spi.h>
#include <stm32h7/hal.h>
#include <rtems/score/prioritybitmapimpl.h>

Macros

#define STM32H7_SPI_COMPLETE   0
 
#define STM32H7_SPI_ERROR   1
 
#define SPI_TIMEOUT_MS   100
 

Functions

void HAL_SPI_ErrorCallback (SPI_HandleTypeDef *spi)
 
void HAL_SPI_TxRxCpltCallback (SPI_HandleTypeDef *spi)
 
void HAL_SPI_TxCpltCallback (SPI_HandleTypeDef *spi)
 
void HAL_SPI_RxCpltCallback (SPI_HandleTypeDef *spi)
 
void stm32h7_register_spi_devices (void)
 Register SPI interfaces.
 

Detailed Description

This source file contains the shared SPI support code.