PWMSP002_ClearPendingEvent doesn't clear CC80/82 INTS bits if timers concatenated

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
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.


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
0 Likes
0 Replies