APM:Libraries
libraries
AP_HAL_F4Light
hardware
hal
nvic.c
Go to the documentation of this file.
1
/*
2
(c) 2017 night_ghost@ykoctpa.ru
3
4
*/
5
6
#include "
nvic.h
"
7
8
void
enable_nvic_irq
(uint8_t irq, uint8_t prio){
9
NVIC_ClearPendingIRQ(irq);
10
NVIC_EnableIRQ(irq);
// inline
11
NVIC_SetPriority(irq, prio);
// inline
12
}
13
nvic.h
enable_nvic_irq
void enable_nvic_irq(uint8_t irq, uint8_t prio)
Definition:
nvic.c:8
Generated on Sun Jun 17 2018 14:18:49 for APM:Libraries by
1.8.13