/* Starts the TIMER One Pulse signal generation in interrupt mode.  */
void ald_timer_one_pulse_start_by_it(ald_timer_handle_t *hperh, ald_timer_op_output_channel_t ch)
/* Starts the TIMER One Pulse signal generation in interrupt mode.  */
void ald_timer_one_pulse_start_by_it(ald_timer_handle_t *hperh, ald_timer_op_output_channel_t ch)
{
    ald_timer_interrupt_config(hperh, ALD_TIMER_IT_CC1, ENABLE);
    ald_timer_interrupt_config(hperh, ALD_TIMER_IT_CC2, ENABLE);
    timer_ccx_channel_cmd(hperh->perh, ALD_TIMER_CHANNEL_1, ENABLE);
    timer_ccx_channel_cmd(hperh->perh, ALD_TIMER_CHANNEL_2, ENABLE);
    if (IS_TIMER_BREAK_INSTANCE(hperh->perh) != RESET)
        ALD_TIMER_MOE_ENABLE(hperh);
    return;
}