[][src]Struct ls7366::str_register::Str

pub struct Str {
    pub cary: bool,
    pub borrow: bool,
    pub compare: bool,
    pub index: bool,
    pub count_enabled: bool,
    pub power_loss: bool,
    pub count_direction: Direction,
    pub sign_bit: SignBit,
}

Representation of the status register.

Fields

cary: bool

Carry (CNTR overflow) latch.

borrow: bool

Borrow (CNTR underflow) latch.

compare: bool

Compare (CNTR = DTR) latch.

index: bool

Index latch.

count_enabled: bool

Counter enabled status.

power_loss: bool

Power Loss latch. Set to true with power on.

count_direction: Direction

Direction of count.

sign_bit: SignBit

Sign bit for the counter (Cntr register).

Trait Implementations

impl Debug for Str[src]

impl PartialEq<Str> for Str[src]

Auto Trait Implementations

impl RefUnwindSafe for Str

impl Send for Str

impl Sync for Str

impl Unpin for Str

impl UnwindSafe for Str

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.