Datasheet

Table Of Contents
40.8.31 ADMA Error Status Register
Name:  AESR
Offset:  0x54
Reset:  0x00
Property:  -
Bit 7 6 5 4 3 2 1 0
LMIS ERRST[1:0]
Access
R R R
Reset 0 0 0
Bit 2 – LMIS ADMA Length Mismatch Error
This error occurs in the following two cases:
While Block Count Enable (BCEN) is being set, the total data length specified by the Descriptor table
is different from that specified by the Block Count (BLKCNT) and Transfer Block Size (BLKSIZE).
The total data length cannot be divided by the Transfer Block Size (BLKSIZE).
Value Description
0
No error
1
Error
Bits 1:0 – ERRST[1:0] ADMA Error State
This field indicates the state of ADMA when an error has occurred during an ADMA data transfer. This
field never indicates 2 because ADMA never stops in this state.
Value Name Description
0x0
ST_STOP (Stop DMA) Points to the descriptor following the error descriptor
0x1
ST_FDS (Fetch Descriptor) Points to the error descriptor
0x2
- Reserved
0x3
ST_TRF (Transfer Data) Points to the descriptor following the error descriptor
SAM D5x/E5x Family Data Sheet
SD/MMC Host Controller ...
© 2019 Microchip Technology Inc.
Datasheet
DS60001507E-page 1379