tick timing

Aaron J. Grier aaron at frye.com
Tue Nov 7 23:49:00 UTC 2000


On Tue, Nov 07, 2000 at 02:30:46PM -0700, "Michael P. Collins" on korat wrote:

> I was initially looking for a simple way to implement a reliable delay
> routine, and it looked like I could get away with an
> rtems_task_wake_after() call, but I need better resolution than a
> millisecond.

I have a 68331-based system and ran into a similar situation.  I ended
up using the GPT and bypassing RTEMS.

> Can I circumvent the macros in "confdefs.h" and directly assign a
> value of 122 to BSP_Configuration.microseconds_per_tick?  If so, how
> would I best go about doing this?

bsp_start() maybe?

-- 
  Aaron J. Grier   |    Frye Electronics, Tigard, OR   |   aaron at frye.com
    "Calling anything from the x86 world a 'masterpiece' seems, to me,
     like putting a gold star on the best-looking fingerpainting in the
     special-needs Kindergarten class."  --  Wakko Warner



More information about the users mailing list