TivaC Lcd Driver for 1602A LCD controller
A c++ driver for interfacing the TivaC with the 1602A LCD controller
|
the structure used for carrying the lcd controller settings Each pin description is an array of 3 members describing: the clock port(like SYSCTL_PERIPH_GPIOB), the gpio port(like GPIO_PORTB_BASE) and the gpio pin(like GPIO_PIN_6) More...
#include <lcd_driver.hpp>
Public Attributes | |
bool | useBacklight |
whether the backlight can be turned on/off using pin | |
uint32_t | regSelectPin [PIN_DESCRIPTION_LEN] |
arrays describing the RS(register selector) pin | |
uint32_t | readWritePin [PIN_DESCRIPTION_LEN] |
arrays for descirbing the RS(Read/Write pin) | |
uint32_t | enablePin [PIN_DESCRIPTION_LEN] |
arrays for describing the enable pin | |
uint32_t | backLightPin [PIN_DESCRIPTION_LEN] |
uint32_t | parallelPinList [TOTAL_PARALLEL_PIN][PIN_DESCRIPTION_LEN] |
multidimensional array containing the description for pin D4-D7(if using 4 pins) or D0-D7(if using 8 pins) | |
the structure used for carrying the lcd controller settings Each pin description is an array of 3 members describing: the clock port(like SYSCTL_PERIPH_GPIOB), the gpio port(like GPIO_PORTB_BASE) and the gpio pin(like GPIO_PIN_6)
uint32_t lcddriver::LcdConfig::backLightPin[PIN_DESCRIPTION_LEN] |
arrays for controlling the backlight pin, if you don't have one just don't set it