mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-03 18:40:59 +02:00
36 lines
1.9 KiB
C
36 lines
1.9 KiB
C
/*
|
|
* SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "soc/soc_caps.h"
|
|
#include "soc/soc_caps_eval.h"
|
|
|
|
/*--------------------------- Timer Group -------------------------------------------*/
|
|
#define _SOC_CAPS_TIMG_INST_NUM 2 // Number of Timer Group instances
|
|
|
|
/*--------------------------- GPTIMER ---------------------------------------*/
|
|
#define _SOC_CAPS_GPTIMER_COUNTER_BIT_WIDTH 54 // Bit width of GPTIMER counter
|
|
#define _SOC_CAPS_GPTIMER_TIMERS_PER_TIMG 1 // Number of general purpose timers in each Timer Group
|
|
#define _SOC_CAPS_GPTIMER_TIMERS_TOTAL (_SOC_CAPS_TIMG_INST_NUM * _SOC_CAPS_GPTIMER_TIMERS_PER_TIMG)
|
|
|
|
/*--------------------------- Watch Dog ------------------------------------------*/
|
|
#define _SOC_CAPS_WDT_MWDTS_PER_TIMG 1 // Number of main watchdog timers in each Timer Group
|
|
|
|
/*--------------------------- SDM (Sigma-Delta Modulator) ------------------------*/
|
|
#define _SOC_CAPS_SDM_INST_NUM 1 // Number of SDM instances
|
|
#define _SOC_CAPS_SDM_CHANS_PER_INST 4 // Number of channels in each SDM instance
|
|
|
|
/*--------------------------- PCNT (Pulse Counter) ------------------------*/
|
|
#define _SOC_CAPS_PCNT_INST_NUM 1 // Number of PCNT instances
|
|
#define _SOC_CAPS_PCNT_UNITS_PER_INST 4 // Number of units in each PCNT instance
|
|
#define _SOC_CAPS_PCNT_CHANS_PER_UNIT 2 // Number of channels in each PCNT unit
|
|
#define _SOC_CAPS_PCNT_THRES_POINT_PER_UNIT 2 // Number of threshold points in each PCNT unit
|
|
|
|
/*--------------------------- ETM (Event Task Matrix) ----------------------------*/
|
|
#define _SOC_CAPS_ETM_INST_NUM 1 // Number of ETM instances
|
|
#define _SOC_CAPS_ETM_CHANS_PER_INST 50 // Number of channels in each ETM instance
|