mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-24 03:33:08 +00:00
8073992925
* RFID: pull antenna down when emulating * Rfid: fixed HID emulation by adding zero pulse every 4 bits * Rfid: HID emulation fixed with DSP based FSK oscillator. * Rfid: receive 125KHz clock for emulation timer from antenna and comparator * Rfid: commented unused variable * Firmware: rollback changes in f6. * Add F7 target based on F6. * F7/F6: update cube projects, apply changes to the targets, update linker scripts with correct RAM start values. * FuriHal: RFID init routine. * Scripts: update OTP tool for v11 board Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
34 lines
915 B
C
34 lines
915 B
C
#pragma once
|
|
|
|
#include <stm32wbxx_ll_tim.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/** Timer ISR */
|
|
typedef void (*FuriHalInterruptISR)();
|
|
|
|
/** Initialize interrupt subsystem */
|
|
void furi_hal_interrupt_init();
|
|
|
|
/** Set DMA Channel ISR
|
|
* We don't clear interrupt flags for you, do it by your self.
|
|
* @param dma - DMA instance
|
|
* @param channel - DMA channel
|
|
* @param isr - your interrupt service routine or use NULL to clear
|
|
*/
|
|
void furi_hal_interrupt_set_dma_channel_isr(DMA_TypeDef* dma, uint32_t channel, FuriHalInterruptISR isr);
|
|
|
|
/** Set Timer ISR
|
|
* By default ISR is serviced by ST HAL. Use this function to override it.
|
|
* We don't clear interrupt flags for you, do it by your self.
|
|
* @param timer - timer instance
|
|
* @param isr - your interrupt service routine or use NULL to clear
|
|
*/
|
|
void furi_hal_interrupt_set_timer_isr(TIM_TypeDef *timer, FuriHalInterruptISR isr);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|