pcnt_ll_set_edge_action() function
Set PCNT channel edge action
Arguments
hw
Peripheral PCNT hardware instance address.
channel
PCNT channel number
pos_act
Counter action when detecting positive edge
neg_act
Counter action when detecting negative edge