RMT RX channel that created by `rmt_new_rx_channel()`
buffer
The buffer to store the received RMT symbols
buffer_size
size of the `buffer`, in bytes
config
Receive specific configurations
Return value
- ESP_OK: Initiate receive job successfully - ESP_ERR_INVALID_ARG: Initiate receive job failed because of invalid argument - ESP_ERR_INVALID_STATE: Initiate receive job failed because channel is not enabled - ESP_FAIL: Initiate receive job failed because of other error
Notes
This function is non-blocking, it initiates a new receive job and then returns. User should check the received data from the `on_recv_done` callback that registered by `rmt_rx_register_event_callbacks()`. This function can also be called in ISR context. If you want this function to work even when the flash cache is disabled, please enable the `CONFIG_RMT_RECV_FUNC_IN_IRAM` option.
Related Functions
Found 26 other functions taking a rmt_channel_t
argument: