SLAU893B October 2023 – July 2024 MSPM0C1103 , MSPM0C1103-Q1 , MSPM0C1104 , MSPM0C1104-Q1
The processor supports two primary modes of execution:
By default, the processor is in thread mode out of reset. If an exception is issued to the processor, the processor will handle the exception in handler mode and return to thread mode after handler execution is complete. Code running in thread mode can be configured as being privileged or unprivileged, based on the configuration of the processor's internal CONTROL register. Code running in handler mode always executes as privileged.
In general, code which executes as privileged has complete control of the processor configuration, including control of the , NVIC, and SCB. Only privileged code can change the privilege level for code running in thread mode.
Code that is executing in thread mode in an unprivileged state cannot access the previously mentioned resources ( NVIC, SCB).