#include <modm/driver/touch/touch2046.hpp>
|  | 
| enum | Orientation { Normal
 } | 
|  | 
|  | 
| bool | acquireMaster () | 
|  | 
| bool | releaseMaster () | 
|  | 
template<class SpiMaster, class Cs>
class modm::touch2046< SpiMaster, Cs >
- Author
- Raphael Lehmann
Datasheet TSC2046: https://www.ti.com/lit/ds/symlink/tsc2046.pdf 
template<class SpiMaster , class Cs > 
      
        
          | std::tuple<uint16_t,uint16_t,uint16_t> modm::touch2046< SpiMaster, Cs >::getRawValues | ( |  | ) |  | 
      
 
Get raw X, Y and Z values
- Returns
- Position and intensity of touch point. Full int16_t range. 
 
 
template<class SpiMaster , class Cs > 
      
        
          | std::tuple<uint16_t,uint16_t> modm::touch2046< SpiMaster, Cs >::getTouchPosition | ( |  | ) |  | 
      
 
Get touch position
- Returns
- Position (X, Y) of touch point. 
 
 
template<class SpiMaster , class Cs > 
      
 
Is screen touched?
- Returns
- bool true if screen is touched 
 
 
template<class SpiMaster , class Cs > 
 
 
The documentation for this class was generated from the following file: