RMT TX channel that created by `rmt_new_tx_channel()`
timeout_ms
Wait timeout, in ms. Specially, -1 means to wait forever.
Return value
- ESP_OK: Flush transactions successfully - ESP_ERR_INVALID_ARG: Flush transactions failed because of invalid argument - ESP_ERR_TIMEOUT: Flush transactions failed because of timeout - ESP_FAIL: Flush transactions failed because of other error
Notes
This function will block forever if the pending transaction can't be finished within a limited time (e.g. an infinite loop transaction). See also `rmt_disable()` for how to terminate a working channel.
Related Functions
Found 26 other functions taking a rmt_channel_t
argument: