distortos  v0.7.0
object-oriented C++ RTOS for microcontrollers
ARMv6-M-ARMv7-M-supervisorCall.hpp
Go to the documentation of this file.
1 
12 #ifndef SOURCE_ARCHITECTURE_ARM_ARMV6_M_ARMV7_M_ARMV6_M_ARMV7_M_SUPERVISORCALL_HPP_
13 #define SOURCE_ARCHITECTURE_ARM_ARMV6_M_ARMV7_M_ARMV6_M_ARMV7_M_SUPERVISORCALL_HPP_
14 
15 namespace distortos
16 {
17 
18 namespace architecture
19 {
20 
35 int supervisorCall(int (& function)(int, int, int, int), int argument1, int argument2, int argument3, int argument4);
36 
37 } // namespace architecture
38 
39 } // namespace distortos
40 
41 #endif // SOURCE_ARCHITECTURE_ARM_ARMV6_M_ARMV7_M_ARMV6_M_ARMV7_M_SUPERVISORCALL_HPP_
int supervisorCall(int(&function)(int, int, int, int), const int argument1, const int argument2, const int argument3, const int argument4)
Supervisor call.
Definition: ARMv6-M-ARMv7-M-supervisorCall.cpp:25
Top-level namespace of distortos project.
Definition: buttons.hpp:33