Function esp_idf_sys::rmt_new_sync_manager
source ยท pub unsafe extern "C" fn rmt_new_sync_manager(
config: *const rmt_sync_manager_config_t,
ret_synchro: *mut rmt_sync_manager_handle_t,
) -> esp_err_t
Expand description
@brief Create a synchronization manager for multiple TX channels, so that the managed channel can start transmitting at the same time
@note All the channels to be managed should be enabled by rmt_enable()
before put them into sync manager.
@param[in] config Synchronization manager configuration @param[out] ret_synchro Returned synchronization manager handle @return - ESP_OK: Create sync manager successfully - ESP_ERR_INVALID_ARG: Create sync manager failed because of invalid argument - ESP_ERR_NOT_SUPPORTED: Create sync manager failed because it is not supported by hardware - ESP_ERR_INVALID_STATE: Create sync manager failed because not all channels are enabled - ESP_ERR_NO_MEM: Create sync manager failed because out of memory - ESP_ERR_NOT_FOUND: Create sync manager failed because all sync controllers are used up and no more free one - ESP_FAIL: Create sync manager failed because of other error