aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/nvic.c
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-06-15 17:11:41 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-10-18 13:30:17 -0400
commitd85462d0517baac39f3c316924162cca3d9c785a (patch)
tree08a3417acacbae3f4666f0ee0cad893cfe3f8a8c /libmaple/nvic.c
parentc6c959682084c8493a0c39754374e7dbe6cf1708 (diff)
downloadlibrambutan-d85462d0517baac39f3c316924162cca3d9c785a.tar.gz
librambutan-d85462d0517baac39f3c316924162cca3d9c785a.zip
usb: Replace duplicated code with nvic.h API.
Replace calls to usbEnbISR()/usbDsbISR() with nvic_irq_enable()/nvic_irq_disable(). Remove ST-style code. Use nvic_sys_reset() instead of systemHardReset(). Rename some conflicting #defines that including nvic.h created. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'libmaple/nvic.c')
0 files changed, 0 insertions, 0 deletions