1
6
7
8
9
14
15
16
17
18
19
22
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/* ... */
#pragma once
#include <stdint.h>
#include <stdbool.h>
#include "esp_err.h"
#include "esp_etm.h"
#include "driver/mcpwm_types.h"5 includes
#ifdef __cplusplus
extern "C" {
#endif
/* ... */
typedef struct {
mcpwm_comparator_etm_event_type_t event_type;
}{ ... } mcpwm_cmpr_etm_event_config_t;
/* ... */
esp_err_t mcpwm_comparator_new_etm_event(mcpwm_cmpr_handle_t cmpr, const mcpwm_cmpr_etm_event_config_t *config, esp_etm_event_handle_t *out_event);
#ifdef __cplusplus
}{...}
#endif