Macro on_off_sequence_output::set_output_once [−][src]
macro_rules! set_output_once { ($a:expr, $b:expr) => { ... }; }
Expand description
Simplified setting of the output without 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_once!(ledout, 0b1100); // ... is equivalent to ... // ledout.set(0b1100, 4, Repeat::Never);