refactor(pcnt): ISR handling

This commit is contained in:
morris
2024-07-04 18:24:15 +08:00
parent c6e8c7c02e
commit 6d223f1921
15 changed files with 237 additions and 114 deletions

View File

@@ -338,6 +338,7 @@ static inline int pcnt_ll_get_low_limit_value(pcnt_dev_t *hw, uint32_t unit)
* @param thres Threshold ID
* @return PCNT threshold value
*/
__attribute__((always_inline))
static inline int pcnt_ll_get_thres_value(pcnt_dev_t *hw, uint32_t unit, uint32_t thres)
{
int16_t value;