ESPHome  2022.11.3
Public Member Functions | Data Fields | Protected Member Functions | Protected Attributes
esphome::inkplate6::Inkplate6 Class Reference

#include <inkplate.h>

Inheritance diagram for esphome::inkplate6::Inkplate6:
esphome::PollingComponent esphome::display::DisplayBuffer esphome::i2c::I2CDevice esphome::Component

Public Member Functions

void set_greyscale (bool greyscale)
 
void set_partial_updating (bool partial_updating)
 
void set_full_update_every (uint32_t full_update_every)
 
void set_model (InkplateModel model)
 
void set_display_data_0_pin (InternalGPIOPin *data)
 
void set_display_data_1_pin (InternalGPIOPin *data)
 
void set_display_data_2_pin (InternalGPIOPin *data)
 
void set_display_data_3_pin (InternalGPIOPin *data)
 
void set_display_data_4_pin (InternalGPIOPin *data)
 
void set_display_data_5_pin (InternalGPIOPin *data)
 
void set_display_data_6_pin (InternalGPIOPin *data)
 
void set_display_data_7_pin (InternalGPIOPin *data)
 
void set_ckv_pin (GPIOPin *ckv)
 
void set_cl_pin (InternalGPIOPin *cl)
 
void set_gpio0_enable_pin (GPIOPin *gpio0_enable)
 
void set_gmod_pin (GPIOPin *gmod)
 
void set_le_pin (InternalGPIOPin *le)
 
void set_oe_pin (GPIOPin *oe)
 
void set_powerup_pin (GPIOPin *powerup)
 
void set_sph_pin (GPIOPin *sph)
 
void set_spv_pin (GPIOPin *spv)
 
void set_vcom_pin (GPIOPin *vcom)
 
void set_wakeup_pin (GPIOPin *wakeup)
 
float get_setup_priority () const override
 
void dump_config () override
 
void display ()
 
void clean ()
 
void fill (Color color) override
 
void update () override
 
void setup () override
 
uint8_t get_panel_state ()
 
bool get_greyscale ()
 
bool get_partial_updating ()
 
uint8_t get_temperature ()
 
void block_partial ()
 
display::DisplayType get_display_type () override
 
- Public Member Functions inherited from esphome::PollingComponent
 PollingComponent ()
 
 PollingComponent (uint32_t update_interval)
 Initialize this polling component with the given update interval in ms. More...
 
virtual void set_update_interval (uint32_t update_interval)
 Manually set the update interval in ms for this polling object. More...
 
void call_setup () override
 
virtual uint32_t get_update_interval () const
 Get the update interval in ms of this sensor. More...
 
- Public Member Functions inherited from esphome::Component
virtual void loop ()
 This method will be called repeatedly. More...
 
float get_actual_setup_priority () const
 
void set_setup_priority (float priority)
 
virtual float get_loop_priority () const
 priority of loop(). More...
 
void call ()
 
virtual void on_shutdown ()
 
virtual void on_safe_shutdown ()
 
uint32_t get_component_state () const
 
virtual void mark_failed ()
 Mark this component as failed. More...
 
bool is_failed ()
 
virtual bool can_proceed ()
 
bool status_has_warning ()
 
bool status_has_error ()
 
void status_set_warning ()
 
void status_set_error ()
 
void status_clear_warning ()
 
void status_clear_error ()
 
void status_momentary_warning (const std::string &name, uint32_t length=5000)
 
void status_momentary_error (const std::string &name, uint32_t length=5000)
 
bool has_overridden_loop () const
 
void set_component_source (const char *source)
 Set where this component was loaded from for some debug messages. More...
 
const char * get_component_source () const
 Get the integration where this component was declared as a string. More...
 
- Public Member Functions inherited from esphome::display::DisplayBuffer
void clear ()
 Clear the entire screen by filling it with OFF pixels. More...
 
int get_width ()
 Get the width of the image in pixels with rotation applied. More...
 
int get_height ()
 Get the height of the image in pixels with rotation applied. More...
 
void draw_pixel_at (int x, int y, Color color=COLOR_ON)
 Set a single pixel at the specified coordinates to the given color. More...
 
void line (int x1, int y1, int x2, int y2, Color color=COLOR_ON)
 Draw a straight line from the point [x1,y1] to [x2,y2] with the given color. More...
 
