Function esp_idf_svc::hal::sys::rmt_enable_tx_loop_autostop
source ยท pub unsafe extern "C" fn rmt_enable_tx_loop_autostop(
channel: u32,
en: bool,
) -> i32
Expand description
@brief Enable or disable the feature that when loop count reaches the threshold, RMT will stop transmitting.
- When the loop auto-stop feature is enabled will halt RMT transmission after the loop count reaches a certain threshold
- When disabled, the RMT transmission continue indefinitely until halted by the users
@note The auto-stop feature is implemented in hardware on particular targets (i.e. those with SOC_RMT_SUPPORT_TX_LOOP_AUTO_STOP defined). Otherwise, the auto-stop feature is implemented in software via the interrupt.
@param channel RMT channel @param en enable bit @return - ESP_ERR_INVALID_ARG Parameter error - ESP_OK Success