[FL-2375] Migrate to LL part 3 (#1058)

* FuriHal: replace HAL with LL for ARR and CC
* Rfid, FuriHal: migrate emulation to LL
* RFID hal: disable arr preload during emulation
* Rfid, Furi, FuriHal: last piece of LL puzzle
* Rfid, Furi, FuriHal: filing the last piece of LL puzzle
Co-authored-by: DrZlo13 <who.just.the.doctor@gmail.com>
This commit is contained in:
あく
2022-03-26 01:56:18 +03:00
committed by GitHub
parent 7c4b0f534f
commit 413a03defb
16 changed files with 121 additions and 577 deletions

View File

@@ -58,9 +58,11 @@ void furi_hal_rfid_tim_read_stop();
*/
void furi_hal_rfid_tim_emulate(float freq);
typedef void (*FuriHalRfidEmulateCallback)(void* context);
/** Start emulation timer
*/
void furi_hal_rfid_tim_emulate_start();
void furi_hal_rfid_tim_emulate_start(FuriHalRfidEmulateCallback callback, void* context);
/** Stop emulation timer
*/
@@ -70,14 +72,6 @@ void furi_hal_rfid_tim_emulate_stop();
*/
void furi_hal_rfid_tim_reset();
/** Check that timer instance is emulation timer
*
* @param hw timer instance
*
* @return true if instance is emulation timer
*/
bool furi_hal_rfid_is_tim_emulate(TIM_HandleTypeDef* hw);
/** Set emulation timer period
*
* @param period overall duration