mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
feat(pcnt): support pcnt on esp32s31 & add group_id config
This commit is contained in:
@@ -59,6 +59,7 @@ typedef struct {
|
||||
* @brief PCNT unit configuration
|
||||
*/
|
||||
typedef struct {
|
||||
int group_id; /*!< Specify from which PCNT instance (peripheral group) to allocate the unit */
|
||||
pcnt_clock_source_t clk_src; /*!< Clock source for PCNT unit */
|
||||
int low_limit; /*!< Low limitation of the count unit, should be lower than 0 */
|
||||
int high_limit; /*!< High limitation of the count unit, should be higher than 0 */
|
||||
|
||||
Reference in New Issue
Block a user