33 #include "v2/lcd/base/display.h" 53 template <
typename... Args>
110 const int8_t m_dc = -1;
166 void beginController();
171 void endController();
173 #ifdef CONFIG_LCDGFX_PLATFORM_SPI 187 explicit DisplaySSD1327_128x128_SPI(int8_t rstPin,
const SPlatformSpiConfig &config = {-1, {-1}, -1, 0U, -1, -1})
189 , m_spi(*
this, config.dc,
191 config.busId, {config.cs}, config.
dc, config.frequency ?: static_cast<uint32_t>(10000000), config.scl, config.sda})
198 void begin()
override;
225 template <
typename... Args>
228 , m_spi(*this, dcPin, data...)
253 #ifdef CONFIG_LCDGFX_PLATFORM_I2C 267 explicit DisplaySSD1327_128x128_I2C(int8_t rstPin,
const SPlatformI2cConfig &config = {-1, 0x3C, -1, -1, 0U})
271 config.frequency ?: 400000U})
278 void begin()
override;
304 template <
typename... Args>
307 , m_i2c(*this, -1, data...)
332 #include "lcd_ssd1327.inl" void nextBlock()
Switches to the start of next RAM page for the block, specified by startBlock().
uint8_t lcduint_t
internal int type, used by the library.
InterfaceSSD1327(NanoDisplayBase< InterfaceSSD1327< I >> &base, int8_t dc, Args &&... data)
Creates instance of interface to LCD display.
NanoDisplayOps4 is template class for 4-bit monochrome operations.
DisplaySSD1327_128x128_CustomSPI(int8_t rstPin, int8_t dcPin, Args &&... data)
Inits 128x128 lcd display over spi (based on SSD1327 controller): 4-bit mode.
SSD1306 HAL IO communication functions.
Template class implements SSD1327 128x128 lcd display in 4 bit mode over custom I2C implementation (u...
void endBlock()
Closes data send operation to lcd display.
DisplaySSD1327_128x128(I &intf, int8_t rstPin)
Creates instance of SSD1327 128x128 controller class for 4-bit mode.
void startBlock(lcduint_t x, lcduint_t y, lcduint_t w)
Sets block in RAM of lcd display controller to write data to.
void setContrast(uint8_t contrast)
Set display contrast, ie light intensity.
void end() override
Closes connection to display.
Class implements interface functions to SSD1327 displays.
DisplaySSD1327(I &intf, int8_t rstPin)
Creates instance of SSD1327 controller class for 4-bit mode.
DisplaySSD1327_128x128_CustomI2C(int8_t rstPin, Args &&... data)
Inits 128x128 lcd display over i2c (based on SSD1327 controller): 4-bit mode.
void begin() override
Initializes SSD1327 lcd in 4-bit mode.
int8_t m_rstPin
indicates hardware reset pin used, -1 if it is not required
Template class implements SSD1327 128x128 lcd display in 4 bit mode over custom SPI implementation (u...
void commandStart()
Starts communication with LCD display in command mode.
void setDataMode(uint8_t mode)
Enables either data or command mode on SPI bus.
void begin() override
Initializes SSD1327 lcd in 4-bit mode.
NanoCanvasOps provides operations for drawing in memory buffer.
Class implements basic display operations for the library: It stores reference to communication inter...
Class implements basic functions for 4-bit mode of SSD1327-based displays.
Class implements basic functions for 4-bit mode of SSD1327-based displays.
void end() override
Closes connection to display.