Lines Matching full:gpio
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
33 * @brief Create an ETM event object for the GPIO peripheral
36 …ted ETM event object is not bind to any GPIO, you need to call `gpio_etm_event_bind_gpio` to bind …
38 * @param[in] config GPIO ETM event configuration
50 * @brief Bind the GPIO with the ETM event
52 …* @note Calling this function multiple times with different GPIO number can override the previous …
53 * @note Only GPIO ETM object can call this function
56 * @param[in] gpio_num GPIO number that can trigger the ETM event
58 * - ESP_OK: Set the GPIO for ETM event successfully
59 …INVALID_ARG: Set the GPIO for ETM event failed because of invalid argument, e.g. GPIO is not input…
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
68 GPIO_ETM_TASK_ACTION_SET, /*!< Set the GPIO level to high */
69 GPIO_ETM_TASK_ACTION_CLR, /*!< Clear the GPIO level to low */
70 GPIO_ETM_TASK_ACTION_TOG, /*!< Toggle the GPIO level */
74 * @brief GPIO ETM task configuration
81 * @brief Create an ETM task object for the GPIO peripheral
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
99 * @brief Add GPIO to the ETM task.
102 * @note Only GPIO ETM object can call this function
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 …RR_INVALID_ARG: Add GPIO to the ETM task failed because of invalid argument, e.g. GPIO is not outp…
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
118 * @note Only GPIO ETM object can call this function
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 …* - ESP_ERR_INVALID_STATE: Remove the GPIO from the ETM task failed because the GPIO is not c…
126 * - ESP_FAIL: Remove the GPIO from the ETM task failed because of other reasons