Hi All,
Can any one explain why this can set a timer's priority as 2 ?
// -- xxxxx Memory Mapped I/O Registers -- .CONST $INT_PRIORITIES 0xFFFFAA; .CONST $INT_SOURCE_TIMERB_POSN 1;
r0 = M[$INT_PRIORITIES]; r0 = r0 OR (2
Because it puts a 2 in the interrupt priority list into the timer B position. Is that some sort of DSP language you are using? Consult your hardware manual for more information about interrupts. Peter
Read the full replyHi All,
Can any one explain why this can set a timer's priority as 2 ?
// -- xxxxx Memory Mapped I/O Registers -- .CONST $INT_PRIORITIES 0xFFFFAA; .CONST $INT_SOURCE_TIMERB_POSN 1;
r0 = M[$INT_PRIORITIES]; r0 = r0 OR (2
Because it puts a 2 in the interrupt priority list into the timer B position. Is that some sort of DSP language you are using? Consult your hardware manual for more information about interrupts.
Peter
Just because.
JJS
Have something to add? Share your thoughts — no account required.
Ask the community — no account required