pub struct DCF77Utils {
    pub first_minute: bool,
    pub new_minute: bool,
    pub second: u8,
    pub radio_datetime: RadioDateTimeUtils,
    pub parity_1: Option<bool>,
    pub parity_2: Option<bool>,
    pub parity_3: Option<bool>,
    pub frame_counter: u8,
    pub led_time: bool,
    pub led_bit: bool,
    pub led_error: bool,
    /* private fields */
}
Expand description

DCF77 decoder class

Fields

first_minute: boolnew_minute: boolsecond: u8radio_datetime: RadioDateTimeUtilsparity_1: Option<bool>parity_2: Option<bool>parity_3: Option<bool>frame_counter: u8led_time: boolled_bit: boolled_error: bool

Implementations

Return a character representation of the minute length status.

Return a character representation of the bit 0 status

Return a character representation of the call bit status

Return a character representation of the bit 20 status

Return a textual representation of the weekday

Increase or reset second and clear first_minute when appropriate.

Do things when a new timer tick arrives.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.