67 FuriHalCortexCompSizeWord = 0b10,
68 FuriHalCortexCompSizeHalfWord = 0b01,
69 FuriHalCortexCompSizeByte = 0b00,
70} FuriHalCortexCompSize;
73 FuriHalCortexCompFunctionPC = 0b100,
74 FuriHalCortexCompFunctionRead = 0b101,
75 FuriHalCortexCompFunctionWrite = 0b110,
76 FuriHalCortexCompFunctionReadWrite = 0b110,
77} FuriHalCortexCompFunction;
94 FuriHalCortexComp comp,
95 FuriHalCortexCompFunction function,
98 FuriHalCortexCompSize size);
void furi_hal_cortex_comp_reset(FuriHalCortexComp comp)
Reset DWT comparator.
Definition furi_hal_cortex.c:89
FuriHalCortexTimer furi_hal_cortex_timer_get(uint32_t timeout_us)
Get Timer.
Definition furi_hal_cortex.c:31
void furi_hal_cortex_timer_wait(FuriHalCortexTimer cortex_timer)
Wait for timer expire.
Definition furi_hal_cortex.c:44
bool furi_hal_cortex_timer_is_expired(FuriHalCortexTimer cortex_timer)
Check if timer expired.
Definition furi_hal_cortex.c:40
uint32_t furi_hal_cortex_instructions_per_microsecond(void)
Get instructions per microsecond count.
Definition furi_hal_cortex.c:27
void furi_hal_cortex_comp_enable(FuriHalCortexComp comp, FuriHalCortexCompFunction function, uint32_t value, uint32_t mask, FuriHalCortexCompSize size)
Enable DWT comparator.
Definition furi_hal_cortex.c:55
void furi_hal_cortex_delay_us(uint32_t microseconds)
Microseconds delay.
Definition furi_hal_cortex.c:17
void furi_hal_cortex_init_early(void)
Early init stage for cortex.
Definition furi_hal_cortex.c:8
Cortex timer provides high precision low level expiring timer.
Definition furi_hal_cortex.h:16