portSWITCH_TO_USER_MODE
[FreeRTOS-MPU Specific]

task. h
void portSWITCH_TO_USER_MODE( void );

Sets the calling task into User mode. Once in User mode a task cannot return to Privileged mode.

portSWITCH_TO_USER_MODE() is intended for use with FreeRTOS-MPU, the demo applications for which contain an example of portSWITCH_TO_USER_MODE() being used.