New lf rfid (#342)

* invert inputs
* move RFID RX to IRQ, unstable
* remove critical blink
* supress short carrier, decrease queue
* migrate to stream buffer
* enable state change
* conditions build for invert RFID IN
* move get_rfid_in_level
* use hal function for get comp level, remove duplicate interrupt registration, interrupt unregister on exit
* reinit comparator context on mode change
This commit is contained in:
coreglitch
2021-03-02 13:17:27 +03:00
committed by GitHub
parent 1af3463897
commit 056e6ffa9c
7 changed files with 174 additions and 85 deletions

View File

@@ -44,6 +44,9 @@ ValueMutex* gpio_open_mutex(const char* name);
// get GPIO record and acquire mutex
GpioPin* gpio_open(const char* name);
// get RFID IN level
bool get_rfid_in_level();
#ifdef __cplusplus
}
#endif