timer_periph.c 698 B

123456789101112131415161718192021222324252627
  1. /*
  2. * SPDX-FileCopyrightText: 2020-2021 Espressif Systems (Shanghai) CO LTD
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. #include "soc/soc.h"
  7. #include "soc/timer_periph.h"
  8. const timer_group_signal_conn_t timer_group_periph_signals = {
  9. .groups = {
  10. [0] = {
  11. .module = PERIPH_TIMG0_MODULE,
  12. .timer_irq_id = {
  13. [0] = ETS_TG0_T0_LEVEL_INTR_SOURCE,
  14. [1] = ETS_TG0_T1_LEVEL_INTR_SOURCE,
  15. }
  16. },
  17. [1] = {
  18. .module = PERIPH_TIMG1_MODULE,
  19. .timer_irq_id = {
  20. [0] = ETS_TG1_T0_LEVEL_INTR_SOURCE,
  21. [1] = ETS_TG1_T1_LEVEL_INTR_SOURCE,
  22. }
  23. }
  24. }
  25. };