Information missing in reference manual for register clearing interrupt status on G431
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-12 9:29 AM - edited ‎2024-05-12 9: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.
- Labels:
-
STM32G4 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-12 9: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."
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-12 9: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."
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-12 9:51 AM - edited ‎2024-05-12 9:52 AM
Page 73 says it all.
Thats a bit embarrasing :grinning_face_with_sweat:
