mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
feat(mcpwm): ETM support mcpwm timer TEZ/TEP events
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2015-2023 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2015-2026 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -105,6 +105,15 @@ typedef enum {
|
||||
MCPWM_CAP_EDGE_NEG, /*!< Capture on the negative edge */
|
||||
} mcpwm_capture_edge_t;
|
||||
|
||||
/**
|
||||
* @brief MCPWM timer specific events that supported by the ETM module
|
||||
*/
|
||||
typedef enum {
|
||||
MCPWM_TIMER_ETM_EVENT_TEZ, /*!< The timer reaches zero */
|
||||
MCPWM_TIMER_ETM_EVENT_TEP, /*!< The timer reaches peak */
|
||||
MCPWM_TIMER_ETM_EVENT_MAX, /*!< Maximum number of timer events */
|
||||
} mcpwm_timer_etm_event_type_t;
|
||||
|
||||
/**
|
||||
* @brief MCPWM comparator specific events that supported by the ETM module
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user