/* Stops the TIMER Base generation in DMA mode.  */
void ald_timer_base_stop_by_dma(ald_timer_handle_t *hperh)
/* Stops the TIMER Base generation in DMA mode.  */
void ald_timer_base_stop_by_dma(ald_timer_handle_t *hperh)
{
    assert_param(IS_TIMER_INSTANCE(hperh->perh));
    ald_timer_dma_req_config(hperh, ALD_TIMER_DMA_UPDATE, DISABLE);
    ALD_TIMER_DISABLE(hperh);
    hperh->state = ALD_TIMER_STATE_READY;
    return;
}