Function esp_idf_svc::sys::rmt_new_rx_channel
source ยท pub unsafe extern "C" fn rmt_new_rx_channel(
config: *const rmt_rx_channel_config_t,
ret_chan: *mut *mut rmt_drv_channel_t,
) -> i32
Expand description
@brief Create a RMT RX channel
@param[in] config RX channel configurations @param[out] ret_chan Returned generic RMT channel handle @return - ESP_OK: Create RMT RX channel successfully - ESP_ERR_INVALID_ARG: Create RMT RX channel failed because of invalid argument - ESP_ERR_NO_MEM: Create RMT RX channel failed because out of memory - ESP_ERR_NOT_FOUND: Create RMT RX channel failed because all RMT channels are used up and no more free one - ESP_ERR_NOT_SUPPORTED: Create RMT RX channel failed because some feature is not supported by hardware, e.g. DMA feature is not supported by hardware - ESP_FAIL: Create RMT RX channel failed because of other error