sl_memlcd_t Struct Reference

General memory LCD data structure.

#include <sl_memlcd.h>

Data Fields

unsigned short width
Display pixel width.
unsigned short height
Display pixel height.
uint8_t bpp
Bits per pixel.
uint8_t color_mode
Color mode.
int spi_freq
SPI clock frequency.
uint8_t extcomin_freq
Extcomin pin toggle frequency.
uint8_t setup_us
SPI CS setup time.
uint8_t hold_us
SPI CS hold time.
void * custom_data
Custom LCD's data.

General memory LCD data structure.

Field Documentation

width

unsigned short sl_memlcd_t::width

Display pixel width.

height

unsigned short sl_memlcd_t::height

Display pixel height.

bpp

uint8_t sl_memlcd_t::bpp

Bits per pixel.

color_mode

uint8_t sl_memlcd_t::color_mode

Color mode.

spi_freq

int sl_memlcd_t::spi_freq

SPI clock frequency.

extcomin_freq

uint8_t sl_memlcd_t::extcomin_freq

Extcomin pin toggle frequency.

setup_us

uint8_t sl_memlcd_t::setup_us

SPI CS setup time.

hold_us

uint8_t sl_memlcd_t::hold_us

SPI CS hold time.

custom_data

void* sl_memlcd_t::custom_data

Custom LCD's data.