mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
Update LEDC, PCNT,Timer_Group driver for esp32s2beta.
This commit is contained in:
@@ -15,3 +15,16 @@
|
||||
#pragma once
|
||||
#include "soc/ledc_reg.h"
|
||||
#include "soc/ledc_struct.h"
|
||||
|
||||
/*
|
||||
Stores a bunch of per-ledc-peripheral data.
|
||||
*/
|
||||
typedef struct {
|
||||
const uint8_t sig_out0_idx;
|
||||
} ledc_signal_conn_t;
|
||||
|
||||
#if CONFIG_IDF_TARGET_ESP32S2BETA
|
||||
extern const ledc_signal_conn_t ledc_periph_signal[1];
|
||||
#elif defined CONFIG_IDF_TARGET_ESP32
|
||||
extern const ledc_signal_conn_t ledc_periph_signal[2];
|
||||
#endif
|
Reference in New Issue
Block a user