ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
esphome::mipi_rgb Namespace Reference

Data Structures

class  MipiRgb
 
class  MipiRgbSpi
 

Functions

 ESPHOME_LOG_TAG (TAG, "display.mipi_rgb")
 
void rotate_point (int &x, int &y, int width, int height, display::DisplayRotation rotation)
 
void blit_rotated_565 (uint16_t *fb, int fb_width, int fb_height, display::DisplayRotation rotation, const uint16_t *src_origin, int x_start, int y_start, int w, int h, size_t stride)
 

Variables

const uint8_t SW_RESET_CMD = 0x01
 
const uint8_t SLEEP_OUT = 0x11
 
const uint8_t SDIR_CMD = 0xC7
 
const uint8_t MADCTL_CMD = 0x36
 
const uint8_t INVERT_OFF = 0x20
 
const uint8_t INVERT_ON = 0x21
 
const uint8_t DISPLAY_ON = 0x29
 
const uint8_t CMD2_BKSEL = 0xFF
 
const uint8_t CMD2_BK0 [5] = {0x77, 0x01, 0x00, 0x00, 0x10}
 

Function Documentation

◆ blit_rotated_565()

void esphome::mipi_rgb::blit_rotated_565 ( uint16_t * fb,
int fb_width,
int fb_height,
display::DisplayRotation rotation,
const uint16_t * src_origin,
int x_start,
int y_start,
int w,
int h,
size_t stride )
inline

Definition at line 31 of file mipi_rgb_blitter.h.

◆ ESPHOME_LOG_TAG()

esphome::mipi_rgb::ESPHOME_LOG_TAG ( TAG ,
"display.mipi_rgb"  )

◆ rotate_point()

void esphome::mipi_rgb::rotate_point ( int & x,
int & y,
int width,
int height,
display::DisplayRotation rotation )
inline

Definition at line 12 of file mipi_rgb_blitter.h.

Variable Documentation

◆ CMD2_BK0

const uint8_t esphome::mipi_rgb::CMD2_BK0[5] = {0x77, 0x01, 0x00, 0x00, 0x10}

Definition at line 26 of file mipi_rgb.h.

◆ CMD2_BKSEL

const uint8_t esphome::mipi_rgb::CMD2_BKSEL = 0xFF

Definition at line 25 of file mipi_rgb.h.

◆ DISPLAY_ON

const uint8_t esphome::mipi_rgb::DISPLAY_ON = 0x29

Definition at line 24 of file mipi_rgb.h.

◆ INVERT_OFF

const uint8_t esphome::mipi_rgb::INVERT_OFF = 0x20

Definition at line 22 of file mipi_rgb.h.

◆ INVERT_ON

const uint8_t esphome::mipi_rgb::INVERT_ON = 0x21

Definition at line 23 of file mipi_rgb.h.

◆ MADCTL_CMD

const uint8_t esphome::mipi_rgb::MADCTL_CMD = 0x36

Definition at line 21 of file mipi_rgb.h.

◆ SDIR_CMD

const uint8_t esphome::mipi_rgb::SDIR_CMD = 0xC7

Definition at line 20 of file mipi_rgb.h.

◆ SLEEP_OUT

const uint8_t esphome::mipi_rgb::SLEEP_OUT = 0x11

Definition at line 19 of file mipi_rgb.h.

◆ SW_RESET_CMD

const uint8_t esphome::mipi_rgb::SW_RESET_CMD = 0x01

Definition at line 18 of file mipi_rgb.h.