@@ -372,7 +372,7 @@ In addition to these imported interfaces, the RTOS will export the
372372following interfaces for use by the platform-specific interval
373373timer implementation:
374374
375- - ``nxsched_timer_expiration () ``: called by the platform-specific logic when the interval time expires.
375+ - ``nxsched_tick_expiration () ``: called by the platform-specific logic when the interval time expires.
376376
377377.. c :function :: void archname_timer_initialize (void)
378378
@@ -410,7 +410,7 @@ timer implementation:
410410
411411 Cancel the alarm and return the time of cancellation of the alarm.
412412 These two steps need to be as nearly atomic as possible.
413- ``nxsched_timer_expiration () `` will not be called unless the alarm
413+ ``nxsched_tick_expiration () `` will not be called unless the alarm
414414 is restarted with ``up_alarm_start() ``. If, as a race condition,
415415 the alarm has already expired when this function is called, then
416416 time returned is the current time.
@@ -427,13 +427,13 @@ timer implementation:
427427
428428.. c :function :: int up_alarm_start (FAR const struct timespec *ts)
429429
430- Start the alarm. ``nxsched_timer_expiration () `` will be called
430+ Start the alarm. ``nxsched_tick_expiration () `` will be called
431431 when the alarm occurs (unless ``up_alarm_cancel `` is called to
432432 stop it).
433433
434434 :param ts: The time in the future at the alarm is expected to
435435 occur. When the alarm occurs the timer logic will call
436- ``nxsched_timer_expiration ()``.
436+ ``nxsched_tick_expiration ()``.
437437
438438 :return: Zero (OK) on success; a negated errno value on failure.
439439
@@ -445,11 +445,11 @@ timer implementation:
445445
446446Cancel the interval timer and return the time remaining on the
447447timer. These two steps need to be as nearly atomic as possible.
448- ``nxsched_timer_expiration () `` will not be called unless the timer
448+ ``nxsched_tick_expiration () `` will not be called unless the timer
449449is restarted with ``up_timer_start() ``. If, as a race condition,
450450the timer has already expired when this function is called, then
451451that pending interrupt must be cleared so that
452- ``nxsched_timer_expiration () `` is not called spuriously and the
452+ ``nxsched_tick_expiration () `` is not called spuriously and the
453453remaining time of zero should be returned.
454454
455455:param ts: Location to return the remaining time. Zero should be
@@ -463,12 +463,12 @@ disabled internally to assure non-reentrancy.
463463
464464.. c :function :: int up_timer_start (FAR const struct timespec *ts)
465465
466- Start the interval timer. ``nxsched_timer_expiration () `` will be
466+ Start the interval timer. ``nxsched_tick_expiration () `` will be
467467called at the completion of the timeout (unless
468468``up_timer_cancel() `` is called to stop the timing).
469469
470470:param ts: Provides the time interval until
471- ``nxsched_timer_expiration ()`` is called.
471+ ``nxsched_tick_expiration ()`` is called.
472472
473473:return: Zero (OK) on success; a negated errno value on failure.
474474
0 commit comments