Holds RIOT-OS specific peripheral data. More...
Holds RIOT-OS specific peripheral data.
This structure has to be set via the Ucglib function ucg_SetUserPtr
, prior to the call to ucg_Init
.
The structure can be easily extended with further required definitions (e.g other pins) if necessary, without breaking the RIOT-OS adaptation of Ucglib.
Definition at line 42 of file ucg_riotos.h.
#include <ucg_riotos.h>
Data Fields | |
void * | user_ptr |
Pointer to optionally store any additional user-data. | |
unsigned int | device_index |
Index of the SPI device. | |
gpio_t | pin_cs |
Pin for SPI CS, GPIO_UNDEF if not used. | |
gpio_t | pin_cd |
Pin for SPI CD, GPIO_UNDEF if not used. | |
gpio_t | pin_reset |
Pin for RESET, GPIO_UNDEF if not used. | |
unsigned int ucg_riotos_t::device_index |
Index of the SPI device.
Definition at line 45 of file ucg_riotos.h.
gpio_t ucg_riotos_t::pin_cd |
Pin for SPI CD, GPIO_UNDEF if not used.
Definition at line 47 of file ucg_riotos.h.
gpio_t ucg_riotos_t::pin_cs |
Pin for SPI CS, GPIO_UNDEF if not used.
Definition at line 46 of file ucg_riotos.h.
gpio_t ucg_riotos_t::pin_reset |
Pin for RESET, GPIO_UNDEF if not used.
Definition at line 48 of file ucg_riotos.h.
void* ucg_riotos_t::user_ptr |
Pointer to optionally store any additional user-data.
Definition at line 43 of file ucg_riotos.h.