aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/timers.h
Commit message (Collapse)AuthorAgeFilesLines
* Cleaned out libmaple.h; this had wide-ranging implications.Marti Bolivar2011-02-271-3/+3
| | | | | | | | | | | | | | | | | | | Many of the #defines in libmaple.h were board-specific, not MCU-specific. Most of these were only used by code under libmaple/usb/. These were moved into usb_config.h, and are clearly marked as being terrible hacks. I'm going to treat the USB stack as a black box that we'll deal with later. Further, instead of having a variety of #defines like "How many USARTS do I have?", we decide that based on the density of the chip. This is determined by testing for STM32_MEDIUM_DENSITY or STM32_HIGH_DENSITY defines. libmaple currently doesn't support low-density chips, so that suffices. The Makefile will set these automatically based on the MCU. Other offending #defines are ERROR_LED_PORT and ERROR_LED_PIN; these were made optional, but they're set in the Makefile as a hack to keep things working.
* Ported examples/test-session.cpp to work on MiniMarti Bolivar2011-01-301-0/+2
|
* Finalized 0.0.9 documentation.Marti Bolivar2010-12-151-74/+35
|
* Merge branch 'master' into newdocMarti Bolivar2010-12-141-73/+137
|\
| * Servo library tested and debugged.Marti Bolivar2010-12-081-54/+80
| | | | | | | | | | Some additional HardwareTimer methods introduced to make this convenient; ancillary libmaple/timers.h changes resulted.
* | arduino language reference nearing completion, properly CC-BY-SA 3.0 attributedMarti Bolivar2010-11-171-33/+183
|/
* maple mini runs blinky now.Marti Bolivar2010-10-221-3/+15
| | | | still need usb descriptors to improve, and also nothing else is tested.
* Add selective enabling of channels for pwm channelsPerry Hung2010-10-121-27/+27
| | | | | | | | | | pinMode(PWM) turns the channel on, other modes should turn it off Fixes bug with conflicting timer for spi1 and timer. This is not well-tested. Conflicts: libmaple/timers.c
* whitespace cleanupsMarti Bolivar2010-09-271-30/+30
|
* timer refactor (c, not c++)bnewbold2010-09-051-0/+65
| | | | also removed an old ASSERT()
* inital portability workbnewbold2010-08-251-0/+16
|
* bug fix with interrupts not getting clearedbnewbold2010-07-201-0/+2
|
* good quality vga leaf logo; usb+systick disabledbnewbold2010-07-201-5/+16
| | | | | refactored timers and added interrupt behavior. see notes and comments... also includes a crude vga hack that doesn't use timers.
* Aded two timer function to set max reload value and prescalerPerry Hung2010-04-191-0/+3
|
* Licensing: Relicensed libmaple under the MIT License.Perry Hung2010-03-311-12/+17
| | | | | | Relicensed the bulk of libmaple under the more permissive MIT License, from GPLv3. Files that were largely or entirely derived from the Arduino, STM, or Lanchon retain their original licenses.
* Removed inttypes.hPerry Hung2010-03-311-6/+5
| | | | | Removed inttypes.h from libmaple. Will have another pass through to use the standard libmaple types, but will come in another commit.
* Major hierarchy reorganization; see README.bnewbold2010-03-311-0/+145
copy-to-ide and Makefile updated to conform; .gitignore added; LICENSE added