Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - InterruptDisable on freescale PPC microcontroller.: (3 Items)
   
InterruptDisable on freescale PPC microcontroller.  
Hello,

I would like to know if the InterruptDisable function disables also the interrupt decrementer on 82XX PPC cpu. I guess 
the decrementer register and corresponding interrupt is used by QNX to handle time functions ( timer, tick size , ...).
Does any one  have an idea ? 
Philippe.
Re: InterruptDisable on freescale PPC microcontroller.  
Oups ! , bad test , It' works fine actually as on x86 CPU 
Philippe. 
Re: InterruptDisable on freescale PPC microcontroller.  
Just to finish off the discussion, the timer hardware that neutrino uses to generate the tick is up to the BSP developer
. On a PPC600 family chip, it's _usually_ the decrementer, but doesn't need to be.  The kernel controls the hardware via
 the timer_load/timer_reload/timer_value callout functions in the qtime section of the system page.

In any case, the Interrupt[Lock/Disable] function is expected to turn off all interrupt sources.