/* Starts the TIMER hall sensor interface in interrupt mode.  */
void ald_timer_hall_sensor_start_by_it(ald_timer_handle_t *hperh)
/* Starts the TIMER hall sensor interface in interrupt mode.  */
void ald_timer_hall_sensor_start_by_it(ald_timer_handle_t *hperh)
{
    assert_param(IS_TIMER_XOR_INSTANCE(hperh->perh));
    ald_timer_interrupt_config(hperh, ALD_TIMER_IT_CC1, ENABLE);
    timer_ccx_channel_cmd(hperh->perh, ALD_TIMER_CHANNEL_1, ENABLE);
    ALD_TIMER_ENABLE(hperh);
    return;
}