System Timer IRQ Priority

Discussions and support about ChibiOS/RT, the free embedded RTOS.
Post Reply
alexblack
Posts: 277
Joined: Mon Sep 24, 2012 3:52 pm
Been thanked: 33 times

System Timer IRQ Priority

Post by alexblack »

Hi.
What is the rulers for selecting the STM32_ST_IRQ_PRIORITY? Before I think that it must be as high as possible, i.e. 1. But now I see that it is default value for STM32 is 8. Tell me please how it must be.
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: System Timer IRQ Priority

Post by Giovanni »

It depends on your requirements, 8 is fine usually.

Giovanni
alexblack
Posts: 277
Joined: Mon Sep 24, 2012 3:52 pm
Been thanked: 33 times

Re: System Timer IRQ Priority

Post by alexblack »

Can it be the 1? Aare there any forbidden values?
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: System Timer IRQ Priority

Post by Giovanni »

0, 1 and 2 are forbidden, like all other interrupts.

Giovanni
Post Reply