![]() |
RUI3 (RAK Unified Interface 3) - RAK4631
|
Functions | |
void | begin () |
void | end () |
uint16_t | transfer16 (uint16_t data) |
void | transfer (void *buf, size_t count) |
void | beginTransaction (SPISettings settings) |
void | endTransaction () |
void | setBitOrder (BitOrder order) |
void | setDataMode (uint8_t mode) |
void | setClockDivider (uint32_t uc_div) |
void begin | ( | ) |
void end | ( | ) |
uint16_t transfer16 | ( | uint16_t | data | ) |
val16 | the two bytes variable to send out over the bus |
void transfer | ( | void * | buf, |
size_t | count | ||
) |
val | the byte to send out over the bus |
buffer | the array of data to be transferred |
void beginTransaction | ( | SPISettings | settings | ) |
mySetting | the chosen settings according to SPISettings |
void endTransaction | ( | ) |
void setBitOrder | ( | BitOrder | order | ) |
order | either LSBFIRST or MSBFIRST |
void setDataMode | ( | uint8_t | mode | ) |
mode | SPI_MODE0 SPI_MODE1 SPI_MODE2 SPI_MODE3 |
void setClockDivider | ( | uint32_t | uc_div | ) |
divider | SPI_CLOCK_DIV2 SPI_CLOCK_DIV4 SPI_CLOCK_DIV8 SPI_CLOCK_DIV16 SPI_CLOCK_DIV32 SPI_CLOCK_DIV64 SPI_CLOCK_DIV128 SPI_CLOCK_DIV256 |