 5d08b35b54
			
		
	
	
		5d08b35b54
		
			
		
	
	
	
	
		
			
			* Interrupt manager: add memory barriers. * ISRs: remove TIM17 dead code. * API HAL Delay: rename initialization routine and move to API-HAL * Main: move FURI initialization to the start. * API HAL GPIO: drop CC1101 shenanigans, COMP inversion for new boards. * IButton: migrate Cyfral and Metakom to RFID comp routine, make it compatible with new boards. * RFID: Better keyboard handling and shutdown routines
		
			
				
	
	
		
			23 lines
		
	
	
		
			315 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			315 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #pragma once
 | |
| #include "main.h"
 | |
| 
 | |
| #ifdef __cplusplus
 | |
| extern "C" {
 | |
| #endif
 | |
| 
 | |
| /** Init DWT */
 | |
| void api_hal_delay_init(void);
 | |
| 
 | |
| /**
 | |
|  * Delay in milliseconds
 | |
|  * @warning Cannot be used from ISR
 | |
|  */
 | |
| void delay(float milliseconds);
 | |
| 
 | |
| /** Delay in microseconds */
 | |
| void delay_us(float microseconds);
 | |
| 
 | |
| #ifdef __cplusplus
 | |
| }
 | |
| #endif
 |