Need explainton about this code how to set timer priority ?

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

Reply to
Boki
Loading thread data ...

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

Reply to
Peter

Just because.

JJS

Reply to
johnspeth

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.