We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bc2a71 commit 8547008Copy full SHA for 8547008
Src/Soft_RNG.c
@@ -6,7 +6,7 @@ static void TIM2_Init(void)
6
{
7
RCC->APB1ENR |= RCC_APB1ENR_TIM2EN;
8
TIM2->CR1 &= ~TIM_CR1_DIR;
9
- TIM2->PSC = 15;
+ TIM2->PSC = 1;
10
TIM2->ARR = 0xFFFFFFFF;
11
TIM2->CR1 |= TIM_CR1_CEN;
12
}
0 commit comments