Skip to content

Commit 62c1e81

Browse files
committed
refactor(soc): update soc_etm for esp32c61
1 parent 7dd093f commit 62c1e81

File tree

2 files changed

+2
-30
lines changed

2 files changed

+2
-30
lines changed

components/soc/esp32c61/register/soc/soc_etm_reg.h

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6022,15 +6022,6 @@ extern "C" {
60226022
#define SOC_ETM_ADC_TASK_SAMPLE0_ST_M (SOC_ETM_ADC_TASK_SAMPLE0_ST_V << SOC_ETM_ADC_TASK_SAMPLE0_ST_S)
60236023
#define SOC_ETM_ADC_TASK_SAMPLE0_ST_V 0x00000001U
60246024
#define SOC_ETM_ADC_TASK_SAMPLE0_ST_S 4
6025-
/** SOC_ETM_ADC_TASK_SAMPLE1_ST : R/WTC/SS; bitpos: [5]; default: 0;
6026-
* Represents ADC_TASK_SAMPLE1 trigger status.
6027-
* 0: Not triggered
6028-
* 1: Triggered
6029-
*/
6030-
#define SOC_ETM_ADC_TASK_SAMPLE1_ST (BIT(5))
6031-
#define SOC_ETM_ADC_TASK_SAMPLE1_ST_M (SOC_ETM_ADC_TASK_SAMPLE1_ST_V << SOC_ETM_ADC_TASK_SAMPLE1_ST_S)
6032-
#define SOC_ETM_ADC_TASK_SAMPLE1_ST_V 0x00000001U
6033-
#define SOC_ETM_ADC_TASK_SAMPLE1_ST_S 5
60346025
/** SOC_ETM_ADC_TASK_START0_ST : R/WTC/SS; bitpos: [6]; default: 0;
60356026
* Represents ADC_TASK_START0 trigger status.
60366027
* 0: Not triggered
@@ -6180,15 +6171,6 @@ extern "C" {
61806171
#define SOC_ETM_ADC_TASK_SAMPLE0_ST_CLR_M (SOC_ETM_ADC_TASK_SAMPLE0_ST_CLR_V << SOC_ETM_ADC_TASK_SAMPLE0_ST_CLR_S)
61816172
#define SOC_ETM_ADC_TASK_SAMPLE0_ST_CLR_V 0x00000001U
61826173
#define SOC_ETM_ADC_TASK_SAMPLE0_ST_CLR_S 4
6183-
/** SOC_ETM_ADC_TASK_SAMPLE1_ST_CLR : WT; bitpos: [5]; default: 0;
6184-
* Configures whether or not to clear ADC_TASK_SAMPLE1 trigger status.
6185-
* 0: Invalid. No effect
6186-
* 1: Clear
6187-
*/
6188-
#define SOC_ETM_ADC_TASK_SAMPLE1_ST_CLR (BIT(5))
6189-
#define SOC_ETM_ADC_TASK_SAMPLE1_ST_CLR_M (SOC_ETM_ADC_TASK_SAMPLE1_ST_CLR_V << SOC_ETM_ADC_TASK_SAMPLE1_ST_CLR_S)
6190-
#define SOC_ETM_ADC_TASK_SAMPLE1_ST_CLR_V 0x00000001U
6191-
#define SOC_ETM_ADC_TASK_SAMPLE1_ST_CLR_S 5
61926174
/** SOC_ETM_ADC_TASK_START0_ST_CLR : WT; bitpos: [6]; default: 0;
61936175
* Configures whether or not to clear ADC_TASK_START0 trigger status.
61946176
* 0: Invalid. No effect

components/soc/esp32c61/register/soc/soc_etm_struct.h

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1546,12 +1546,7 @@ typedef union {
15461546
* 1: Triggered
15471547
*/
15481548
uint32_t adc_task_sample0_st:1;
1549-
/** adc_task_sample1_st : R/WTC/SS; bitpos: [5]; default: 0;
1550-
* Represents ADC_TASK_SAMPLE1 trigger status.
1551-
* 0: Not triggered
1552-
* 1: Triggered
1553-
*/
1554-
uint32_t adc_task_sample1_st:1;
1549+
uint32_t reserved_5:1;
15551550
/** adc_task_start0_st : R/WTC/SS; bitpos: [6]; default: 0;
15561551
* Represents ADC_TASK_START0 trigger status.
15571552
* 0: Not triggered
@@ -3532,12 +3527,7 @@ typedef union {
35323527
* 1: Clear
35333528
*/
35343529
uint32_t adc_task_sample0_st_clr:1;
3535-
/** adc_task_sample1_st_clr : WT; bitpos: [5]; default: 0;
3536-
* Configures whether or not to clear ADC_TASK_SAMPLE1 trigger status.
3537-
* 0: Invalid. No effect
3538-
* 1: Clear
3539-
*/
3540-
uint32_t adc_task_sample1_st_clr:1;
3530+
uint32_t reserved_5:1;
35413531
/** adc_task_start0_st_clr : WT; bitpos: [6]; default: 0;
35423532
* Configures whether or not to clear ADC_TASK_START0 trigger status.
35433533
* 0: Invalid. No effect

0 commit comments

Comments
 (0)