core-s3 0.1.0

Board support crate for the M5Stack CoreS3 ESP32-S3 kit.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
mod sprite;

pub use sprite::{DirtySprite, DirtySpriteError, RegionSet};

/// CoreS3 native panel dimensions in landscape orientation.
pub const WIDTH: u16 = crate::devices::display::WIDTH;
pub const HEIGHT: u16 = crate::devices::display::HEIGHT;

#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub enum Orientation {
    Landscape,
    Portrait,
    LandscapeInverted,
    PortraitInverted,
}