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)
pcnt_ll_get_count() is called by 2 functions:
![]()
pcnt_ll_get_count()
pcnt_ll_get_count() reads 3 variables and writes 1 variable:
![]()
pcnt_ll_get_count()