gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:TI_OP (0.00 seconds)
tkernel_2
lib/libtk/src/sysdepend/tef_em1d/ptimer.c - 8.5KB - 329 lines
170:                 /* stop counting */
171:                 out_w(TI_OP(pn), 0);
172: 
201: /* stop timer */ 202: out_w(TI_OP(pn), 0); 203:
220: /* enable timer */ 221: out_w(TI_OP(pn), TM_EN); 222: while ( (in_w(TI_SCLR(pn)) & TM_SCLR) != 0 );
228: /* start counting */ 229: out_w(TI_OP(pn), TO_EN|TSTART|TM_EN); 230:
255: /* Stop counting */ 256: out_w(TI_OP(pn), in_w(TI_OP(pn)) & TM_EN); 257:
275: 276: if ( (in_w(TI_OP(pn)) & TM_EN) == 0 ) { 277: *p_count = 0;