pub struct R(_);
Expand description
Register ESR
reader
Implementations
sourceimpl R
impl R
sourcepub fn tea(&self) -> FieldReaderRaw<u8, u8>
pub fn tea(&self) -> FieldReaderRaw<u8, u8>
Bits 0:6 - Transfer Error Address These bits are set and cleared by HW, in case of an MDMA data transfer error. It is used in conjunction with TED. This field indicates the 7 LSBits of the address which generated a transfer/access error. It may be used by SW to retrieve the failing address, by adding this value (truncated to the buffer transfer length size) to the current SAR/DAR value. Note: The SAR/DAR current value doesnt reflect this last address due to the FIFO management system. The SAR/DAR are only updated at the end of a (buffer) transfer (of TLEN+1 bytes). Note: It is not set in case of a link data error.
sourcepub fn ted(&self) -> BitReaderRaw<bool>
pub fn ted(&self) -> BitReaderRaw<bool>
Bit 7 - Transfer Error Direction These bit is set and cleared by HW, in case of an MDMA data transfer error.
sourcepub fn teld(&self) -> BitReaderRaw<bool>
pub fn teld(&self) -> BitReaderRaw<bool>
Bit 8 - Transfer Error Link Data These bit is set by HW, in case of a transfer error while reading the block link data structure. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register.
sourcepub fn temd(&self) -> BitReaderRaw<bool>
pub fn temd(&self) -> BitReaderRaw<bool>
Bit 9 - Transfer Error Mask Data These bit is set by HW, in case of a transfer error while writing the Mask Data. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register.
sourcepub fn ase(&self) -> BitReaderRaw<bool>
pub fn ase(&self) -> BitReaderRaw<bool>
Bit 10 - Address/Size Error These bit is set by HW, when the programmed address is not aligned with the data size. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register.
sourcepub fn bse(&self) -> BitReaderRaw<bool>
pub fn bse(&self) -> BitReaderRaw<bool>
Bit 11 - Block Size Error These bit is set by HW, when the block size is not an integer multiple of the data size either for source or destination. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register.
Methods from Deref<Target = R<ESR_SPEC>>
sourcepub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.