31 #include <libopencm3/stm32/gpio.h>
52 #define Ms2100HasEOC() (gpio_get(GPIOB, GPIO5) != 0)
SPI transaction structure.
static void Ms2100Set(void)
Here Set indicates the Ms2100 is in reset state, i.e.
static void Ms2100Reset(void)
Here Reset indicates the Ms2100 is in normal state, i.e.
void ms2100_reset_cb(struct spi_transaction *t)
Reset callback.
Architecture independent SPI (Serial Peripheral Interface) API.