mirror of
https://github.com/espressif/esp-idf
synced 2025-03-11 10:09:08 -04:00
In esp32p4, the MCPWM has a new feature, mainly ETM-oriented. Each operator has two event comparators, can generate an event when the count value of the timer that operator connects is equal to the value of event comparator.
22 lines
620 B
C
22 lines
620 B
C
/*
|
|
* SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/**
|
|
* @brief MCPWM peripheral contains many submodules, whose drivers are scattered in different header files.
|
|
* This header file serves as a prelude, contains every thing that is needed to work with the MCPWM peripheral.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "driver/mcpwm_timer.h"
|
|
#include "driver/mcpwm_oper.h"
|
|
#include "driver/mcpwm_cmpr.h"
|
|
#include "driver/mcpwm_gen.h"
|
|
#include "driver/mcpwm_fault.h"
|
|
#include "driver/mcpwm_sync.h"
|
|
#include "driver/mcpwm_cap.h"
|
|
#include "driver/mcpwm_etm.h"
|