summaryrefslogtreecommitdiff
path: root/analog/motor-power-avr/src/mp_pwm_L_.c
AgeCommit message (Collapse)Author
2008-03-27Update current limitation to rise an IT on falling edge and no longerGuillaume Chevillot
at low level.
2008-03-20- Current limitation set command to High-Z so to be coherent turn on LEDs Guillaume Chevillot
instead - Do not set back interrupts in current limitation IT because it is continuously called when we are in limitation
2008-03-13- Add current limitation management (not tested yet !) :Guillaume Chevillot
- Add current limitation PWM generation - Add external current limitation interrupts management - Update current limitation software part - Update TODO list (try to reduce it...)
2008-03-10Use of "Fast PWM" mode rather than "normal" mode for PWM timersGuillaume Chevillot
2008-03-07Make command to High-Z state worksGuillaume Chevillot
2008-03-06Add support of right sideGuillaume Chevillot
2008-03-06Corrected PWM generation. Seems to work fine now.Guillaume Chevillot
2008-03-04Updated code LEDs to be more explicit :Guillaume Chevillot
- 2 LEDs for each motor driver - First LED blinking at PWM frequency for dir. 0 - Second LED blinking at PWM frequency for dir. 1 - Both LEDs are off on HIGH Z - Both LEDs are on on brake
2008-03-04- Removed 'static' qualifier to 'main_loop'Guillaume Chevillot
- 'led_flash' function added to detect startup (thanks to Ni) - Temporary empty vectors for right side timer (timer2) added to prevent resets (right side code is not implmented yet)
2008-03-02- Fixed and improved outputs initializationsGuillaume Chevillot
- Use LEDs to show command status
2008-02-14Use defines instead of magic numbers for motor command states.Guillaume Chevillot
2008-02-13Add IT handlers for PWM rising and falling edge and for current limitation.Guillaume Chevillot
2008-02-09Paramétrage des timersPierre Prot
- PWM - Gestion du Vref pour la limitation de courant
2008-02-07Modifs sur les timers, les ADC, la génération de PWMPierre Prot
Corrections, ajout de defines, etc...
2008-02-07Pas mal de modifs en généralPierre Prot
- ADC - cleanup - cleanup - cleanup - ça compile pas encore