aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/exti.c
Commit message (Collapse)AuthorAgeFilesLines
* Keep it 80-column clean.Marti Bolivar2011-06-071-14/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | Go through overlong source code lines and convert as many of them as appropriate to be 80-column clean. This mostly affects license headers. Overlong lines are determined by running following from the libmaple base directory: $ ack-grep --nocolor --nogroup --cpp --cc --ignore-dir=usb -- '.{80}' Note that this excludes libmaple's usb subdirectory, which is still full of ST code that doesn't follow the libmaple source code guidelines. Contents of ~/.ackrc (these won't matter, but are included for completeness): --ignore-dir=docs --ignore-dir=build --type-set ld=.ld --type-set rst=.rst --type-set txt=.txt --type-set mk=.mk
* Renaming some nvic_irq_num enumerators for better readability.Marti Bolivar2011-04-071-16/+16
|
* Fix compiler errors after reverting broken commit.Perry Hung2011-03-211-9/+9
|
* Revert "RCC refactor, bugfixes"Perry Hung2011-03-211-9/+9
| | | | This reverts commit e4807a5010f59ab863ad2c96dc14caf65bf1ae60.
* RCC refactor, bugfixesMarti Bolivar2011-03-121-9/+9
|
* [WIP] GPIO refactor: seems ok, ready for reviewMarti Bolivar2011-03-111-100/+144
|
* Refactor linker scripts. Rename irq and exception handlers.Perry Hung2011-02-271-7/+7
| | | | | Add common linker scripts for ram and rom. Add medium and high density libraries for libcs3.
* nvic bugfix; removed unnecessary volatile usageMarti Bolivar2011-01-311-1/+1
|
* [WIP] Code review picked up some bugs/issues.Marti Bolivar2011-01-261-1/+1
|
* Changed nzmichaelh's initial DMA interface to be more flexible.Marti Bolivar2010-12-301-5/+3
| | | | | Some bugfixes in the external interrupt code were found along the way. Defines for nonexistent registers removed from nvic interface.
* whitespace cleanupsMarti Bolivar2010-09-271-8/+7
|
* Enable external interrupts on all Maple GPIOs.Perry Hung2010-09-221-155/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the wirish attachInterrupt() and detachInterrupt() interface to work with all GPIOs. Note: The STM32 external interrupt lines are multiplexed between GPIO ports. While any GPIO can be used as an external interrupt, not all of them can be used at the same time. Each EXTI[n] line selects between PA[n], PB[n], PC[n], etc. For example, line EXTI5 can be used with STM32 pins PA5, PB5, or PC5, but not all at the same time. See table: EXTI Line Maple Pin STM32 Pin 0 D2 PA0 0 D27 PB0 0 D15 PC0 1 D3 PA1 1 D28 PB1 1 D16 PC1 2 D1 PA2 2 D17 PC2 2 D25 PD2 3 D0 PA3 3 D18 PC3 4 D10 PA4 4 D19 PC4 5 D13 PA5 5 D4 PB5 5 D20 PC5 6 D12 PA6 6 D5 PB6 6 D35 PC6 7 D11 PA7 7 D9 PB7 7 D36 PC7 8 D6 PA8 8 D14 PB8 8 D37 PC8 9 D7 PA9 9 D24 PB9 9 D38 PC9 (BUT) 10 D8 PA10 10 D29 PB10 10 D26 PC10 11 D30 PB11 12 D31 PB12 13 D32 PB13 13 D21 PC13 14 D33 PB14 14 D22 PC14 15 D34 PB15 15 D23 PC15
* Licensing: Relicensed libmaple under the MIT License.Perry Hung2010-03-311-12/+18
| | | | | | 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/+6
| | | | | 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/+279
copy-to-ide and Makefile updated to conform; .gitignore added; LICENSE added