#include <SPI.h>
Fonctions membres publiques | |
SPIClass (SERCOM *p_sercom, uint8_t uc_pinMISO, uint8_t uc_pinSCK, uint8_t uc_pinMOSI, SercomSpiTXPad, SercomRXPad) | |
byte | transfer (uint8_t data) |
uint16_t | transfer16 (uint16_t data) |
void | transfer (void *buf, size_t count) |
void | usingInterrupt (int interruptNumber) |
void | notUsingInterrupt (int interruptNumber) |
void | beginTransaction (SPISettings settings) |
void | endTransaction (void) |
void | attachInterrupt () |
void | detachInterrupt () |
void | begin () |
void | end () |
void | setBitOrder (BitOrder order) |
void | setDataMode (uint8_t uc_mode) |
void | setClockDivider (uint8_t uc_div) |
SPIClass::SPIClass | ( | SERCOM * | p_sercom, |
uint8_t | uc_pinMISO, | ||
uint8_t | uc_pinSCK, | ||
uint8_t | uc_pinMOSI, | ||
SercomSpiTXPad | PadTx, | ||
SercomRXPad | PadRx | ||
) |
void SPIClass::attachInterrupt | ( | ) |
void SPIClass::begin | ( | ) |
void SPIClass::beginTransaction | ( | SPISettings | settings | ) |
void SPIClass::detachInterrupt | ( | ) |
void SPIClass::end | ( | ) |
void SPIClass::endTransaction | ( | void | ) |
void SPIClass::notUsingInterrupt | ( | int | interruptNumber | ) |
void SPIClass::setBitOrder | ( | BitOrder | order | ) |
void SPIClass::setClockDivider | ( | uint8_t | uc_div | ) |
void SPIClass::setDataMode | ( | uint8_t | uc_mode | ) |
byte SPIClass::transfer | ( | uint8_t | data | ) |
void SPIClass::transfer | ( | void * | buf, |
size_t | count | ||
) |
uint16_t SPIClass::transfer16 | ( | uint16_t | data | ) |
void SPIClass::usingInterrupt | ( | int | interruptNumber | ) |