pub unsafe extern "C" fn rmt_register_tx_end_callback(
    function: rmt_tx_end_fn_t,
    arg: *mut c_void
) -> rmt_tx_end_callback_t
Expand description

@brief Registers a callback that will be called when transmission ends.

   Called by rmt_driver_isr_default in interrupt context.

@note Requires rmt_driver_install to install the default ISR handler.

@param function Function to be called from the default interrupt handler or NULL. @param arg Argument which will be provided to the callback when it is called.

@return the previous callback settings (members will be set to NULL if there was none)