EasyManuals Logo

ST STM32F102 series User Manual

ST STM32F102 series
690 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #327 background imageLoading...
Page #327 background image
RM0008 General-purpose timer (TIMx)
327/690
13.4.17 DMA control register (TIMx_DCR)
Address offset: 0x48
Reset value: 0x0000
Bits 15:0 CCR4[15:0]: Capture/Compare Value.
1/ if CC4 channel is configured as output (CC4S bits):
CCR4 is the value to be loaded in the actual capture/compare 4 register (preload value).
It is loaded permanently if the preload feature is not selected in the TIMx_CCMR4 register (bit
OC4PE). Else the preload value is copied in the active capture/compare 4 register when an update
event occurs.
The active capture/compare register contains the value to be compared to the counter TIMx_CNT and
signalled on OC4 output.
2/ if CC4 channel is configured as input (CC4S bits in TIMx_CCMR4 register):
CCR4 is the counter value transferred by the last input capture 4 event (IC4).
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 (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 (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,
...

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F102 series and is the answer not in the manual?

ST STM32F102 series Specifications

General IconGeneral
BrandST
ModelSTM32F102 series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals