View Single Post
  #4   Spotlight this post!  
Unread 05-10-2010, 23:20
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: Several questions (language comparison)

Quote:
Originally Posted by Ether View Post
What is the worst-case execution time of the ISR from the time it receives control until it returns? Do you enable interrupts in the ISR, or leave them disabled?
I'm not sure of the exact number as I didn't write the timing code for it, but I think the time to run it is almost nothing. The only slow operation is the wait to delay the kick, but that would be a very small wait.

The interrupt is setup through WPILib, so I have no idea if interrupts during interrupts are enabled (never seen any problems though).
__________________

"To have no errors would be life without meaning. No strugle, no joy"
"A network is only as strong as it's weakest linksys"