pcnt_ll_get_count() function
Get pulse counter value
Syntax
__attribute__((always_inline))
static inline int pcnt_ll_get_count(pcnt_dev_t *hw,
uint32_t unit);
Arguments
hw
Peripheral PCNT hardware instance address.
unit
Pulse Counter unit number
Return value
PCNT count value (a signed integer)