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