![]() |
|
|||
File indexing completed on 2025-05-11 08:24:08
0001 /* 0002 * ERC32 BSP Delay Method 0003 */ 0004 0005 /* 0006 * COPYRIGHT (c) 1989-2014. 0007 * On-Line Applications Research Corporation (OAR). 0008 * 0009 * The license and distribution terms for this file may be 0010 * found in the file LICENSE in this distribution or at 0011 * http://www.rtems.org/license/LICENSE. 0012 */ 0013 0014 #include <bsp.h> 0015 0016 void rtems_bsp_delay(int usecs) 0017 { 0018 uint32_t then; 0019 0020 then = ERC32_MEC.Real_Time_Clock_Counter; 0021 then += usecs; 0022 0023 while (ERC32_MEC.Real_Time_Clock_Counter >= then) 0024 ; 0025 }
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |