Hi Hotas,
The group of SCB_SHPRn registers is used to set the pripority level registers for system exceptions. On the Cortex-M0 processor, only the three OS-related system exceptions have programmable priority levels. Three inculde SVC, PendSV, and SysTick (Fig 1).
About your question, 0x40 and 0x80 is same, as apart from the [32-24] bits area are unimplemented in the SCB_SHPR2 register.

Fig 1
Have a great day,
Ping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------