pub struct SdhciInterruptStatusRegister(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl SdhciInterruptStatusRegister
impl SdhciInterruptStatusRegister
pub fn tuning_error(&self) -> bool
pub fn adma_error(&self) -> bool
pub fn auto_cmd_error(&self) -> bool
pub fn current_limit_error(&self) -> bool
pub fn data_end_bit_error(&self) -> bool
pub fn data_crc_error(&self) -> bool
pub fn data_timeout_error(&self) -> bool
pub fn command_index_error(&self) -> bool
pub fn command_end_bit_error(&self) -> bool
pub fn command_crc_error(&self) -> bool
pub fn command_timeout_error(&self) -> bool
pub fn error(&self) -> bool
Sourcepub fn cqhci_interrupt(&self) -> bool
pub fn cqhci_interrupt(&self) -> bool
NB: This is technically reserved in the SDHCI spec. The CQHCI spec describes this bit.
pub fn card_interrupt(&self) -> bool
pub fn buffer_read_ready(&self) -> bool
pub fn buffer_write_ready(&self) -> bool
pub fn transfer_complete(&self) -> bool
pub fn command_complete(&self) -> bool
pub fn set_tuning_error(&mut self, value: bool)
pub fn set_adma_error(&mut self, value: bool)
pub fn set_auto_cmd_error(&mut self, value: bool)
pub fn set_current_limit_error(&mut self, value: bool)
pub fn set_data_end_bit_error(&mut self, value: bool)
pub fn set_data_crc_error(&mut self, value: bool)
pub fn set_data_timeout_error(&mut self, value: bool)
pub fn set_command_index_error(&mut self, value: bool)
pub fn set_command_end_bit_error(&mut self, value: bool)
pub fn set_command_crc_error(&mut self, value: bool)
pub fn set_command_timeout_error(&mut self, value: bool)
pub fn set_error(&mut self, value: bool)
Sourcepub fn set_cqhci_interrupt(&mut self, value: bool)
pub fn set_cqhci_interrupt(&mut self, value: bool)
NB: This is technically reserved in the SDHCI spec. The CQHCI spec describes this bit.
pub fn set_card_interrupt(&mut self, value: bool)
pub fn set_buffer_read_ready(&mut self, value: bool)
pub fn set_buffer_write_ready(&mut self, value: bool)
pub fn set_transfer_complete(&mut self, value: bool)
pub fn set_command_complete(&mut self, value: bool)
Trait Implementations§
Source§impl<T> BitRange<T> for SdhciInterruptStatusRegister
impl<T> BitRange<T> for SdhciInterruptStatusRegister
Source§impl<T> BitRangeMut<T> for SdhciInterruptStatusRegisterwhere
u32: BitRangeMut<T>,
impl<T> BitRangeMut<T> for SdhciInterruptStatusRegisterwhere
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.
Source§impl Clone for SdhciInterruptStatusRegister
impl Clone for SdhciInterruptStatusRegister
Source§fn clone(&self) -> SdhciInterruptStatusRegister
fn clone(&self) -> SdhciInterruptStatusRegister
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 SdhciInterruptStatusRegister
impl Debug for SdhciInterruptStatusRegister
impl Copy for SdhciInterruptStatusRegister
Auto Trait Implementations§
impl Freeze for SdhciInterruptStatusRegister
impl RefUnwindSafe for SdhciInterruptStatusRegister
impl Send for SdhciInterruptStatusRegister
impl Sync for SdhciInterruptStatusRegister
impl Unpin for SdhciInterruptStatusRegister
impl UnwindSafe for SdhciInterruptStatusRegister
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