Macro on_off_sequence_output::set_output_forever[][src]

macro_rules! set_output_forever {
    ($a:expr, $b:expr) => { ... };
}
Expand description

Simplified setting of the output with infinite repetitions

The number of the output states is automatically computed It requires that the last output state equals to one

Arguments

  • Instance of OnOffSequenceOutput
  • bitfield (u128) - MSB of the Output sequence must be one

Examples

set_output_forever!(ledout, 0b1000);
// ... is equivalent to ...
// ledout.set(0b1000, 4, Repeat::Forever);