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
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
Just because.
JJS
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.