cancel
Showing results for 
Search instead for 
Did you mean: 

delete this thread

kurta999
Senior

delete this thread

1 ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

3 REPLIES 3

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
Senior

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:

Imen.D
ST Employee

Hello @kurta999​ ,

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

Thanks,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen