Data Fields

Field Documentation

Pointer to the controlblock in memory holding descriptors (channel control data structures). This memory must be properly aligned at a 256 bytes. I.e. the 8 least significant bits must be zero.

Please refer to the reference manual, DMA chapter for more details.

It is possible to provide a smaller memory block, only covering those channels actually used, if not all available channels are used. Ie, if only using 4 channels (0-3), both primary and alternate structures, then only 16*2*4 = 128 bytes must be provided. This implementation has however no check if later exceeding such a limit by configuring for instance channel 4, in which case memory overwrite of some other data will occur.