UM0306 General purpose timer (TIMx)
279/519
13.5.17 DMA control register (TIMx_DCR)
Address offset: 48h
Reset value: 0000h
13.5.18 DMA address for burst mode (TIMx_DMAR)
Address offset: 4Ch
Reset value: 0000h
1514131211109876543210
Reserved DBL[4:0] Reserved DBA[4:0]
rw rw rw rw rw rw rw rw rw rw
Bits 15:13 Reserved, always read as 0
Bits 12:8
DBL[4:0]: DMA Burst Length.
This 5-bits vector defines the length of DMA transfers in burst mode (the timer
recognizes a burst transfer when a read or a write access is done to the TIMx_DMAR
address), i.e. the number of bytes to be transferred.
00000: 1 byte,
00001: 2 bytes,
00010: 3 bytes,
...
10001: 18 bytes.
Bits 7:5 Reserved, always read as 0
Bits 4:0
DBA[4:0]: DMA Base Address.
This 5-bit vector defines the base-address for DMA transfers in burst mode (when
read/write access are done through the TIMx_DMAR address). DBA is defined as an
offset starting from the address of the TIMx_CR1 register.
Example:
00000: TIMx_CR1,
00001: TIMx_CR2,
00010: TIMx_SMCR,
...
1514131211109876543210
DMAB[15:0]
rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw
Bits 15:0
DMAB[15:0]: DMA register for burst accesses.
A read or write access to the DMAR register accesses the register located at the
address:
“(TIMx_CR1 address) + DBA + (DMA index)” in which:
TIMx_CR1 address is the address of the control register 1,
DBA is the DMA base address configured in the TIMx_DCR register,
DMA index is the offset automatically controlled by the DMA transfer, depending on
the length of the transfer DBL in the TIMx_DCR register.