Atmel Evaluation Kit AT91SAM9X25-EK AT91SAM9X25-EK Data Sheet

Product codes
AT91SAM9X25-EK
Page of 1151
616
SAM9X25 [DATASHEET]
11054E–ATARM–10-Mar-2014
34.8.4 Write Operation
In write operation, the HSMCI Mode Register (HSMCI_MR) is used to define the padding value when writing non-multiple 
block size. If the bit PADV is 0, then 0x00 value is used when padding data, otherwise 0xFF is used.
If set, the bit DMAEN in the HSMCI_DMA register enables DMA transfer.
The following flowchart (
) shows how to write a single block with or without use of DMA facilities. Polling or 
interrupt method can be used to wait for the end of write according to the contents of the Interrupt Mask Register 
(HSMCI_IMR).