pub const fn set(i: usize) -> FieldValue<u32, Register>
Expand description

Construct a FieldValue that can be used to set the output of the specified pin.

Panic

Panics if i is outside the range 0..PINS_PER_REGISTER.