Search | Google it | Results 1 - 1 of 1 for funcall:in_w from mtkernel_3/lib/libtk/sysdepend/cpu/core/armv7a/wusec_armv7a.c (0.00 seconds) |
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 */ 33: 34: start = in_w(OSTM0_CNT); /* Count value at the start of waiting */ 35: if (start > period) { 41: while (1) { /* Waiting for underflow */ 42: cur = in_w(OSTM0_CNT); 43: if (cur > prev) break; 48: do { 49: cur = in_w(OSTM0_CNT); 50: } while (!((cur <= end) || (cur > start)));