reduced visibility of commands as they normally should only be needed interally
parent
864626f8fd
commit
4870b72336
|
|
@ -10,7 +10,7 @@ use interface;
|
||||||
#[allow(dead_code)]
|
#[allow(dead_code)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
#[derive(Copy, Clone)]
|
#[derive(Copy, Clone)]
|
||||||
pub enum Command {
|
pub(crate) enum Command {
|
||||||
/// Set Resolution, LUT selection, BWR pixels, gate scan direction, source shift direction, booster switch, soft reset
|
/// Set Resolution, LUT selection, BWR pixels, gate scan direction, source shift direction, booster switch, soft reset
|
||||||
PANEL_SETTING = 0x00,
|
PANEL_SETTING = 0x00,
|
||||||
/// selecting internal and external power
|
/// selecting internal and external power
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@ use self::constants::*;
|
||||||
use drawing::color::Color;
|
use drawing::color::Color;
|
||||||
|
|
||||||
pub mod command;
|
pub mod command;
|
||||||
pub use self::command::Command;
|
use self::command::Command;
|
||||||
|
|
||||||
|
|
||||||
/// EPD4in2 driver
|
/// EPD4in2 driver
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ use interface;
|
||||||
//#[allow(dead_code)]
|
//#[allow(dead_code)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
#[derive(Copy, Clone)]
|
#[derive(Copy, Clone)]
|
||||||
pub enum Command {
|
pub(crate) enum Command {
|
||||||
/// Driver Output control
|
/// Driver Output control
|
||||||
/// 3 Databytes:
|
/// 3 Databytes:
|
||||||
/// A[7:0]
|
/// A[7:0]
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
pub mod command;
|
pub(crate) mod command;
|
||||||
pub use self::command::Command;
|
|
||||||
|
|
||||||
// Original Waveforms from Waveshare
|
// Original Waveforms from Waveshare
|
||||||
pub(crate) const LUT_FULL_UPDATE: [u8; 30] =[
|
pub(crate) const LUT_FULL_UPDATE: [u8; 30] =[
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue