mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-07 15:15:21 +00:00
feat(timg): graduate the hal driver into a single component
This commit is contained in:
34
components/esp_hal_timg/esp32s3/timer_periph.c
Normal file
34
components/esp_hal_timg/esp32s3/timer_periph.c
Normal file
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2020-2025 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include "soc/timer_periph.h"
|
||||
|
||||
const soc_timg_gptimer_signal_desc_t soc_timg_gptimer_signals[2][2] = {
|
||||
[0] = {
|
||||
[0] = {
|
||||
.module_name = "TIMG0T0",
|
||||
.parent_module = PERIPH_TIMG0_MODULE,
|
||||
.irq_id = ETS_TG0_T0_LEVEL_INTR_SOURCE,
|
||||
},
|
||||
[1] = {
|
||||
.module_name = "TIMG0T1",
|
||||
.parent_module = PERIPH_TIMG0_MODULE,
|
||||
.irq_id = ETS_TG0_T1_LEVEL_INTR_SOURCE,
|
||||
},
|
||||
},
|
||||
[1] = {
|
||||
[0] = {
|
||||
.module_name = "TIMG1T0",
|
||||
.parent_module = PERIPH_TIMG1_MODULE,
|
||||
.irq_id = ETS_TG1_T0_LEVEL_INTR_SOURCE,
|
||||
},
|
||||
[1] = {
|
||||
.module_name = "TIMG1T1",
|
||||
.parent_module = PERIPH_TIMG1_MODULE,
|
||||
.irq_id = ETS_TG1_T1_LEVEL_INTR_SOURCE,
|
||||
},
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user