return xReturn;\r
}\r
\r
+/* Functions that the application writer wants to execute in privileged mode\r
+can be defined in application_defined_privileged_functions.h. The functions\r
+must take the same format as those above whereby the privilege state on exit\r
+equals the privilege state on entry. For example:\r
+\r
+void MPU_FunctionName( [parameters ] )\r
+{\r
+portBASE_TYPE xRunningPrivileged = prvRaisePrivilege();\r
+\r
+ FunctionName( [parameters ] );\r
+\r
+ portRESET_PRIVILEGE( xRunningPrivileged );\r
+}\r
+*/\r
+\r
+#if configINCLUDE_APPLICATION_DEFINED_PRIVILEGED_FUNCTIONS == 1\r
+ #include "application_defined_privileged_functions.h"\r
+#endif
\ No newline at end of file