|
GIE/GIEH запрещает все прерывания
GIE/GIEH: Global Interrupt Enable bit
When IPEN = 0:
1 = Enables all unmasked interrupts
0 = Disables all interrupts
When IPEN = 1:
1 = Enables all high priority interrupts
0 = Disables all interrupts
А в остальном у тебя все правильно. Еще, правда, есть момент, что если при выполнении LOW priopity пришло прерывание от HI priopity, то оно и начинает выполняться , а низкое приостанавливается.
E-mail: info@telesys.ru