Skip to main content
kurta999
Senior
February 8, 2019
Solved

delete this thread

  • February 8, 2019
  • 3 replies
  • 935 views

delete this thread

This topic has been closed for replies.
Best answer by waclawek.jan

1 << 8 = 256 and not 255.

It's okay if LL_RCC_SetRTCClockSource does not perform a further shift (which you can look up in Cube's sources that it does not).

JW

3 replies

waclawek.jan
waclawek.janBest answer
Super User
February 8, 2019

1 << 8 = 256 and not 255.

It's okay if LL_RCC_SetRTCClockSource does not perform a further shift (which you can look up in Cube's sources that it does not).

JW

kurta999
kurta999Author
Senior
February 8, 2019

Yes, you're right. Please delete this thread, it's OK.I tried to write that value into RTCSEL bits which is only 2 bit long. :grinning_face_with_sweat:

Technical Moderator
February 12, 2019

Hello @kurta999​ ,

It will be better do not delete discussions as it may be helpful for other users.

Thanks,

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks