- Timestamp:
- May 22, 2019, 4:09:18 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
asp3_tinet_ecnl_rx/trunk/asp3_dcre/target/gr_citrus_gcc/target_timer.c
r364 r387 398 398 */ 399 399 if (probe_int(INTNO_TIMER1)) { 400 if 400 if(local_cnt < 0x8000) 401 401 local_eut += 1; 402 402 } 403 403 404 404 time = (((HRTCNT)local_eut * CMCOR_PERIOD) + (HRTCNT)local_cnt) / USEC_CONVERT_VALUE; 405 405 #ifdef _MSC_VER 406 // シミュレーションではタイマーが戻らないよう調整 407 if (time < current_hrtcnt) 408 time = current_hrtcnt + ((HRTCNT)local_cnt / USEC_CONVERT_VALUE); 409 #endif 406 410 return time; 407 411 }
Note:
See TracChangeset
for help on using the changeset viewer.