pub struct ControllerMiscOption(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl ControllerMiscOption
impl ControllerMiscOption
pub fn differential_clock(&self) -> bool
pub fn word_addressable(&self) -> bool
pub fn safe_config_freq(&self) -> bool
pub fn ddr_mode(&self) -> bool
pub fn set_differential_clock(&mut self, value: bool)
pub fn set_word_addressable(&mut self, value: bool)
pub fn set_safe_config_freq(&mut self, value: bool)
pub fn set_ddr_mode(&mut self, value: bool)
Trait Implementations§
Source§impl<T> BitRange<T> for ControllerMiscOption
impl<T> BitRange<T> for ControllerMiscOption
Source§impl<T> BitRangeMut<T> for ControllerMiscOptionwhere
u32: BitRangeMut<T>,
impl<T> BitRangeMut<T> for ControllerMiscOptionwhere
u32: BitRangeMut<T>,
Source§fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
Set a range of bits.
Auto Trait Implementations§
impl Freeze for ControllerMiscOption
impl RefUnwindSafe for ControllerMiscOption
impl Send for ControllerMiscOption
impl Sync for ControllerMiscOption
impl Unpin for ControllerMiscOption
impl UnwindSafe for ControllerMiscOption
Blanket Implementations§
Source§impl<T> BitMut for Twhere
T: BitRangeMut<u8>,
impl<T> BitMut for Twhere
T: BitRangeMut<u8>,
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