Not applicable
Aug 28, 2014
08:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 28, 2014
08:28 AM
Hi All,
It seems that the "PWMSP002_ClearPendingEvent" function doesn't clear the interrupt status flags if timers are concatenated in the CCU8yCC80/82 INTS registers.
For example, the following clears the CCU8ySWR register RPM flag (bit 0) in CC81 or CC83 but leaves the RPM flag (bit 0) in the CC80 or CC82 set.
Also there are no library definitions for bits 1, 3, 4, 5 in the CC8ySWR register
Also the trap event seems to be defined as bit 10 in the PWMSP002.h file when it is bit 11 (RTRPF) in the CC8ySWR register.
Any comments would be welcome
Best regards
Aaron
It seems that the "PWMSP002_ClearPendingEvent" function doesn't clear the interrupt status flags if timers are concatenated in the CCU8yCC80/82 INTS registers.
For example, the following clears the CCU8ySWR register RPM flag (bit 0) in CC81 or CC83 but leaves the RPM flag (bit 0) in the CC80 or CC82 set.
PWMSP002_ClearPendingEvent(&PWMSP002_Handle3, PWMSP002_PERIODMATCHEVENT);
Also there are no library definitions for bits 1, 3, 4, 5 in the CC8ySWR register
Also the trap event seems to be defined as bit 10 in the PWMSP002.h file when it is bit 11 (RTRPF) in the CC8ySWR register.
Any comments would be welcome
Best regards
Aaron
- Tags:
- IFX
0 Replies