Custom timer interrupts
Posted: Sun Jun 08, 2014 1:34 am
I'm trying to set up some custom timers for controlling a TLC5940 16 channel pwm chip..
There isnt really any info at all on how to set it up.. i understand how to set up timers in normal C programming
Think is I really feel that the timer interrupt part of the program is under developed and could be made to work much more simpler for the user
like I don't understand why you only have prescaler values as the available interrupt timing and if you need a specific amount of time you have to revert to programming the specific registry's..
I'm trying to get the custom interrupt to call on a particular macro and it seems to not work.. since in the macro i call a simple high and low to a output pin and it doesn't occur ..
Any help would be great
There isnt really any info at all on how to set it up.. i understand how to set up timers in normal C programming
Think is I really feel that the timer interrupt part of the program is under developed and could be made to work much more simpler for the user
like I don't understand why you only have prescaler values as the available interrupt timing and if you need a specific amount of time you have to revert to programming the specific registry's..
I'm trying to get the custom interrupt to call on a particular macro and it seems to not work.. since in the macro i call a simple high and low to a output pin and it doesn't occur ..
Any help would be great