pub struct W(_);
Expand description
Register IDSTS
writer
Implementations§
§impl W
impl W
pub fn ti(&mut self) -> BitWriterRaw<'_, u32, IDSTS_SPEC, bool, BitM, 0>
pub fn ti(&mut self) -> BitWriterRaw<'_, u32, IDSTS_SPEC, bool, BitM, 0>
Bit 0 - Transmit Interrupt. Indicates that data transmission is finished for a descriptor. Writing 1 clears this bit.
pub fn ri(&mut self) -> BitWriterRaw<'_, u32, IDSTS_SPEC, bool, BitM, 1>
pub fn ri(&mut self) -> BitWriterRaw<'_, u32, IDSTS_SPEC, bool, BitM, 1>
Bit 1 - Receive Interrupt. Indicates the completion of data reception for a descriptor. Writing 1 clears this bit.
pub fn fbe(&mut self) -> BitWriterRaw<'_, u32, IDSTS_SPEC, bool, BitM, 2>
pub fn fbe(&mut self) -> BitWriterRaw<'_, u32, IDSTS_SPEC, bool, BitM, 2>
Bit 2 - Fatal Bus Error Interrupt. Indicates that a Bus Error occurred (IDSTS[12:10]) . When this bit is set, the DMA disables all its bus accesses. Writing 1 clears this bit.
pub fn du(&mut self) -> BitWriterRaw<'_, u32, IDSTS_SPEC, bool, BitM, 4>
pub fn du(&mut self) -> BitWriterRaw<'_, u32, IDSTS_SPEC, bool, BitM, 4>
Bit 4 - Descriptor Unavailable Interrupt. This bit is set when the descriptor is unavailable due to OWNER bit = 0 (DES0[31] = 0). Writing 1 clears this bit.
pub fn ces(&mut self) -> BitWriterRaw<'_, u32, IDSTS_SPEC, bool, BitM, 5>
pub fn ces(&mut self) -> BitWriterRaw<'_, u32, IDSTS_SPEC, bool, BitM, 5>
Bit 5 - Card Error Summary. Indicates the status of the transaction to/from the card, also present in RINTSTS. Indicates the logical OR of the following bits: EBE : End Bit Error; RTO : Response Timeout/Boot Ack Timeout; RCRC : Response CRC; SBE : Start Bit Error; DRTO : Data Read Timeout/BDS timeout; DCRC : Data CRC for Receive; RE : Response Error. Writing 1 clears this bit. The abort condition of the IDMAC depends on the setting of this CES bit. If the CES bit is enabled, then the IDMAC aborts on a response error.
pub fn nis(&mut self) -> BitWriterRaw<'_, u32, IDSTS_SPEC, bool, BitM, 8>
pub fn nis(&mut self) -> BitWriterRaw<'_, u32, IDSTS_SPEC, bool, BitM, 8>
Bit 8 - Normal Interrupt Summary. Logical OR of the following: IDSTS[0] : Transmit Interrupt, IDSTS[1] : Receive Interrupt. Only unmasked bits affect this bit. This is a sticky bit and must be cleared each time a corresponding bit that causes NIS to be set is cleared. Writing 1 clears this bit.
pub fn ais(&mut self) -> BitWriterRaw<'_, u32, IDSTS_SPEC, bool, BitM, 9>
pub fn ais(&mut self) -> BitWriterRaw<'_, u32, IDSTS_SPEC, bool, BitM, 9>
Bit 9 - Abnormal Interrupt Summary. Logical OR of the following: IDSTS[2] : Fatal Bus Interrupt, IDSTS[4] : DU bit Interrupt. Only unmasked bits affect this bit. This is a sticky bit and must be cleared each time a corresponding bit that causes AIS to be set is cleared. Writing 1 clears this bit.
pub fn fbe_code(
&mut self
) -> FieldWriterRaw<'_, u32, IDSTS_SPEC, u8, u8, Unsafe, 3, 10>
pub fn fbe_code(
&mut self
) -> FieldWriterRaw<'_, u32, IDSTS_SPEC, u8, u8, Unsafe, 3, 10>
Bits 10:12 - Fatal Bus Error Code. Indicates the type of error that caused a Bus Error. Valid only when the Fatal Bus Error bit IDSTS[2] is set. This field does not generate an interrupt. 001: Host Abort received during transmission; 010: Host Abort received during reception; Others: Reserved.
pub fn fsm(
&mut self
) -> FieldWriterRaw<'_, u32, IDSTS_SPEC, u8, u8, Unsafe, 4, 13>
pub fn fsm(
&mut self
) -> FieldWriterRaw<'_, u32, IDSTS_SPEC, u8, u8, Unsafe, 4, 13>
Bits 13:16 - DMAC FSM present state. 0: DMA_IDLE (idle state); 1: DMA_SUSPEND (suspend state); 2: DESC_RD (descriptor reading state); 3: DESC_CHK (descriptor checking state); 4: DMA_RD_REQ_WAIT (read-data request waiting state); 5: DMA_WR_REQ_WAIT (write-data request waiting state); 6: DMA_RD (data-read state); 7: DMA_WR (data-write state); 8: DESC_CLOSE (descriptor close state).
Methods from Deref<Target = W<IDSTS_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.