RT-Thread RTOS
1.2.0
An open source embedded real-time operating system
|
Functions | |
rt_weak void | rt_interrupt_enter (void) |
rt_weak void | rt_interrupt_leave (void) |
rt_weak rt_uint8_t | rt_interrupt_get_nest (void) |
The Kernel APIs are the core APIs of RT-Thread, which supports the following features:
rt_weak void rt_interrupt_enter | ( | void | ) |
This function will be invoked by BSP, when enter interrupt service routine.
rt_weak void rt_interrupt_leave | ( | void | ) |
This function will be invoked by BSP, when leave interrupt service routine.
rt_weak rt_uint8_t rt_interrupt_get_nest | ( | void | ) |
This function will return the nest of interrupt.
User application can invoke this function to get whether current context is interrupt context.