uMIDI
The swiss army knife for quick and easy developement of MIDI applications.
|
Configuration structure for the SPI emulation module. More...
#include <spi.h>
Data Fields | |
bool | clk_phase |
Clock phase. More... | |
bool | clk_polarity |
Clock polarity. More... | |
uint8_t | word_length |
Word length. More... | |
const struct gpio_pin * | clk_pin |
The GPIO pin connected to the clock line. More... | |
const struct gpio_pin * | miso_pin |
The GPIO pin connected to the MISO line (may be NULL if not present) More... | |
const struct gpio_pin * | mosi_pin |
The GPIO pin connected to the MOSI line (may be NULL if not present) More... | |
const struct gpio_pin * | ncs_pin |
The GPIO pin connected to the (inverted) chip select line (may be NULL) More... | |
Configuration structure for the SPI emulation module.
bool spi_config::clk_phase |
Clock phase.
const struct gpio_pin* spi_config::clk_pin |
The GPIO pin connected to the clock line.
bool spi_config::clk_polarity |
Clock polarity.
const struct gpio_pin* spi_config::miso_pin |
The GPIO pin connected to the MISO line (may be NULL if not present)
const struct gpio_pin* spi_config::mosi_pin |
The GPIO pin connected to the MOSI line (may be NULL if not present)
const struct gpio_pin* spi_config::ncs_pin |
The GPIO pin connected to the (inverted) chip select line (may be NULL)
uint8_t spi_config::word_length |
Word length.