void horizontal_line (int x, int y, int width, Color color=COLOR_ON)
 Draw a horizontal line from the point [x,y] to [x+width,y] with the given color. More...
 
void vertical_line (int x, int y, int height, Color color=COLOR_ON)
 Draw a vertical line from the point [x,y] to [x,y+width] with the given color. More...
 
void rectangle (int x1, int y1, int width, int height, Color color=COLOR_ON)
 Draw the outline of a rectangle with the top left point at [x1,y1] and the bottom right point at [x1+width,y1+height]. More...
 
void filled_rectangle (int x1, int y1, int width, int height, Color color=COLOR_ON)
 Fill a rectangle with the top left point at [x1,y1] and the bottom right point at [x1+width,y1+height]. More...
 
void circle (int center_x, int center_xy, int radius, Color color=COLOR_ON)
 Draw the outline of a circle centered around [center_x,center_y] with the radius radius with the given color. More...
 
void filled_circle (int center_x, int center_y, int radius, Color color=COLOR_ON)
 Fill a circle centered around [center_x,center_y] with the radius radius with the given color. More...
 
void print (int x, int y, Font *font, Color color, TextAlign align, const char *text)
 Print text with the anchor point at [x,y] with font. More...
 
void print (int x, int y, Font *font, Color color, const char *text)
 Print text with the top left at [x,y] with font. More...
 
void print (int x, int y, Font *font, TextAlign align, const char *text)
 Print text with the anchor point at [x,y] with font. More...
 
void print (int x, int y, Font *font, const char *text)
 Print text with the top left at [x,y] with font. More...
 
