STM32F3xx_Nucleo_144 BSP User Manual: Bus Operation functions

STM32F3xx Nucleo 144 BSP Drivers

STM32F3xx_Nucleo_144 BSP User Manual
Bus Operation functions

Functions

static void SPIx_Init (void)
 Initializes SPI HAL.
static void SPIx_Write (uint8_t Value)
 SPI Write a byte to device.
static void SPIx_Error (void)
 SPI error treatment function.
static void SPIx_MspInit (SPI_HandleTypeDef *hspi)
 Initializes SPI MSP.
static void SPIx_WriteReadData (const uint8_t *DataIn, uint8_t *DataOut, uint16_t DataLegnth)
 SPI Write a byte to device.

Function Documentation

static void SPIx_Error ( void  ) [static]

SPI error treatment function.

Return values:
None

Definition at line 452 of file stm32f3xx_nucleo_144.c.

References hnucleo_Spi, and SPIx_Init().

Referenced by SPIx_Write(), and SPIx_WriteReadData().

static void SPIx_Init ( void  ) [static]

Initializes SPI HAL.

Return values:
None

Definition at line 376 of file stm32f3xx_nucleo_144.c.

References hnucleo_Spi, NUCLEO_SPIx, and SPIx_MspInit().

Referenced by LCD_IO_Init(), SD_IO_Init(), and SPIx_Error().

static void SPIx_Write ( uint8_t  Value) [static]

SPI Write a byte to device.

Parameters:
Valuevalue to be written
Return values:
None

Definition at line 433 of file stm32f3xx_nucleo_144.c.

References hnucleo_Spi, SPIx_Error(), and SpixTimeout.

Referenced by LCD_IO_WriteData(), LCD_IO_WriteMultipleData(), and LCD_IO_WriteReg().

static void SPIx_WriteReadData ( const uint8_t *  DataIn,
uint8_t *  DataOut,
uint16_t  DataLegnth 
) [static]

SPI Write a byte to device.

Parameters:
DataInvalue to be written
DataOutdata out
DataLegnthdata length
Return values:
None

Definition at line 414 of file stm32f3xx_nucleo_144.c.

References hnucleo_Spi, SPIx_Error(), and SpixTimeout.

Referenced by SD_IO_WriteByte(), and SD_IO_WriteReadData().

Generated on Wed May 31 2017 11:02:21 for STM32F3xx_Nucleo_144 BSP User Manual by   doxygen 1.7.6.1