> > printf("one tick has us %u\n", > rtems_configuration_get_microseconds_per_tick()); > rtems_counter_ticks ticks = rtems_counter_nanoseconds_to_ticks(1000); > printf("delay 1000ns ticks_cnt %u\n", ticks);
one tick has us 1000 delay 1000ns ticks_cnt 1000 is rtems_counter_nanoseconds_to_ticks wrong? On Mon, Jul 8, 2019 at 9:33 AM Jython <googch...@gmail.com> wrote: > ok, thanks! i have read it, then im not sure CPU_Counter_ticks is system > tick ? > > On Mon, Jul 8, 2019 at 8:53 AM Chris Johns <chr...@rtems.org> wrote: > >> On 8/7/19 10:49 am, Jython wrote: >> > hi, the size of tick is |CONFIGURE_MICROSECONDS_PER_TICK| ? >> >> I suggest you take a moment and read the configuration section of the user >> manual. The tick entry is ... >> >> >> https://docs.rtems.org/branches/master/c-user/configuring_a_system.html#configure-microseconds-per-tick >> >> If this entry is not clear please let us know or even better send us a >> patch to >> the documentation. >> >> Thanks >> Chris >> >
_______________________________________________ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users