gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:out_h from mtkernel_3/lib/libtk/sysdepend/cpu/stm32l4/ptimer_stm32l4.c (0.00 seconds)
mtkernel_3
lib/libtk/sysdepend/cpu/stm32l4/ptimer_stm32l4.c - 6.2KB - 201 lines
56: {
57:         out_h(p_cb->baddr + TIMxSR, 0);                        // Clear interrupt flag
58:         ClearInt( intno);
109: /* Timer initialization */ 110: out_h( TIM_CR1(ptmrno), 0); // Stop timer. 111: out_h( TIM_PSC(ptmrno), ptmrcb[ptmrno].psc); // Set prescaler. 112: out_w( TIM_ARR(ptmrno), limit); // Set the counter upper limit.
121: } 122: out_h( TIM_SR(ptmrno), 0); // Clear Interrupt flag. 123: out_h( TIM_DIER(ptmrno), TIMxDIER_UIE); // Enable Update Interrupt. 124: EnableInt( intno, ptmrcb[ptmrno].intpri);
126: /* Start Physical Timer */ 127: out_h( TIM_CR1(ptmrno) , TIMxCR1_CEN | ((mode==TA_ALM_PTMR)?TIMxCR1_OPM:0)); // Start Timer. 128:
140: DisableInt( intno_tbl[ptmrno]); 141: out_h( TIM_CR1(ptmrno), 0); // Stop timer. 142: