gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:out_w from tkernel_2/monitor/hwdepend/tef_em1d/src/waitusec.c (0.00 seconds)
tkernel_2
monitor/hwdepend/tef_em1d/src/waitusec.c - 3.1KB - 112 lines
68:         /* use TI0 timer, and assume clock is PLL3 / 8 */
69:         out_w(Txx_OP(TI0), 0);                 // Timer stop, count clear
70:         while (in_w(Txx_RCR(TI0)));
71: 
72:         out_w(Txx_SET(TI0), 0xffffffff);       // maximum count
73:         out_w(Txx_OP(TI0), 0x00000003);                // Timer start
74: 
83: 84: out_w(Txx_OP(TI0),0); // Timer stop, count clear 85: while (in_w(Txx_RCR(TI0)));