pub struct W(_);
Expand description
Register INTMASK
writer
Implementations§
§impl W
impl W
pub fn int_mask(
&mut self
) -> FieldWriterRaw<'_, u32, INTMASK_SPEC, u16, u16, Unsafe, 16, 0>
pub fn int_mask(
&mut self
) -> FieldWriterRaw<'_, u32, INTMASK_SPEC, u16, u16, Unsafe, 16, 0>
Bits 0:15 - These bits used to mask unwanted interrupts. A value of 0 masks interrupt, and a value of 1 enables the interrupt. Bit 15 (EBE): End-bit error/no CRC error; Bit 14 (ACD): Auto command done; Bit 13 (SBE/BCI): Rx Start Bit Error; Bit 12 (HLE): Hardware locked write error; Bit 11 (FRUN): FIFO underrun/overrun error; Bit 10 (HTO): Data starvation-by-host timeout; Bit 9 (DRTO): Data read timeout; Bit 8 (RTO): Response timeout; Bit 7 (DCRC): Data CRC error; Bit 6 (RCRC): Response CRC error; Bit 5 (RXDR): Receive FIFO data request; Bit 4 (TXDR): Transmit FIFO data request; Bit 3 (DTO): Data transfer over; Bit 2 (CD): Command done; Bit 1 (RE): Response error; Bit 0 (CD): Card detect.
pub fn sdio_int_mask(
&mut self
) -> FieldWriterRaw<'_, u32, INTMASK_SPEC, u8, u8, Unsafe, 2, 16>
pub fn sdio_int_mask(
&mut self
) -> FieldWriterRaw<'_, u32, INTMASK_SPEC, u8, u8, Unsafe, 2, 16>
Bits 16:17 - SDIO interrupt mask, one bit for each card. Bit[17:16] correspond to card[15:0] respectively. When masked, SDIO interrupt detection for that card is disabled. 0 masks an interrupt, and 1 enables an interrupt.
Methods from Deref<Target = W<INTMASK_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.