idfxx 1.0.0
Modern C++23 components for ESP-IDF
Loading...
Searching...
No Matches
idfxx::lcd::stmpe610 Class Reference

STMPE610 resistive touch controller driver. More...

Inheritance diagram for idfxx::lcd::stmpe610:
idfxx::lcd::touch

Public Member Functions

 stmpe610 (std::shared_ptr< idfxx::lcd::panel_io > panel_io, struct config config)
 Creates a new stmpe610 touch controller.
 
 ~stmpe610 ()
 
 stmpe610 (const stmpe610 &)=delete
 
stmpe610operator= (const stmpe610 &)=delete
 
 stmpe610 (stmpe610 &&)=delete
 
stmpe610operator= (stmpe610 &&)=delete
 
esp_lcd_touch_handle_t idf_handle () const override
 Returns the underlying ESP-IDF handle.
 
- Public Member Functions inherited from idfxx::lcd::touch
virtual ~touch ()=default
 

Static Public Member Functions

static result< std::unique_ptr< stmpe610 > > make (std::shared_ptr< idfxx::lcd::panel_io > panel_io, struct config config)
 Creates a new stmpe610 touch controller.
 

Additional Inherited Members

- Public Types inherited from idfxx::lcd::touch
typedef std::move_only_function< void(uint16_t *x, uint16_t *y, uint16_t *strength, uint8_t *point_num, uint8_t max_point_num)> process_coordinates_callback
 Callback type for processing touch coordinates.
 

Detailed Description

STMPE610 resistive touch controller driver.

Driver for STMPE610-based resistive touch controllers, commonly paired with ILI9341 displays.

Definition at line 32 of file stmpe610.hpp.

Constructor & Destructor Documentation

◆ stmpe610() [1/3]

idfxx::lcd::stmpe610::stmpe610 ( std::shared_ptr< idfxx::lcd::panel_io panel_io,
struct config  config 
)
explicit

Creates a new stmpe610 touch controller.

Parameters
panel_ioThe panel I/O interface.
configConfiguration.
Note
Only available when CONFIG_COMPILER_CXX_EXCEPTIONS is enabled in menuconfig.
Exceptions
std::system_erroron error.

◆ ~stmpe610()

idfxx::lcd::stmpe610::~stmpe610 ( )

◆ stmpe610() [2/3]

idfxx::lcd::stmpe610::stmpe610 ( const stmpe610 )
delete

◆ stmpe610() [3/3]

idfxx::lcd::stmpe610::stmpe610 ( stmpe610 &&  )
delete

Member Function Documentation

◆ idf_handle()

esp_lcd_touch_handle_t idfxx::lcd::stmpe610::idf_handle ( ) const
overridevirtual

Returns the underlying ESP-IDF handle.

Implements idfxx::lcd::touch.

◆ make()

static result< std::unique_ptr< stmpe610 > > idfxx::lcd::stmpe610::make ( std::shared_ptr< idfxx::lcd::panel_io panel_io,
struct config  config 
)
static

Creates a new stmpe610 touch controller.

Parameters
panel_ioThe panel I/O interface.
configConfiguration.
Returns
The new stmpe610, or an error.

◆ operator=() [1/2]

stmpe610 & idfxx::lcd::stmpe610::operator= ( const stmpe610 )
delete

◆ operator=() [2/2]

stmpe610 & idfxx::lcd::stmpe610::operator= ( stmpe610 &&  )
delete

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