pub struct Callback { /* private fields */ }
Sharing it across multiple interrupt callbacks may lead to a data race.
Register the callback, and enable the interrupt line in NVIC. You can call it only once.
Only call this in interrupt
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