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 0x10
§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§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for FsmTimeout
impl Debug for FsmTimeout
Source§impl Default for FsmTimeout
impl Default for FsmTimeout
Source§impl Hash for FsmTimeout
impl Hash for FsmTimeout
Source§impl PartialEq for FsmTimeout
impl PartialEq for FsmTimeout
impl Copy for FsmTimeout
impl Eq for FsmTimeout
impl StructuralPartialEq for FsmTimeout
Auto Trait Implementations§
impl Freeze for FsmTimeout
impl RefUnwindSafe for FsmTimeout
impl Send for FsmTimeout
impl Sync for FsmTimeout
impl Unpin for FsmTimeout
impl UnwindSafe for FsmTimeout
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit
)