FL-262 Interrupt manager (#270)

* interrupt manager
* init interrupt manager
* add usage to lf-rfid app
* check ready flag
* move interrupts code to target hal
* fix path
This commit is contained in:
DrZlo13
2020-12-19 05:26:03 +10:00
committed by GitHub
parent 153d32bf15
commit 3ba1738acd
6 changed files with 100 additions and 5 deletions

View File

@@ -0,0 +1,6 @@
#include "api-hal/api-interrupt-mgr.h"
/* interrupts */
void HAL_COMP_TriggerCallback(COMP_HandleTypeDef* hcomp) {
api_interrupt_call(InterruptTypeComparatorTrigger, hcomp);
}