|
|
@@ -18,6 +18,8 @@
|
|
|
extern "C" {
|
|
|
#endif
|
|
|
|
|
|
+#include "soc/pcnt_caps.h"
|
|
|
+
|
|
|
#define PCNT_PIN_NOT_USED (-1) /*!< When selected for a pin, this pin will not be used */
|
|
|
|
|
|
/**
|
|
|
@@ -43,7 +45,7 @@ typedef enum {
|
|
|
PCNT_UNIT_7 = 7, /*!< PCNT unit 7 */
|
|
|
#endif
|
|
|
PCNT_UNIT_MAX,
|
|
|
-} pcnt_unit_t;
|
|
|
+} pcnt_unit_t;
|
|
|
|
|
|
/**
|
|
|
* @brief Selection of available modes that determine the counter's action depending on the state of the control signal's input GPIO
|