Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RCC_CSR_RTCEN for STM32L0 is wrong #720

Closed
samedcildir opened this issue Dec 8, 2016 · 1 comment
Closed

RCC_CSR_RTCEN for STM32L0 is wrong #720

samedcildir opened this issue Dec 8, 2016 · 1 comment

Comments

@samedcildir
Copy link

libopencm3/include/libopencm3/stm32/l0/rcc.h line 456-457

#define RCC_CSR_RTCRST (1 << 19)
#define RCC_CSR_RTCEN	 (1 << 19)

According to STM32L0x3 reference manual (RM0367) 7.3.21, RCC_CSR_RTCEN should be (1 << 18)

@karlp karlp closed this as completed in 7c3d39f Dec 8, 2016
@karlp
Copy link
Member

karlp commented Dec 8, 2016

indeed, thanks for reporting this. fixed in 7c3d39f

BOJIT pushed a commit to BOJIT/PlatformIO-libopencm3 that referenced this issue Jan 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants