aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/timer_private.h
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-04-09 14:03:30 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-04-11 16:56:56 -0400
commit68800148b998488f09fb36fde53970900c199c0a (patch)
treea3e44681bd37b49d1ba7e3de789072970ee1cc01 /libmaple/timer_private.h
parentf4583644e18bc0b3229c3c7dfb2500004e1a4340 (diff)
downloadlibrambutan-68800148b998488f09fb36fde53970900c199c0a.tar.gz
librambutan-68800148b998488f09fb36fde53970900c199c0a.zip
stm32f1/nvic.h: Add nvic_irq_num's for XL-density timers; Doxygen fixup.
This is a backwards-compatible change, but it deprecates some existing functionality. XL density STM32F1 devices have additional timers 9 through 14. These share NVIC lines with timers 1 and 8. This scheme is also used on e.g. STM32F2, so the corresponding nvic_irq_num enumerators on that series have names like "NVIC_TIMER1_BRK_TIMER9" instead of "NVIC_TIMER1_BRK". For portability (and XL-density support), it makes sense to add these enumerators to the F1 version of nvic_irq_num, which we do here. For backwards compatibility, we keep the old enumerators (like NVIC_TIMER1_BRK) around as aliases to the new ones (like NVIC_TIMER1_BRK_TIMER9). These old enumerators are now deprecated. Also fix up the Doxygen @file header. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'libmaple/timer_private.h')
0 files changed, 0 insertions, 0 deletions