W60X_Arduino: SPIClass Class Reference

Arduino W60X

W60X_Arduino
SPIClass Class Reference

Public Member Functions

void begin (void)
 Initialize the SPI instance. More...
 
void end (void)
 Deinitialize the SPI instance and stop it. More...
 
void beginTransaction (SPISettings settings)
 This function should be used to configure the SPI instance in case you don't use the default parameters set by the begin() function. More...
 
void endTransaction (void)
 settings associated to the SPI instance. More...
 
uint8_t transfer (uint8_t _data)
 Transfer one byte on the SPI bus. More...
 
uint16_t transfer16 (uint16_t _data)
 Transfer two bytes on the SPI bus in 16 bits format. More...
 
void transferWrite (void *_buf, size_t _count)
 send several bytes. More...
 
void transferRead (void *_buf, size_t _count)
 receive several bytes. More...
 
void transfer (void *_buf, size_t _count)
 Transfer several bytes. Only one buffer used to send and receive data. More...
 
void transfer (void *_bufout, void *_bufin, size_t _count)
 Transfer several bytes. One buffer contains the data to send and another one will contains the data received. More...
 
void setBitOrder (BitOrder)
 Deprecated function. Configure the bit order: MSB first or LSB first. More...
 
void setDataMode (uint8_t _mode)
 Deprecated function. Configure the data mode (clock polarity and clock phase) More...
 
void setFrequency (uint32_t freq)
 Configure the spi frequency. More...
 
Generated by   doxygen 1.8.14