QDK-nano PIC24/dsPIC-C30 - Quantum Leaps
QDK-nano PIC24/dsPIC-C30 - Quantum Leaps
QDK-nano PIC24/dsPIC-C30 - Quantum Leaps
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>QDK</strong>-<strong>nano</strong><br />
<strong>PIC24</strong>/<strong>dsPIC</strong>-<strong>C30</strong><br />
www.state-machine.com/pic<br />
(15) The QK-specific ISR exit starts with placing the current SR into the this_sr local variable, which<br />
the <strong>C30</strong> compiler decided to place in the w8 register.<br />
(16) The IPL bits from the current SR are right-shifted into w0.<br />
(17) All other SR bits, except the IPL bits in w0 are masked off in w0.<br />
(18-19) The bitmask (1