void printf (int x, int y, Font *font, Color color, TextAlign align, const char *format,...) __attribute__((format(printf
 Evaluate the printf-format format and print the result with the anchor point at [x,y] with font. More...
 
void void printf (int x, int y, Font *font, Color color, const char *format,...) __attribute__((format(printf
 Evaluate the printf-format format and print the result with the top left at [x,y] with font. More...
 
void void void printf (int x, int y, Font *font, TextAlign align, const char *format,...) __attribute__((format(printf
 Evaluate the printf-format format and print the result with the anchor point at [x,y] with font. More...
 
void void void void printf (int x, int y, Font *font, const char *format,...) __attribute__((format(printf
 Evaluate the printf-format format and print the result with the top left at [x,y] with font. More...
 
void void void void void strftime (int x, int y, Font *font, Color color, TextAlign align, const char *format, time::ESPTime time) __attribute__((format(strftime
 Evaluate the strftime-format format and print the result with the anchor point at [x,y] with font. More...
 
void void void void void void strftime (int x, int y, Font *font, Color color, const char *format, time::ESPTime time) __attribute__((format(strftime
 Evaluate the strftime-format format and print the result with the top left at [x,y] with font. More...
 
void void void void void void void strftime (int x, int y, Font *font, TextAlign align, const char *format, time::ESPTime time) __attribute__((format(strftime
 Evaluate the strftime-format format and print the result with the anchor point at [x,y] with font. More...
 
void void void void void void void void strftime (int x, int y, Font *font, const char *format, time::ESPTime time) __attribute__((format(strftime
 Evaluate the strftime-format format and print the result with the top left at [x,y] with font. More...
 
void void void void void void void void void image (int x, int y, Image *image, Color color_on=COLOR_ON, Color color_off=COLOR_OFF)
 Draw the image with the top-left corner at [x,y] to the screen. More...
 
void graph (int x, int y, graph::Graph *graph, Color color_on=COLOR_ON)
 Draw the graph with the top-left corner at [x,y] to the screen. More...
 
void legend (int x, int y, graph::Graph *graph, Color color_on=COLOR_ON)
 Draw the legend for graph with the top-left corner at [x,y] to the screen. More...
 
void qr_code (int x, int y, qr_code::QrCode *qr_code, Color color_on=COLOR_ON, int scale=1)
 Draw the qr_code with the top-left corner at [x,y] to the screen. More...
 
void get_text_bounds (int x, int y, const char *text, Font *font, TextAlign align, int *x1, int *y1, int *width, int *height)
 Get the text bounds of the given string. More...
 
void set_writer (display_writer_t &&writer)
 Internal method to set the display writer lambda. More...
 
void show_page (DisplayPage *page)
 
void show_next_page ()
 
void show_prev_page ()
 
void set_pages (std::vector< DisplayPage *> pages)
 
const DisplayPageget_active_page () const
 
void add_on_page_change_trigger (DisplayOnPageChangeTrigger *t)
 
void set_rotation (DisplayRotation rotation)
 Internal method to set the display rotation with. More...
 
void set_auto_clear (bool auto_clear_enabled)
 
DisplayRotation get_rotation () const
 
- Public Member Functions inherited from esphome::i2c::I2CDevice
 I2CDevice ()=default
 
void set_i2c_address (uint8_t address)
 
void set_i2c_bus (I2CBus *bus)
 
I2CRegister reg (uint8_t a_register)
 
ErrorCode read (uint8_t *data, size_t len)
 
ErrorCode read_register (uint8_t a_register, uint8_t *data, size_t len, bool stop=true)
 
ErrorCode write (const uint8_t *data, uint8_t len, bool stop=true)
 
ErrorCode write_register (uint8_t a_register, const uint8_t *data, size_t len, bool stop=true)
 
bool read_bytes (uint8_t a_register, uint8_t *data, uint8_t len)
 
bool read_bytes_raw (uint8_t *data, uint8_t len)
 
template<size_t N>
optional< std::array< uint8_t, N > > read_bytes (uint8_t a_register)
 
template<size_t N>
optional< std::array< uint8_t, N > > read_bytes_raw ()
 
bool read_bytes_16 (uint8_t a_register, uint16_t *data, uint8_t len)
 
bool read_byte (uint8_t a_register, uint8_t *data, bool stop=true)
 
optional< uint8_t > read_byte (uint8_t a_register)
 
bool read_byte_16 (uint8_t a_register, uint16_t *data)
 
bool write_bytes (uint8_t a_register, const uint8_t *data, uint8_t len, bool stop=true)
 
bool write_bytes (uint8_t a_register, const std::vector< uint8_t > &data)
 
template<size_t N>
bool write_bytes (uint8_t a_register, const std::array< uint8_t, N > &data)
 
bool write_bytes_16 (uint8_t a_register, const uint16_t *data, uint8_t len)
 
bool write_byte (uint8_t a_register, uint8_t data, bool stop=true)
 
bool write_byte_16 (uint8_t a_register, uint16_t data)
 

Data Fields

const uint8_t LUT2 [16]
 
const uint8_t LUTW [16]
 
const uint8_t LUTB [16]
 
const uint8_t pixelMaskLUT [8] = {0x1, 0x2, 0x4, 0x8, 0x10, 0x20, 0x40, 0x80}
 
const uint8_t pixelMaskGLUT [2] = {0x0F, 0xF0}
 
const uint8_t waveform3Bit [8][8]
 
const uint8_t waveform3Bit6Plus [8][9]
 

Protected Member Functions

void draw_absolute_pixel_internal (int x, int y, Color color) override
 
void display1b_ ()
 
void display3b_ ()
 
void initialize_ ()
 
bool partial_update_ ()
 
void clean_fast_ (uint8_t c, uint8_t rep)
 
void hscan_start_ (uint32_t d)
 
void vscan_end_ ()
 
void vscan_start_ ()
 
void eink_off_ ()
 
void eink_on_ ()
 
bool read_power_status_ ()
 
void setup_pins_ ()
 
void pins_z_state_ ()
 
void pins_as_outputs_ ()
 
int get_width_internal () override
 
int get_height_internal () override
 
size_t get_buffer_length_ ()
 
int get_data_pin_mask_ ()
 
- Protected Member Functions inherited from esphome::Component
virtual void call_loop ()
 
virtual void call_dump_config ()
 
void set_interval (const std::string &name, uint32_t interval, std::function< void()> &&f)
 Set an interval function with a unique name. More...
 
void set_interval (uint32_t interval, std::function< void()> &&f)
 
bool cancel_interval (const std::string &name)
 Cancel an interval function. More...
 
void set_retry (const std::string &name, uint32_t initial_wait_time, uint8_t max_attempts, std::function< RetryResult()> &&f, float backoff_increase_factor=1.0f)
 Set an retry function with a unique name. More...
 
void set_retry (uint32_t initial_wait_time, uint8_t max_attempts, std::function< RetryResult()> &&f, float backoff_increase_factor=1.0f)
 
bool cancel_retry (const std::string &name)
 Cancel a retry function. More...
 
void set_timeout (const std::string &name, uint32_t timeout, std::function< void()> &&f)
 Set a timeout function with a unique name. More...
 
void set_timeout (uint32_t timeout, std::function< void()> &&f)
 
bool cancel_timeout (const std::string &name)
 Cancel a timeout function. More...
 
void defer (const std::string &name, std::function< void()> &&f)
 Defer a callback to the next loop() call. More...
 
void defer (std::function< void()> &&f)
 Defer a callback to the next loop() call. More...
 
bool cancel_defer (const std::string &name)
 Cancel a defer callback using the specified name, name must not be empty. More...
 
- Protected Member Functions inherited from esphome::display::DisplayBuffer
void vprintf_ (int x, int y, Font *font, Color color, TextAlign align, const char *format, va_list arg)
 
void init_internal_ (uint32_t buffer_length)
 
void do_update_ ()
 

Protected Attributes

bool panel_on_ {false}
 
uint8_t temperature_
 
uint8_t * partial_buffer_ {nullptr}
 
uint8_t * partial_buffer_2_ {nullptr}
 
uint32_t * glut_ {nullptr}
 
uint32_t * glut2_ {nullptr}
 
uint32_t pin_lut_ [256]
 
uint32_t full_update_every_
 
uint32_t partial_updates_ {0}
 
bool block_partial_ {true}
 
bool greyscale_
 
bool partial_updating_
 
InkplateModel model_
 
InternalGPIOPindisplay_data_0_pin_
 
InternalGPIOPindisplay_data_1_pin_
 
InternalGPIOPindisplay_data_2_pin_
 
InternalGPIOPindisplay_data_3_pin_
 
InternalGPIOPindisplay_data_4_pin_
 
InternalGPIOPindisplay_data_5_pin_
 
InternalGPIOPindisplay_data_6_pin_
 
InternalGPIOPindisplay_data_7_pin_
 
GPIOPinckv_pin_
 
InternalGPIOPincl_pin_
 
GPIOPingpio0_enable_pin_
 
GPIOPingmod_pin_
 
InternalGPIOPinle_pin_
 
GPIOPinoe_pin_
 
GPIOPinpowerup_pin_
 
GPIOPinsph_pin_
 
GPIOPinspv_pin_
 
GPIOPinvcom_pin_
 
GPIOPinwakeup_pin_
 
- Protected Attributes inherited from esphome::PollingComponent
uint32_t update_interval_
 
- Protected Attributes inherited from esphome::Component
uint32_t component_state_ {0x0000}
 State of this component. More...
 
float setup_priority_override_ {NAN}
 
const char * component_source_ {nullptr}
 
- Protected Attributes inherited from esphome::display::DisplayBuffer
uint8_t * buffer_ {nullptr}
 
DisplayRotation rotation_ {DISPLAY_ROTATION_0_DEGREES}
 
optional< display_writer_twriter_ {}
 
DisplayPagepage_ {nullptr}
 
DisplayPageprevious_page_ {nullptr}
 
std::vector< DisplayOnPageChangeTrigger * > on_page_change_triggers_
 
bool auto_clear_enabled_ {true}
 
- Protected Attributes inherited from esphome::i2c::I2CDevice
uint8_t address_ {0x00}
 
I2CBusbus_ {nullptr}
 

Detailed Description

Definition at line 19 of file inkplate.h.

Member Function Documentation

◆ block_partial()

void esphome::inkplate6::Inkplate6::block_partial ( )
inline

Definition at line 87 of file inkplate.h.

◆ clean()

void esphome::inkplate6::Inkplate6::clean ( )

Definition at line 591 of file inkplate.cpp.

◆ clean_fast_()

void esphome::inkplate6::Inkplate6::clean_fast_ ( uint8_t  c,
uint8_t  rep 
)
protected

Definition at line 605 of file inkplate.cpp.

◆ display()

void esphome::inkplate6::Inkplate6::display ( )

Definition at line 300 of file inkplate.cpp.

◆ display1b_()

void esphome::inkplate6::Inkplate6::display1b_ ( )
protected

Definition at line 316 of file inkplate.cpp.

◆ display3b_()

void esphome::inkplate6::Inkplate6::display3b_ ( )
protected

Definition at line 432 of file inkplate.cpp.

◆ draw_absolute_pixel_internal()

void HOT esphome::inkplate6::Inkplate6::draw_absolute_pixel_internal ( int  x,
int  y,
Color  color 
)
overrideprotectedvirtual

Implements esphome::display::DisplayBuffer.

Definition at line 150 of file inkplate.cpp.

◆ dump_config()

void esphome::inkplate6::Inkplate6::dump_config ( )
overridevirtual

Reimplemented from esphome::Component.

Definition at line 176 of file inkplate.cpp.

◆ eink_off_()

void esphome::inkplate6::Inkplate6::eink_off_ ( )
protected

Definition at line 206 of file inkplate.cpp.

◆ eink_on_()

void esphome::inkplate6::Inkplate6::eink_on_ ( )
protected

Definition at line 234 of file inkplate.cpp.

◆ fill()

void esphome::inkplate6::Inkplate6::fill ( Color  color)
overridevirtual

Reimplemented from esphome::display::DisplayBuffer.

Definition at line 285 of file inkplate.cpp.

◆ get_buffer_length_()

size_t esphome::inkplate6::Inkplate6::get_buffer_length_ ( )
protected

Definition at line 132 of file inkplate.cpp.

◆ get_data_pin_mask_()

int esphome::inkplate6::Inkplate6::get_data_pin_mask_ ( )
inlineprotected

Definition at line 137 of file inkplate.h.

◆ get_display_type()

display::DisplayType esphome::inkplate6::Inkplate6::get_display_type ( )
inlineoverridevirtual

Implements esphome::display::DisplayBuffer.

Definition at line 89 of file inkplate.h.

◆ get_greyscale()

bool esphome::inkplate6::Inkplate6::get_greyscale ( )
inline

Definition at line 83 of file inkplate.h.

◆ get_height_internal()

int esphome::inkplate6::Inkplate6::get_height_internal ( )
inlineoverrideprotectedvirtual

Implements esphome::display::DisplayBuffer.

Definition at line 124 of file inkplate.h.

◆ get_panel_state()

uint8_t esphome::inkplate6::Inkplate6::get_panel_state ( )
inline

Definition at line 82 of file inkplate.h.

◆ get_partial_updating()

bool esphome::inkplate6::Inkplate6::get_partial_updating ( )
inline

Definition at line 84 of file inkplate.h.

◆ get_setup_priority()

float esphome::inkplate6::Inkplate6::get_setup_priority ( ) const
overridevirtual

Reimplemented from esphome::Component.

Definition at line 130 of file inkplate.cpp.

◆ get_temperature()

uint8_t esphome::inkplate6::Inkplate6::get_temperature ( )
inline

Definition at line 85 of file inkplate.h.

◆ get_width_internal()

int esphome::inkplate6::Inkplate6::get_width_internal ( )
inlineoverrideprotectedvirtual

Implements esphome::display::DisplayBuffer.

Definition at line 113 of file inkplate.h.

◆ hscan_start_()

void esphome::inkplate6::Inkplate6::hscan_start_ ( uint32_t  d)
protected

Definition at line 575 of file inkplate.cpp.

◆ initialize_()

void esphome::inkplate6::Inkplate6::initialize_ ( )
protected

Definition at line 58 of file inkplate.cpp.

◆ partial_update_()

bool esphome::inkplate6::Inkplate6::partial_update_ ( )
protected

Definition at line 494 of file inkplate.cpp.

◆ pins_as_outputs_()

void esphome::inkplate6::Inkplate6::pins_as_outputs_ ( )
protected

Definition at line 667 of file inkplate.cpp.

◆ pins_z_state_()

void esphome::inkplate6::Inkplate6::pins_z_state_ ( )
protected

Definition at line 647 of file inkplate.cpp.

◆ read_power_status_()

bool esphome::inkplate6::Inkplate6::read_power_status_ ( )
protected

Definition at line 276 of file inkplate.cpp.

◆ set_ckv_pin()

void esphome::inkplate6::Inkplate6::set_ckv_pin ( GPIOPin ckv)
inline

Definition at line 58 of file inkplate.h.

◆ set_cl_pin()

void esphome::inkplate6::Inkplate6::set_cl_pin ( InternalGPIOPin cl)
inline

Definition at line 59 of file inkplate.h.

◆ set_display_data_0_pin()

void esphome::inkplate6::Inkplate6::set_display_data_0_pin ( InternalGPIOPin data)
inline

Definition at line 49 of file inkplate.h.

◆ set_display_data_1_pin()

void esphome::inkplate6::Inkplate6::set_display_data_1_pin ( InternalGPIOPin data)
inline

Definition at line 50 of file inkplate.h.

◆ set_display_data_2_pin()

void esphome::inkplate6::Inkplate6::set_display_data_2_pin ( InternalGPIOPin data)
inline

Definition at line 51 of file inkplate.h.

◆ set_display_data_3_pin()

void esphome::inkplate6::Inkplate6::set_display_data_3_pin ( InternalGPIOPin data)
inline

Definition at line 52 of file inkplate.h.

◆ set_display_data_4_pin()

void esphome::inkplate6::Inkplate6::set_display_data_4_pin ( InternalGPIOPin data)
inline

Definition at line 53 of file inkplate.h.

◆ set_display_data_5_pin()

void esphome::inkplate6::Inkplate6::set_display_data_5_pin ( InternalGPIOPin data)
inline

Definition at line 54 of file inkplate.h.

◆ set_display_data_6_pin()

void esphome::inkplate6::Inkplate6::set_display_data_6_pin ( InternalGPIOPin data)
inline

Definition at line 55 of file inkplate.h.

◆ set_display_data_7_pin()

void esphome::inkplate6::Inkplate6::set_display_data_7_pin ( InternalGPIOPin data)
inline

Definition at line 56 of file inkplate.h.

◆ set_full_update_every()

void esphome::inkplate6::Inkplate6::set_full_update_every ( uint32_t  full_update_every)
inline

Definition at line 45 of file inkplate.h.

◆ set_gmod_pin()

void esphome::inkplate6::Inkplate6::set_gmod_pin ( GPIOPin gmod)
inline

Definition at line 61 of file inkplate.h.

◆ set_gpio0_enable_pin()

void esphome::inkplate6::Inkplate6::set_gpio0_enable_pin ( GPIOPin gpio0_enable)
inline

Definition at line 60 of file inkplate.h.

◆ set_greyscale()

void esphome::inkplate6::Inkplate6::set_greyscale ( bool  greyscale)
inline

Definition at line 39 of file inkplate.h.

◆ set_le_pin()

void esphome::inkplate6::Inkplate6::set_le_pin ( InternalGPIOPin le)
inline

Definition at line 62 of file inkplate.h.

◆ set_model()

void esphome::inkplate6::Inkplate6::set_model ( InkplateModel  model)
inline

Definition at line 47 of file inkplate.h.

◆ set_oe_pin()

void esphome::inkplate6::Inkplate6::set_oe_pin ( GPIOPin oe)
inline

Definition at line 63 of file inkplate.h.

◆ set_partial_updating()

void esphome::inkplate6::Inkplate6::set_partial_updating ( bool  partial_updating)
inline

Definition at line 44 of file inkplate.h.

◆ set_powerup_pin()

void esphome::inkplate6::Inkplate6::set_powerup_pin ( GPIOPin powerup)
inline

Definition at line 64 of file inkplate.h.

◆ set_sph_pin()

void esphome::inkplate6::Inkplate6::set_sph_pin ( GPIOPin sph)
inline

Definition at line 65 of file inkplate.h.

◆ set_spv_pin()

void esphome::inkplate6::Inkplate6::set_spv_pin ( GPIOPin spv)
inline

Definition at line 66 of file inkplate.h.

◆ set_vcom_pin()

void esphome::inkplate6::Inkplate6::set_vcom_pin ( GPIOPin vcom)
inline

Definition at line 67 of file inkplate.h.

◆ set_wakeup_pin()

void esphome::inkplate6::Inkplate6::set_wakeup_pin ( GPIOPin wakeup)
inline

Definition at line 68 of file inkplate.h.

◆ setup()

void esphome::inkplate6::Inkplate6::setup ( )
overridevirtual

Reimplemented from esphome::Component.

Definition at line 15 of file inkplate.cpp.

◆ setup_pins_()

void esphome::inkplate6::Inkplate6::setup_pins_ ( )
protected

◆ update()

void esphome::inkplate6::Inkplate6::update ( )
overridevirtual

Implements esphome::PollingComponent.

Definition at line 140 of file inkplate.cpp.

◆ vscan_end_()

void esphome::inkplate6::Inkplate6::vscan_end_ ( )
protected

Definition at line 584 of file inkplate.cpp.

◆ vscan_start_()

void esphome::inkplate6::Inkplate6::vscan_start_ ( )
protected

Definition at line 551 of file inkplate.cpp.

Field Documentation

◆ block_partial_

bool esphome::inkplate6::Inkplate6::block_partial_ {true}
protected

Definition at line 163 of file inkplate.h.

◆ ckv_pin_

GPIOPin* esphome::inkplate6::Inkplate6::ckv_pin_
protected

Definition at line 178 of file inkplate.h.

◆ cl_pin_

InternalGPIOPin* esphome::inkplate6::Inkplate6::cl_pin_
protected

Definition at line 179 of file inkplate.h.

◆ display_data_0_pin_

InternalGPIOPin* esphome::inkplate6::Inkplate6::display_data_0_pin_
protected

Definition at line 169 of file inkplate.h.

◆ display_data_1_pin_

InternalGPIOPin* esphome::inkplate6::Inkplate6::display_data_1_pin_
protected

Definition at line 170 of file inkplate.h.

◆ display_data_2_pin_

InternalGPIOPin* esphome::inkplate6::Inkplate6::display_data_2_pin_
protected

Definition at line 171 of file inkplate.h.

◆ display_data_3_pin_

InternalGPIOPin* esphome::inkplate6::Inkplate6::display_data_3_pin_
protected

Definition at line 172 of file inkplate.h.

◆ display_data_4_pin_

InternalGPIOPin* esphome::inkplate6::Inkplate6::display_data_4_pin_
protected

Definition at line 173 of file inkplate.h.

◆ display_data_5_pin_

InternalGPIOPin* esphome::inkplate6::Inkplate6::display_data_5_pin_
protected

Definition at line 174 of file inkplate.h.

◆ display_data_6_pin_

InternalGPIOPin* esphome::inkplate6::Inkplate6::display_data_6_pin_
protected

Definition at line 175 of file inkplate.h.

◆ display_data_7_pin_

InternalGPIOPin* esphome::inkplate6::Inkplate6::display_data_7_pin_
protected

Definition at line 176 of file inkplate.h.

◆ full_update_every_

uint32_t esphome::inkplate6::Inkplate6::full_update_every_
protected

Definition at line 160 of file inkplate.h.

◆ glut2_

uint32_t* esphome::inkplate6::Inkplate6::glut2_ {nullptr}
protected

Definition at line 157 of file inkplate.h.

◆ glut_

uint32_t* esphome::inkplate6::Inkplate6::glut_ {nullptr}
protected

Definition at line 156 of file inkplate.h.

◆ gmod_pin_

GPIOPin* esphome::inkplate6::Inkplate6::gmod_pin_
protected

Definition at line 181 of file inkplate.h.

◆ gpio0_enable_pin_

GPIOPin* esphome::inkplate6::Inkplate6::gpio0_enable_pin_
protected

Definition at line 180 of file inkplate.h.

◆ greyscale_

bool esphome::inkplate6::Inkplate6::greyscale_
protected

Definition at line 164 of file inkplate.h.

◆ le_pin_

InternalGPIOPin* esphome::inkplate6::Inkplate6::le_pin_
protected

Definition at line 182 of file inkplate.h.

◆ LUT2

const uint8_t esphome::inkplate6::Inkplate6::LUT2[16]
Initial value:
= {0xAA, 0xA9, 0xA6, 0xA5, 0x9A, 0x99, 0x96, 0x95,
0x6A, 0x69, 0x66, 0x65, 0x5A, 0x59, 0x56, 0x55}

Definition at line 21 of file inkplate.h.

◆ LUTB

const uint8_t esphome::inkplate6::Inkplate6::LUTB[16]
Initial value:
= {0xFF, 0xFD, 0xF7, 0xF5, 0xDF, 0xDD, 0xD7, 0xD5,
0x7F, 0x7D, 0x77, 0x75, 0x5F, 0x5D, 0x57, 0x55}

Definition at line 25 of file inkplate.h.

◆ LUTW

const uint8_t esphome::inkplate6::Inkplate6::LUTW[16]
Initial value:
= {0xFF, 0xFE, 0xFB, 0xFA, 0xEF, 0xEE, 0xEB, 0xEA,
0xBF, 0xBE, 0xBB, 0xBA, 0xAF, 0xAE, 0xAB, 0xAA}

Definition at line 23 of file inkplate.h.

◆ model_

InkplateModel esphome::inkplate6::Inkplate6::model_
protected

Definition at line 167 of file inkplate.h.

◆ oe_pin_

GPIOPin* esphome::inkplate6::Inkplate6::oe_pin_
protected

Definition at line 183 of file inkplate.h.

◆ panel_on_

bool esphome::inkplate6::Inkplate6::panel_on_ {false}
protected

Definition at line 150 of file inkplate.h.

◆ partial_buffer_

uint8_t* esphome::inkplate6::Inkplate6::partial_buffer_ {nullptr}
protected

Definition at line 153 of file inkplate.h.

◆ partial_buffer_2_

uint8_t* esphome::inkplate6::Inkplate6::partial_buffer_2_ {nullptr}
protected

Definition at line 154 of file inkplate.h.

◆ partial_updates_

uint32_t esphome::inkplate6::Inkplate6::partial_updates_ {0}
protected

Definition at line 161 of file inkplate.h.

◆ partial_updating_

bool esphome::inkplate6::Inkplate6::partial_updating_
protected

Definition at line 165 of file inkplate.h.

◆ pin_lut_

uint32_t esphome::inkplate6::Inkplate6::pin_lut_[256]
protected

Definition at line 158 of file inkplate.h.

◆ pixelMaskGLUT

const uint8_t esphome::inkplate6::Inkplate6::pixelMaskGLUT[2] = {0x0F, 0xF0}

Definition at line 29 of file inkplate.h.

◆ pixelMaskLUT

const uint8_t esphome::inkplate6::Inkplate6::pixelMaskLUT[8] = {0x1, 0x2, 0x4, 0x8, 0x10, 0x20, 0x40, 0x80}

Definition at line 28 of file inkplate.h.

◆ powerup_pin_

GPIOPin* esphome::inkplate6::Inkplate6::powerup_pin_
protected

Definition at line 184 of file inkplate.h.

◆ sph_pin_

GPIOPin* esphome::inkplate6::Inkplate6::sph_pin_
protected

Definition at line 185 of file inkplate.h.

◆ spv_pin_

GPIOPin* esphome::inkplate6::Inkplate6::spv_pin_
protected

Definition at line 186 of file inkplate.h.

◆ temperature_

uint8_t esphome::inkplate6::Inkplate6::temperature_
protected

Definition at line 151 of file inkplate.h.

◆ vcom_pin_

GPIOPin* esphome::inkplate6::Inkplate6::vcom_pin_
protected

Definition at line 187 of file inkplate.h.

◆ wakeup_pin_

GPIOPin* esphome::inkplate6::Inkplate6::wakeup_pin_
protected

Definition at line 188 of file inkplate.h.

◆ waveform3Bit

const uint8_t esphome::inkplate6::Inkplate6::waveform3Bit[8][8]
Initial value:
= {{0, 1, 1, 0, 0, 1, 1, 0}, {0, 1, 2, 1, 1, 2, 1, 0}, {1, 1, 1, 2, 2, 1, 0, 0},
{0, 0, 0, 1, 1, 1, 2, 0}, {2, 1, 1, 1, 2, 1, 2, 0}, {2, 2, 1, 1, 2, 1, 2, 0},
{1, 1, 1, 2, 1, 2, 2, 0}, {0, 0, 0, 0, 0, 0, 2, 0}}

Definition at line 31 of file inkplate.h.

◆ waveform3Bit6Plus

const uint8_t esphome::inkplate6::Inkplate6::waveform3Bit6Plus[8][9]
Initial value:
= {{0, 0, 0, 0, 0, 2, 1, 1, 0}, {0, 0, 2, 1, 1, 1, 2, 1, 0},
{0, 2, 2, 2, 1, 1, 2, 1, 0}, {0, 0, 2, 2, 2, 1, 2, 1, 0},
{0, 0, 0, 0, 2, 2, 2, 1, 0}, {0, 0, 2, 1, 2, 1, 1, 2, 0},
{0, 0, 2, 2, 2, 1, 1, 2, 0}, {0, 0, 0, 0, 2, 2, 2, 2, 0}}

Definition at line 34 of file inkplate.h.


The documentation for this class was generated from the following files: