Crate xpt2046

Source
Expand description

A platform agnostic Rust driver for XPT2046 touch controller, based on the embedded-hal traits.

Re-exports§

pub use crate::calibration::CalibrationPoint;
pub use crate::error::BusError;
pub use crate::error::Error;
pub use crate::exti_pin::Xpt2046Exti;

Modules§

calibration
error
Error definition for the crate
exti_pin
Exti trait definition

Structs§

CalibrationData
TouchSamples
Xpt2046

Enums§

Orientation
Orientation of the touch screen
TouchScreenOperationMode
TouchScreenState
Current state of the driver