gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:in_w from mtkernel_3/kernel/sysdepend/cpu/core/armv7m/sys_timer.h (0.00 seconds)
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);
91: DI(imsk); 92: max = in_w(SYST_RVR); /* Setting count */ 93: unf = in_w(SYST_CSR) & 0x10000; /* COUNTFLAG */ 94: ofs = in_w(SYST_CVR) & 0x00ffffff; /* Current Remained count */ 95: if ( unf == 0 ) { /* Reload not occurred */ 96: unf = in_w(SYST_CSR) & 0x10000; /* Check COUNTFLAG again */ 97: if (unf != 0) { /* Reload occurred */ 98: ofs = in_w(SYST_CVR) & 0x00ffffff; 99: }