2024-05-12 09:29 AM - edited 2024-05-12 09:30 AM
There is not information, on how to clear the flag (1 or 0), on register TIMx_SR (x=1,8,20).
I believe there were also other registers where it was not mentioned, how to clear them.
Solved! Go to Solution.
2024-05-12 09:43 AM
rc_w0 means you write zero to the bit to clear it, ie TIM->SR= 0xFFFFFFFE; clears UIF
"read/clear write0 (rc_w0) Software can read as well as clear this bit by writing 0. Writing 1 has no
effect on the bit value."
2024-05-12 09:43 AM
rc_w0 means you write zero to the bit to clear it, ie TIM->SR= 0xFFFFFFFE; clears UIF
"read/clear write0 (rc_w0) Software can read as well as clear this bit by writing 0. Writing 1 has no
effect on the bit value."
2024-05-12 09:51 AM - edited 2024-05-12 09:52 AM
Page 73 says it all.
Thats a bit embarrasing :grinning_face_with_sweat: