Files
nuttx/Documentation/reference/os/nuttx.rst
T
ouyangxiangzhen e5db83d7db sched/sched: Remove nxsched_alarm_expiration
This commit removed nxsched_alarm_expiration to simplify the timer
expiration.

Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com>
2025-12-22 21:17:13 +08:00

41 lines
1.3 KiB
ReStructuredText

=====================================================
APIs Exported by NuttX to Architecture-Specific Logic
=====================================================
These are standard interfaces that are exported by the OS for use
by the architecture specific logic.
.. c:function:: void nx_start(void)
**To be provided**
OS List Management APIs
=======================
**To be provided**
.. c:function:: void nxsched_process_timer(void)
This function handles system timer events. The
timer interrupt logic itself is implemented in the architecture
specific code, but must call the following OS function
periodically -- the calling interval must be
``CONFIG_USEC_PER_TICK``.
.. c:function:: void nxsched_timer_expiration(void)
Description: if ``CONFIG_SCHED_TICKLESS`` is defined, then this
function is provided by the RTOS base code and called from
platform-specific code when the interval timer used to implemented
the tick-less OS expires.
**Assumptions**: Base code implementation assumes that this
function is called from interrupt handling logic with interrupts disabled.
.. c:function:: void irq_dispatch(int irq, FAR void *context)
This function must be called from the
architecture- specific logic in order to display an interrupt to
the appropriate, registered handling logic.