pub struct ControllerOptions {
pub dynamic_addr: u8,
pub stall_time: u8,
pub hot_join_allowed: bool,
pub high_keeper_sda: bool,
}Expand description
Controller-specific options written to TIMINGR2 and CFGR.
Fields§
§dynamic_addr: u8Dynamic address used when the controller acts as a target (0 = none).
stall_time: u8Controller clock stall time in kernel cycles (TIMINGR2.STALL).
hot_join_allowed: boolAcknowledge hot-join requests from targets.
high_keeper_sda: boolEnable SDA high-keeper.
Trait Implementations§
Source§impl Clone for ControllerOptions
impl Clone for ControllerOptions
Source§fn clone(&self) -> ControllerOptions
fn clone(&self) -> ControllerOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ControllerOptions
impl Debug for ControllerOptions
Source§impl Default for ControllerOptions
impl Default for ControllerOptions
Source§impl Format for ControllerOptions
impl Format for ControllerOptions
Source§impl PartialEq for ControllerOptions
impl PartialEq for ControllerOptions
impl Copy for ControllerOptions
impl Eq for ControllerOptions
impl StructuralPartialEq for ControllerOptions
Auto Trait Implementations§
impl Freeze for ControllerOptions
impl RefUnwindSafe for ControllerOptions
impl Send for ControllerOptions
impl Sync for ControllerOptions
impl Unpin for ControllerOptions
impl UnwindSafe for ControllerOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more