Microchip® Advanced Software Framework

tstrNmSpiRw Struct Reference

Structure holding SPI R/W parameters.

See Also
NM_BUS_IOCTL_RW

#include <nm_bus_wrapper.h>

Data Fields

uint8pu8InBuf
 
uint8pu8OutBuf
 
uint16 u16Sz
 

uint8* tstrNmSpiRw::pu8InBuf
 pointer to input buffer. 

Can be set to null and in this case zeros should be sent at MOSI

Referenced by nm_bus_ioctl().

uint8* tstrNmSpiRw::pu8OutBuf
 pointer to output buffer. 

Can be set to null and in this case data from MISO can be ignored

Referenced by nm_bus_ioctl().

uint16 tstrNmSpiRw::u16Sz

Transfere size

Referenced by nm_bus_ioctl().