pub fn set_state(port: Port, pin: u8, value: PinState)
Expand description

Set a pin state (ie set high or low output voltage level). See also set_high() and set_low(). Sets the BSRR register. Atomic. Does not require a Pin struct.