pub struct W(_);
Register SR2 writer
SR2
Bit 0 - Interrupt rising edge status
Bit 1 - Interrupt high-level status
Bit 2 - Interrupt falling edge status
Bit 3 - Interrupt rising edge detection enable bit
Bit 4 - Interrupt high-level detection enable bit
Bit 5 - Interrupt falling edge detection enable bit
Writes raw bits to the register.
Read datasheet or reference manual to find what values are allowed to pass.
TypeId
self
Returns the argument unchanged.
Calls U::from(self).
U::from(self)
That is, this conversion is whatever the implementation of From<T> for U chooses to do.
From<T> for U