- mtkernel_3
- kernel/sysdepend/cpu/core/armv7m/sys_timer.h - 3.2KB - 108 lines
57: {
58: (void)in_w(SYST_CSR); /* Clear COUNTFLAG */
59: out_w(SCB_ICSR, ICSR_PENDSTCLR);
- More results from sys_timer.h
- kernel/sysdepend/cpu/rza2m/cpu_clock.c - 1.2KB - 53 lines
35: *(_UW*)PL310_POWER_CTL |= 0x0001;
36: dummy_32b = in_w(PL310_POWER_CTL);
37: (void)dummy_32b; /* Warning avoidance */
- lib/libtk/sysdepend/cpu/core/armv7a/int_armv7a.c - 4.8KB - 205 lines
76: out_w(GICC_PMR, (UW)level);
77: dummy = in_w(GICC_PMR);
78: (void)dummy; /* Warning avoidance */
- More results from int_armv7a.c
- lib/libtk/sysdepend/cpu/core/armv7a/wusec_armv7a.c - 2.1KB - 72 lines
30: period = (((usec)*COUNT_PER_SEC)/1000000LL); /* Number of wait counts */
31: max = in_w(OSTM0_CMP); /* Timer count cycle */
32: if (period >= max) return; /* ERROR: Undetectable */
- More results from wusec_armv7a.c
- lib/libtk/sysdepend/cpu/core/armv7m/wusec_armv7m.c - 1.6KB - 66 lines
29:
30: max = in_w(SYST_RVR);
31: rem = max * usec / (TIMER_PERIOD * 1000) + 1;
- More results from wusec_armv7m.c
- lib/libtk/sysdepend/cpu/rza2m/ptimer_rza2m.c - 4.8KB - 179 lines
140: /* Get Physical timer counter */
141: *p_count = ptmrcb[ptmrno].limit - in_w( OSTMn_CNT(ptmrno)) ; // down counter.
142:
- lib/libtk/sysdepend/cpu/stm32l4/ptimer_stm32l4.c - 6.2KB - 201 lines
155: if(ptmrcb[ptmrno].tim32) { /* 32bit timer */
156: *p_count = in_w( TIM_CNT(ptmrno)) ; // Read counter.
157: } else { /* 16bit timer */
- More results from ptimer_stm32l4.c
- lib/libtk/sysdepend/cpu/tx03_m367/ptimer_m367.c - 7.5KB - 236 lines
165: /* Get Physical timer counter */
166: *p_count = in_w( TMRB_TBxUC ); // Read counter.
167: