Handler mode

In the context of the Cortex-M architecture, all handlers operate under the handler mode. Within this mode, handlers consistently run in a privileged state, which grants them access to the entire default memory map, as described by the background region. Refer to the device specification document for more details.

From the PXROS-HR kernel perspective, the handlers include:

  • interrupt handlers

  • trap handlers

  • _PxHndcall handlers

  • delay job handlers

  • mailbox handlers

Fast Context Handlers

The direct consequence of running all interrupt handlers in handler mode is that there is no difference between Fast Handlers and Fast Context Handlers on ARM architecture. They both run as a privileged code in handler mode, thus having access to the default memory map through the background region.