update
This commit is contained in:
parent
2a99f07150
commit
0bb67ff95c
|
@ -80,7 +80,12 @@ void boost_converter(void)
|
|||
TIM22->CR1 &= ~(uint32_t)TIM_CR1_UDIS;
|
||||
|
||||
/* update event can be caused by UG bit and overflow (this is default) */
|
||||
TIM22->CR1 &= ~(uint32_t)TIM_CR1_URS
|
||||
TIM22->CR1 &= ~(uint32_t)TIM_CR1_URS;
|
||||
|
||||
/* enable the counter */
|
||||
TIM22->CR1 |= TIM_CR1_CEN;
|
||||
|
||||
|
||||
|
||||
|
||||
TIMx->CR1 |= TIM_CR1_CEN; /* (6) */
|
||||
|
|
|
@ -225,4 +225,12 @@ A) short description of the STM32L0 RTC
|
|||
- special case for winter time change (double hour)
|
||||
C) Date calculation
|
||||
D) Code
|
||||
|
||||
|
||||
---------------
|
||||
|
||||
Man scheint die zeit nicht immer vorzeitig ausschalten zu können. Warum?
|
||||
Erneutes eingeben der alarmzeit behebt das problem.
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue