#[repr(C)]pub struct PamojaPca9685Outputs {
pub totem_pole: u8,
pub inverted: u8,
pub change_on_ack: u8,
}Expand description
How a PCA9685’s sixteen outputs are wired, the MODE2 register.
Fields§
§totem_pole: u81 for totem-pole outputs, the power-on setting; 0 for open-drain.
inverted: u81 to invert the output logic, for a board with no external driver.
change_on_ack: u81 to change the outputs on the acknowledge of each register write rather than on the stop condition.
Trait Implementations§
Source§impl Clone for PamojaPca9685Outputs
impl Clone for PamojaPca9685Outputs
Source§fn clone(&self) -> PamojaPca9685Outputs
fn clone(&self) -> PamojaPca9685Outputs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PamojaPca9685Outputs
Source§impl Debug for PamojaPca9685Outputs
impl Debug for PamojaPca9685Outputs
impl Eq for PamojaPca9685Outputs
Source§impl From<Outputs> for PamojaPca9685Outputs
impl From<Outputs> for PamojaPca9685Outputs
Source§impl From<PamojaPca9685Outputs> for Outputs
impl From<PamojaPca9685Outputs> for Outputs
Source§fn from(value: PamojaPca9685Outputs) -> Self
fn from(value: PamojaPca9685Outputs) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PamojaPca9685Outputs
impl PartialEq for PamojaPca9685Outputs
impl StructuralPartialEq for PamojaPca9685Outputs
Auto Trait Implementations§
impl Freeze for PamojaPca9685Outputs
impl RefUnwindSafe for PamojaPca9685Outputs
impl Send for PamojaPca9685Outputs
impl Sync for PamojaPca9685Outputs
impl Unpin for PamojaPca9685Outputs
impl UnsafeUnpin for PamojaPca9685Outputs
impl UnwindSafe for PamojaPca9685Outputs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more