Holds RIOT-OS specific peripheral data.
gpio_t pin_cs
Pin for SPI CS, GPIO_UNDEF if not used.
void * user_ptr
Pointer to optionally store any additional user-data.
gpio_t pin_reset
Pin for RESET, GPIO_UNDEF if not used.
unsigned int device_index
Index of the SPI device.
int16_t ucg_com_hw_spi_riotos(ucg_t *ucg, int16_t msg, uint16_t arg, uint8_t *data)
To be used as the u8x8_msg_cb as gpio_and_delay_cb in u8x8_Setup() for use with RIOT-OS.
gpio_t pin_cd
Pin for SPI CD, GPIO_UNDEF if not used.
Low-level GPIO peripheral driver interface definitions.
ucg_int_t ucg_dev_dummy_riotos(ucg_t *ucg, ucg_int_t msg, void *data)
To be used as the u8x8_msg_cb as gpio_and_delay_cb in u8x8_Setup() for use with RIOT-OS.