Function caerPolarityEventSetPolarity

Function Documentation

static inline void caerPolarityEventSetPolarity(caerPolarityEvent event, bool polarity)

Set the change event polarity. 1 is ON, 0 is OFF.

Parameters:
  • event – a valid PolarityEvent pointer. Cannot be NULL.

  • polarity – event polarity value.