C Microkernel Realtime eXecutive
Realtime Operating System for Cortex-M based microcontrollers
 
Loading...
Searching...
No Matches
Interrupt service routines

Description

Routines available from running interrupt service routine context.

By default, all the interrupt service routines have higher priority than the kernel service call handler. CMRX is not expecthing this to change. This configuration causes that service call handler is not callable from within interrupt service handlers. Following routines are provided so that interrupt service routines can ask kernel to perform certain tasks while in servicing interrupt.

Never perform direct calls into kernel other than methods listed in this group. These methods are not reentrant and calling them from within interrupt handler may corrupt kernel internal state.

Functions

void isr_kill (Thread_t thread_id, uint32_t signal)
 Send signal from ISR context.
 

Function Documentation

◆ isr_kill()

void isr_kill ( Thread_t  thread_id,
uint32_t  signal 
)

Send signal from ISR context.

This routine is an equivalent of kill() syscall, which is usable from interrupt service routine context.

Parameters
thread_idthread, which should receive the signal
signalsignal to be sent