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.
-
void
nx_start(void)¶ To be provided
OS List Management APIs¶
To be provided
-
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.
-
void
nxsched_timer_expiration(void)¶ Description: if
CONFIG_SCHED_TICKLESSis 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.
-
void
nxsched_alarm_expiration(void);¶ If
CONFIG_SCHED_TICKLESSis 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.
-
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.