ucg_riotos_t Struct Reference

Holds RIOT-OS specific peripheral data. More...

Detailed Description

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.
 

The documentation for this struct was generated from the following file: