You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
There are 2 bits that need to be set in order to actually enable sTimer compare interrupts
One is in STCFG, the other is in STMINTEN. The HAL only provides access to STMINTEN, thus you cannot enable sTimer Compare Interrupts using just the HAL.
So for example, if you wanted to use Compare A you would need to set both bit 8 of STCFG:
And bit 0 of STMINTEN:
The comment above is false "One is in STCFG, the other is in STMINTEN. The HAL only provides access to STMINTEN, thus you cannot enable sTimer Compare Interrupts using just the HAL."
Quick Steps to Reproduce:
Description
There are 2 bits that need to be set in order to actually enable sTimer compare interrupts
One is in STCFG, the other is in STMINTEN. The HAL only provides access to STMINTEN, thus you cannot enable sTimer Compare Interrupts using just the HAL.
So for example, if you wanted to use Compare A you would need to set both bit 8 of STCFG:
And bit 0 of STMINTEN:
Calling:
Allows user to set STMINTEN, but the HAL provides no way of setting the bit in STCFG.
In am_hal_stimer_compare_delta_set() we see:
However, since it is masked with its starting value, the bit is never set.
Suggestions:
The text was updated successfully, but these errors were encountered: