33 #include "v2/lcd/base/display.h" 53 template <
typename... Args>
112 const int8_t m_dc = -1;
114 uint8_t m_rotation = 0x00;
115 uint8_t m_rgb_bit = 0b00000000;
170 void beginController();
175 void endController();
177 #ifdef CONFIG_LCDGFX_PLATFORM_SPI 191 explicit DisplayIL9163_128x128x16_SPI(int8_t rstPin,
const SPlatformSpiConfig &config = {-1, {-1}, -1, 0U, -1, -1})
193 , m_spi(*
this, config.dc,
195 config.busId, {config.cs}, config.
dc, config.frequency ?: static_cast<uint32_t>(8000000), config.scl, config.sda})
202 void begin()
override;
229 template <
typename... Args>
232 , m_spi(*this, dcPin, data...)
278 void beginController();
283 void endController();
285 #ifdef CONFIG_LCDGFX_PLATFORM_SPI 299 explicit DisplayIL9163_128x160x16_SPI(int8_t rstPin,
const SPlatformSpiConfig &config = {-1, {-1}, -1, 0U, -1, -1})
301 , m_spi(*
this, config.dc,
303 config.busId, {config.cs}, config.
dc, config.frequency ?: static_cast<uint32_t>(8000000), config.scl, config.sda})
310 void begin()
override;
337 template <
typename... Args>
340 , m_spi(*this, dcPin, data...)
365 #include "lcd_il9163.inl"
void setDataMode(uint8_t mode)
DisplayIL9163_128x128x16(I &intf, int8_t rstPin)
DisplayIL9163x16(I &intf, int8_t rstPin)
void setRotation(uint8_t rotation)
Sets screen orientation (rotation)
DisplayIL9163_128x160x16(I &intf, int8_t rstPin)
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.
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)
int8_t m_rstPin
indicates hardware reset pin used, -1 if it is not required