Struct pcd8544::PCD8544 [−][src]
pub struct PCD8544<'a> { /* fields omitted */ }
Methods
impl<'a> PCD8544<'a>
[src]
impl<'a> PCD8544<'a>
pub fn new(
clk: &'a mut OutputPin,
din: &'a mut OutputPin,
dc: &'a mut OutputPin,
ce: &'a mut OutputPin,
rst: &'a mut OutputPin,
light: &'a mut OutputPin
) -> PCD8544<'a>
[src]
pub fn new(
clk: &'a mut OutputPin,
din: &'a mut OutputPin,
dc: &'a mut OutputPin,
ce: &'a mut OutputPin,
rst: &'a mut OutputPin,
light: &'a mut OutputPin
) -> PCD8544<'a>
pub fn reset(&mut self)
[src]
pub fn reset(&mut self)
pub fn init(&mut self)
[src]
pub fn init(&mut self)
pub fn clear(&mut self)
[src]
pub fn clear(&mut self)
pub fn set_power_down(&mut self, power_down: bool)
[src]
pub fn set_power_down(&mut self, power_down: bool)
pub fn set_entry_mode(&mut self, entry_mode: bool)
[src]
pub fn set_entry_mode(&mut self, entry_mode: bool)
pub fn x(&self) -> u8
[src]
pub fn x(&self) -> u8
pub fn y(&self) -> u8
[src]
pub fn y(&self) -> u8
pub fn set_x_position(&mut self, x: u8)
[src]
pub fn set_x_position(&mut self, x: u8)
pub fn set_y_position(&mut self, y: u8)
[src]
pub fn set_y_position(&mut self, y: u8)
pub fn set_light(&mut self, enabled: bool)
[src]
pub fn set_light(&mut self, enabled: bool)
pub fn set_display_mode(&mut self, mode: DisplayMode)
[src]
pub fn set_display_mode(&mut self, mode: DisplayMode)
pub fn set_bias_mode(&mut self, bias: BiasMode)
[src]
pub fn set_bias_mode(&mut self, bias: BiasMode)
pub fn set_temperature_coefficient(
&mut self,
coefficient: TemperatureCoefficient
)
[src]
pub fn set_temperature_coefficient(
&mut self,
coefficient: TemperatureCoefficient
)
pub fn set_contrast(&mut self, contrast: u8)
[src]
pub fn set_contrast(&mut self, contrast: u8)
contrast in range of 0..128
pub fn enable_extended_commands(&mut self, enable: bool)
[src]
pub fn enable_extended_commands(&mut self, enable: bool)
pub fn write_command(&mut self, value: u8)
[src]
pub fn write_command(&mut self, value: u8)
pub fn write_data(&mut self, value: u8)
[src]
pub fn write_data(&mut self, value: u8)
Trait Implementations
impl<'a> Write for PCD8544<'a>
[src]
impl<'a> Write for PCD8544<'a>
fn write_str(&mut self, s: &str) -> Result
[src]
fn write_str(&mut self, s: &str) -> Result
Writes a slice of bytes into this writer, returning whether the write succeeded. Read more
fn write_char(&mut self, c: char) -> Result<(), Error>
1.1.0[src]
fn write_char(&mut self, c: char) -> Result<(), Error>
1.1.0
[src]Writes a [char
] into this writer, returning whether the write succeeded. Read more
fn write_fmt(&mut self, args: Arguments) -> Result<(), Error>
1.0.0[src]
fn write_fmt(&mut self, args: Arguments) -> Result<(), Error>
1.0.0
[src]Glue for usage of the [write!
] macro with implementors of this trait. Read more