Merge branch 'refactor/pcnt_isr_handling' into 'master'

refactor(pcnt): ISR handling

Closes IDF-10329

See merge request espressif/esp-idf!31911
This commit is contained in:
morris
2024-07-09 10:12:18 +08:00
15 changed files with 237 additions and 114 deletions

View File

@@ -335,6 +335,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;