1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/openwsn/patches/nvic.h.patch
2014-05-14 15:06:50 +02:00

37 lines
972 B
Diff

*** stock_iot-lab_M3/openwsn/nvic.h Thu Apr 24 11:19:39 2014
--- riot-openwsn-wip/openwsn/nvic.h Thu Apr 24 16:55:54 2014
***************
*** 0 ****
--- 1,30 ----
+ /**
+ \brief openmoteSTM32 definition of the NVIC.
+
+ \author Chang Tengfei <tengfei.chang@gmail.com>, July 2012.
+ */
+
+ #ifndef __NVIC_H
+ #define __NVIC_H
+
+ //=========================== defines =========================================
+
+ //=========================== variables =======================================
+
+ //=========================== prototypes ======================================
+
+ //initial NVIC on openmotestm32
+ void NVIC_init(void);
+
+ //configuration of interrupt on openmotestm32
+ void NVIC_Configuration(void);
+
+ //configuration module interrput on openmotestm32
+ void NVIC_uart(void);
+ void NVIC_spi(void);
+ void NVIC_bsptimer(void);
+ void NVIC_rtctimer(void);
+ void NVIC_radiotimer(void);
+ void NVIC_radio(void);
+
+ #endif
\ No newline at end of file