|
| SERCOM (Sercom *s) |
|
void | initUART (SercomUartMode mode, SercomUartSampleRate sampleRate, uint32_t baudrate=0) |
|
void | initFrame (SercomUartCharSize charSize, SercomDataOrder dataOrder, SercomParityMode parityMode, SercomNumberStopBit nbStopBits) |
|
void | initPads (SercomUartTXPad txPad, SercomRXPad rxPad) |
|
void | resetUART (void) |
|
void | enableUART (void) |
|
void | flushUART (void) |
|
void | clearStatusUART (void) |
|
bool | availableDataUART (void) |
|
bool | isBufferOverflowErrorUART (void) |
|
bool | isFrameErrorUART (void) |
|
void | clearFrameErrorUART (void) |
|
bool | isParityErrorUART (void) |
|
bool | isDataRegisterEmptyUART (void) |
|
uint8_t | readDataUART (void) |
|
int | writeDataUART (uint8_t data) |
|
bool | isUARTError () |
|
void | acknowledgeUARTError () |
|
void | enableDataRegisterEmptyInterruptUART () |
|
void | disableDataRegisterEmptyInterruptUART () |
|
void | initSPI (SercomSpiTXPad mosi, SercomRXPad miso, SercomSpiCharSize charSize, SercomDataOrder dataOrder) |
|
void | initSPIClock (SercomSpiClockMode clockMode, uint32_t baudrate) |
|
void | resetSPI (void) |
|
void | enableSPI (void) |
|
void | disableSPI (void) |
|
void | setDataOrderSPI (SercomDataOrder dataOrder) |
|
SercomDataOrder | getDataOrderSPI (void) |
|
void | setBaudrateSPI (uint8_t divider) |
|
void | setClockModeSPI (SercomSpiClockMode clockMode) |
|
uint8_t | transferDataSPI (uint8_t data) |
|
bool | isBufferOverflowErrorSPI (void) |
|
bool | isDataRegisterEmptySPI (void) |
|
bool | isTransmitCompleteSPI (void) |
|
bool | isReceiveCompleteSPI (void) |
|
void | initSlaveWIRE (uint8_t address, bool enableGeneralCall=false) |
|
void | initMasterWIRE (uint32_t baudrate) |
|
void | resetWIRE (void) |
|
void | enableWIRE (void) |
|
void | disableWIRE (void) |
|
void | prepareNackBitWIRE (void) |
|
void | prepareAckBitWIRE (void) |
|
void | prepareCommandBitsWire (uint8_t cmd) |
|
bool | startTransmissionWIRE (uint8_t address, SercomWireReadWriteFlag flag) |
|
bool | sendDataMasterWIRE (uint8_t data) |
|
bool | sendDataSlaveWIRE (uint8_t data) |
|
bool | isMasterWIRE (void) |
|
bool | isSlaveWIRE (void) |
|
bool | isBusIdleWIRE (void) |
|
bool | isBusOwnerWIRE (void) |
|
bool | isArbLostWIRE (void) |
|
bool | isBusBusyWIRE (void) |
|
bool | isDataReadyWIRE (void) |
|
bool | isStopDetectedWIRE (void) |
|
bool | isRestartDetectedWIRE (void) |
|
bool | isAddressMatch (void) |
|
bool | isMasterReadOperationWIRE (void) |
|
bool | isRXNackReceivedWIRE (void) |
|
int | availableWIRE (void) |
|
uint8_t | readDataWIRE (void) |
|