13.4.9 Addressing Modes

Following each transfer, the DMAxSRC and DMAxDST registers may be automatically updated by the channel. This potentially allows the channel to move data between multiple locations without the need for user intervention. Automatic address updating is controlled by the SAMODEx and DAMODEx bits (DMAxCH[15:14] and [13:12]).

The combination of the different address update options (fixed, increment or decrement) provides four supported addressing modes:
  • Fixed to Fixed
  • Fixed to Block
  • Block to Fixed
  • Block to Block

Table 13-23 shows the address modes and the various SAMODEx and DAMODEx combinations.

Table 13-23. Configurations for DMA Addressing Modes
Mode(1)SAMODE[1:0]DAMODE[1:0]
Fixed to Fixed0000
Fixed to Block (Address Increment)0001
Fixed to Block (Address Decrement)0010
Block to Fixed (Address Increment)0100
Block to Fixed (Address Decrement)1000
Block to Block (Address Increment)0101
Block to Block (Address Decrement)1010
Note:
  1. The increment and decrement of the address will be based on the SIZEx bits value.