aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/timer.h
Commit message (Collapse)AuthorAgeFilesLines
* timer.h: fix timer_oc_set_mode().Marti Bolivar2011-10-121-4/+2
| | | | | | | | | timer_oc_set_mode() incorrectly writes to CCMR1 when channel is 2; fix this. Thanks to ala42 for the fix. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
* Added more doxygen file level headers. Documented a few more functions.Michael Hope2011-09-131-1/+2
| | | | Signed-off-by: Michael Hope <michaelh@juju.net.nz>
* timer.h: DoxygenMarti Bolivar2011-05-201-10/+23
|
* timer: Shortening long names.Marti Bolivar2011-05-191-19/+16
| | | | | Various names in timer.h were too unwieldy. Making these slightly more bearable.
* timer: Moving some Doxygen comments.Marti Bolivar2011-05-191-8/+0
| | | | From declaration to definition, to keep with convention.
* timer.h: Naming tweaks.Marti Bolivar2011-05-191-4/+4
| | | | | | Renamed timer_reg_map_union -> timer_reg_map. Named the anonymous timer_type.
* Doxygen bugfixes.Marti Bolivar2011-04-121-4/+5
| | | | Fixed various Doxygen comment errors.
* timer_set_dma_burst_length() and TIMER8 comment bugfixesMarti Bolivar2011-03-241-2/+2
|
* Initial timer refactor.Marti Bolivar2011-03-241-0/+1010
Basic PWM works. Had some problems in testing that might be due to USART bugs. HardwareTimer has been removed from the build for now; I will re-implement it in terms of the new libmaple API, but consider it deprecated. Let's come up with something better. Servo is implemented in terms of HardwareTimer, so it also has been temporarily removed from the build. pwmWrite() likely got a little bit less inefficient due to indirection, but the PIN_MAPs shrank by a pointer per PinMapping.