![]() |
ChibiOS/RT Architecture - Reference Manual - Guides |
System related macros and structures. More...
Go to the source code of this file.
Defines | |
| #define | chSysHalt() port_halt() |
| Halts the system. | |
| #define | chSysSwitchI(ntp, otp) port_switch(ntp, otp) |
| Performs a context switch. | |
| #define | chSysDisable() port_disable() |
| Raises the system interrupt priority mask to the maximum level. | |
| #define | chSysSuspend() port_suspend() |
| Raises the system interrupt priority mask to system level. | |
| #define | chSysEnable() port_enable() |
| Lowers the system interrupt priority mask to user level. | |
| #define | chSysLock() |
| Enters the kernel lock mode. | |
| #define | chSysUnlock() |
| Leaves the kernel lock mode. | |
| #define | chSysLockFromIsr() port_lock_from_isr() |
| Enters the kernel lock mode from within an interrupt handler. | |
| #define | chSysUnlockFromIsr() port_unlock_from_isr() |
| Leaves the kernel lock mode from within an interrupt handler. | |
| #define | CH_IRQ_PROLOGUE() PORT_IRQ_PROLOGUE() |
| IRQ handler enter code. | |
| #define | CH_IRQ_EPILOGUE() PORT_IRQ_EPILOGUE() |
| IRQ handler exit code. | |
| #define | CH_IRQ_HANDLER(id) PORT_IRQ_HANDLER(id) |
| Standard normal IRQ handler declaration. | |
| #define | CH_FAST_IRQ_HANDLER(id) PORT_FAST_IRQ_HANDLER(id) |
| Standard fast IRQ handler declaration. | |
Functions | |
| void | chSysInit (void) |
| ChibiOS/RT initialization. | |
| void | chSysTimerHandlerI (void) |
| Handles time ticks for round robin preemption and timer increments. | |
System related macros and structures.
Definition in file chsys.h.
1.7.1