Skip to content

Struct SYN_CharLCD

ClassList > SYN_CharLCD

Generic Character LCD Context.

  • #include <syn_charlcd.h>

Public Attributes

Type Name
bool backlight
uint8_t backlight_mask
uint8_t cols
SYN_GPIO_Pin d_pins
uint8_t display_control
uint8_t display_mode
SYN_GPIO_Pin en_pin
SYN_SoftI2C i2c
uint8_t i2c_addr
SYN_CharLCDMode mode
uint8_t rows
SYN_GPIO_Pin rs_pin

Public Attributes Documentation

variable backlight

bool SYN_CharLCD::backlight;

True if backlight enabled


variable backlight_mask

uint8_t SYN_CharLCD::backlight_mask;

variable cols

uint8_t SYN_CharLCD::cols;

Display columns (e.g. 16, 20)


variable d_pins

SYN_GPIO_Pin SYN_CharLCD::d_pins[4];

D4, D5, D6, D7 pins


variable display_control

uint8_t SYN_CharLCD::display_control;

Display ON/OFF control state


variable display_mode

uint8_t SYN_CharLCD::display_mode;

Entry mode state


variable en_pin

SYN_GPIO_Pin SYN_CharLCD::en_pin;

variable i2c

SYN_SoftI2C SYN_CharLCD::i2c;

variable i2c_addr

uint8_t SYN_CharLCD::i2c_addr;

variable mode

SYN_CharLCDMode SYN_CharLCD::mode;

variable rows

uint8_t SYN_CharLCD::rows;

Display rows (e.g. 2, 4)


variable rs_pin

SYN_GPIO_Pin SYN_CharLCD::rs_pin;


The documentation for this class was generated from the following file src/syntropic/display/syn_charlcd.h