33 #include "v2/lcd/base/display.h" 53 template <
typename... Args>
130 const int8_t m_dc = -1;
132 uint8_t m_rotation = 0x00;
133 uint8_t m_rgb_bit = 0b00000000;
188 void beginController();
193 void endController();
195 #ifdef CONFIG_LCDGFX_PLATFORM_SPI 209 explicit DisplayIL9163_128x128x16_SPI(int8_t rstPin,
const SPlatformSpiConfig &config = {-1, {-1}, -1, 0U, -1, -1})
211 , m_spi(*
this, config.dc,
213 config.busId, {config.cs}, config.
dc, config.frequency ?: static_cast<uint32_t>(8000000), config.scl, config.sda})
220 void begin()
override;
247 template <
typename... Args>
250 , m_spi(*this, dcPin, data...)
296 void beginController();
301 void endController();
303 #ifdef CONFIG_LCDGFX_PLATFORM_SPI 317 explicit DisplayIL9163_128x160x16_SPI(int8_t rstPin,
const SPlatformSpiConfig &config = {-1, {-1}, -1, 0U, -1, -1})
319 , m_spi(*
this, config.dc,
321 config.busId, {config.cs}, config.
dc, config.frequency ?: static_cast<uint32_t>(8000000), config.scl, config.sda})
328 void begin()
override;
355 template <
typename... Args>
358 , m_spi(*this, dcPin, data...)
383 #include "lcd_il9163.inl"
uint8_t lcduint_t
internal int type, used by the library.
Class implements interface functions to IL9163 displays.
void invertMode()
Switches display to inverted mode (sends INVON command).
Class implements basic functions for 16-bit mode of IL9163-based displays.
Template class implements IL9163 128x128x16 lcd display in 16 bit mode over custom SPI implementation...
void setDataMode(uint8_t mode)
Enables either data or command mode on SPI bus.
SSD1306 HAL IO communication functions.
DisplayIL9163_128x128x16(I &intf, int8_t rstPin)
Creates instance of IL9163 128x128x16 controller class for 16-bit mode.
DisplayIL9163x16(I &intf, int8_t rstPin)
Creates instance of IL9163 controller class for 16-bit mode.
void setRotation(uint8_t rotation)
Sets screen orientation (rotation)
void end() override
Closes connection to display.
void commandStart()
Starts communication with LCD display in command mode.
DisplayIL9163_128x160x16(I &intf, int8_t rstPin)
Creates instance of IL9163 128x160x16 controller class for 16-bit mode.
void endBlock()
Closes data send operation to lcd display.
void begin() override
Initializes IL9163 lcd in 16-bit mode.
void begin() override
Initializes IL9163 lcd in 16-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.
DisplayIL9163_128x160x16_CustomSPI(int8_t rstPin, int8_t dcPin, Args &&... data)
Inits 128x160x16 lcd display over spi (based on IL9163 controller): 16-bit mode.
Template class implements IL9163 128x160x16 lcd display in 16 bit mode over custom SPI implementation...
DisplayIL9163_128x128x16_CustomSPI(int8_t rstPin, int8_t dcPin, Args &&... data)
Inits 128x128x16 lcd display over spi (based on IL9163 controller): 16-bit mode.
InterfaceIL9163(NanoDisplayBase< InterfaceIL9163< I >> &base, int8_t dc, Args &&... data)
Creates instance of interface to LCD display.
Class implements basic functions for 16-bit mode of IL9163-based displays.
Class implements basic functions for 16-bit mode of IL9163-based displays.
void end() override
Closes connection to display.
NanoCanvasOps provides operations for drawing in memory buffer.
Class implements basic display operations for the library: It stores reference to communication inter...
void nextBlock()
Switches to the start of next RAM page for the block, specified by startBlock().
int8_t m_rstPin
indicates hardware reset pin used, -1 if it is not required
NanoDisplayOps16 is template class for 16-bit operations.
void normalMode()
Switches display to normal (non-inverted) mode (sends INVOFF command).