pub struct FsmTimeout { /* private fields */ }unstable only.Expand description
When the FSM remains unchanged for more than the 2^ the given amount of bus clock cycles a timeout will be triggered.
The default value is 23 (2^23 clock cycles).
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Implementations§
Source§impl FsmTimeout
impl FsmTimeout
Sourcepub const fn new_const<const VALUE: u8>() -> Self
pub const fn new_const<const VALUE: u8>() -> Self
Creates a new timeout.
The meaning of the value and the allowed range of values is different for different chips.
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Sourcepub fn new(value: u8) -> Result<Self, ConfigError>
pub fn new(value: u8) -> Result<Self, ConfigError>
Creates a new timeout.
The meaning of the value and the allowed range of values is different for different chips.
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Trait Implementations§
Source§impl Clone for FsmTimeout
impl Clone for FsmTimeout
Source§fn clone(&self) -> FsmTimeout
fn clone(&self) -> FsmTimeout
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more