SPIx_WriteRead() is only used within STM32F401-Discovery.
 
Symbols
loading...
Files
loading...

SPIx_WriteRead() function

Sends a Byte through the SPI interface and return the Byte received from the SPI bus.

Syntax

static uint8_t SPIx_WriteRead(uint8_t byte);
Implemented in stm32f401_discovery.c:427

Arguments

byte

Return value

The received byte value

References

LocationReferrerText
stm32f401_discovery.c:427
static uint8_t SPIx_WriteRead(uint8_t Byte)
stm32f401_discovery.c:108
static uint8_t SPIx_WriteRead(uint8_t byte);
stm32f401_discovery.c:531GYRO_IO_Write()
SPIx_WriteRead(WriteAddr);
stm32f401_discovery.c:536GYRO_IO_Write()
SPIx_WriteRead(*pBuffer);
stm32f401_discovery.c:566GYRO_IO_Read()
SPIx_WriteRead(ReadAddr);
stm32f401_discovery.c:572GYRO_IO_Read()
*pBuffer = SPIx_WriteRead(DUMMY_BYTE);

Call Tree

Functions calling SPIx_WriteRead()
Functions called by SPIx_WriteRead()
all items filtered out
SPIx_WriteRead()
Data read by SPIx_WriteRead()
SPIx_WriteRead()::receivedbyte
all items filtered out
SPIx_WriteRead()
Type of SPIx_WriteRead()
SPIx_WriteRead()
uint8_t
all items filtered out