Skip to content

Set PendSV and SysTick interrupts to lowest priority #11

Description

@dnseitz

On startup, the PendSV and SysTick interrupts should be set to the lowest priority. This is so other interrupts will take precedence over them. Meaning some peripheral device's interrupt will be serviced before the PendSV (telling the kernel to context switch) and SysTick (ticking the system timer and checking if the kernel should context switch) interrupts are serviced, since they are not time sensitive tasks.

We'll need to implement the System Handler Priority Register 3 in the SCB (System Control Block). The SCB is currently in the system_control module.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions