DocID025202 Rev 7
140/1080
RM0365
Reset and clock control (RCC)
154
9.4.7
APB2 peripheral clock enable register (RCC_APB2ENR)
Address: 0x18
Reset value: 0x0000 0000
Access: word, half-word and byte access
No wait states, except if the access occurs while an access to a peripheral in the APB2
domain is on going. In this case, wait states are inserted until the access to APB2 peripheral
is finished.
Note:
When the peripheral clock is not active, the peripheral register values may not be readable
by software and the returned value is always 0x0.
Bit 2
SRAMEN:
SRAM interface clock enable
Set and cleared by software to disable/enable SRAM interface clock during Sleep mode.
0: SRAM interface clock disabled during Sleep mode.
1: SRAM interface clock enabled during Sleep mode
Bit 1
DMA2EN:
DMA2 clock enable (STM32F302xB/C devices only)
Set and cleared by software.
0: DMA2 clock disabled
1: DMA2 clock enabled
Bit 0
DMA1EN:
DMA1 clock enable
Set and cleared by software.
0: DMA1 clock disabled
1: DMA1 clock enabled
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
TIM17
EN
TIM16
EN
TIM15
EN
rw
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
SPI4E
N
USART
1EN
Res
SPI1
EN
TIM1
EN
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
SYS
CFGEN
rw
rw
rw
rw
rw
Bits 31:19 Reserved, must be kept at reset value.
Bit 18
TIM17EN:
TIM17 timer clock enable
Set and cleared by software.
0: TIM17 timer clock disabled
1: TIM17 timer clock enabled
Bit 17
TIM16EN:
TIM16 timer clock enable
Set and cleared by software.
0: TIM16 timer clock disabled
1: TIM16 timer clock enabled
Bit 16
TIM15EN:
TIM15 timer clock enable
Set and cleared by software.
0: TIM15 timer clock disabled
1: TIM15 timer clock enabled