Lines Matching full:etm

17  * @brief GPIO edges that can be used as ETM event
20 GPIO_ETM_EVENT_EDGE_POS, /*!< A rising edge on the GPIO will generate an ETM event signal */
21 GPIO_ETM_EVENT_EDGE_NEG, /*!< A falling edge on the GPIO will generate an ETM event signal */
22 GPIO_ETM_EVENT_EDGE_ANY, /*!< Any edge on the GPIO can generate an ETM event signal */
26 * @brief GPIO ETM event configuration
29 gpio_etm_event_edge_t edge; /*!< Which kind of edge can trigger the ETM event module */
33 * @brief Create an ETM event object for the GPIO peripheral
35 * @note The created ETM event object can be deleted later by calling `esp_etm_del_event`
36 …* @note The newly created ETM event object is not bind to any GPIO, you need to call `gpio_etm_eve…
38 * @param[in] config GPIO ETM event configuration
39 * @param[out] ret_event Returned ETM event handle
41 * - ESP_OK: Create ETM event successfully
42 * - ESP_ERR_INVALID_ARG: Create ETM event failed because of invalid argument
43 * - ESP_ERR_NO_MEM: Create ETM event failed because of out of memory
44 …* - ESP_ERR_NOT_FOUND: Create ETM event failed because all events are used up and no more fre…
45 * - ESP_FAIL: Create ETM event failed because of other reasons
50 * @brief Bind the GPIO with the ETM event
53 * @note Only GPIO ETM object can call this function
55 * @param[in] event ETM event handle that created by `gpio_new_etm_event`
56 * @param[in] gpio_num GPIO number that can trigger the ETM event
58 * - ESP_OK: Set the GPIO for ETM event successfully
59 …P_ERR_INVALID_ARG: Set the GPIO for ETM event failed because of invalid argument, e.g. GPIO is not…
60 * - ESP_FAIL: Set the GPIO for ETM event failed because of other reasons
65 * @brief GPIO actions that can be taken by the ETM task
74 * @brief GPIO ETM task configuration
77 gpio_etm_task_action_t action; /*!< Which action to take by the ETM task module */
81 * @brief Create an ETM task object for the GPIO peripheral
83 * @note The created ETM task object can be deleted later by calling `esp_etm_del_task`
84 …* @note The GPIO ETM task works like a container, a newly created ETM task object doesn't have GPI…
87 * @param[in] config GPIO ETM task configuration
88 * @param[out] ret_task Returned ETM task handle
90 * - ESP_OK: Create ETM task successfully
91 * - ESP_ERR_INVALID_ARG: Create ETM task failed because of invalid argument
92 * - ESP_ERR_NO_MEM: Create ETM task failed because of out of memory
93 …* - ESP_ERR_NOT_FOUND: Create ETM task failed because all tasks are used up and no more free …
94 * - ESP_FAIL: Create ETM task failed because of other reasons
99 * @brief Add GPIO to the ETM task.
102 * @note Only GPIO ETM object can call this function
104 * @param[in] task ETM task handle that created by `gpio_new_etm_task`
105 * @param[in] gpio_num GPIO number that can be controlled by the ETM task
107 * - ESP_OK: Add GPIO to the ETM task successfully
108 …SP_ERR_INVALID_ARG: Add GPIO to the ETM task failed because of invalid argument, e.g. GPIO is not …
109 …* - ESP_ERR_INVALID_STATE: Add GPIO to the ETM task failed because the GPIO is used by other
110 * - ESP_FAIL: Add GPIO to the ETM task failed because of other reasons
115 * @brief Remove the GPIO from the ETM task
117 …* @note Before deleting the ETM task, you need to remove all the GPIOs from the ETM task by this f…
118 * @note Only GPIO ETM object can call this function
120 * @param[in] task ETM task handle that created by `gpio_new_etm_task`
121 * @param[in] gpio_num GPIO number that to be remove from the ETM task
123 * - ESP_OK: Remove the GPIO from the ETM task successfully
124 * - ESP_ERR_INVALID_ARG: Remove the GPIO from the ETM task failed because of invalid argument
125 …_ERR_INVALID_STATE: Remove the GPIO from the ETM task failed because the GPIO is not controlled by…
126 * - ESP_FAIL: Remove the GPIO from the ETM task failed because of other reasons