gc9a01-rs 0.3.0

SPI 4-wire driver for GC9A01 display controller
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Display Rotation

/// Screen Rotation
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum DisplayRotation {
    Rotate0,
    Rotate90,
    Rotate180,
    Rotate270,
}

impl Default for DisplayRotation {
    fn default() -> Self {
        Self::Rotate0
    }
}