11 lines
		
	
	
		
			181 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			181 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef __GENERIC_MACROS
 | |
| #define __GENERIC_MACROS
 | |
| 
 | |
| #define PANIC(status)        \
 | |
| 	do {                     \
 | |
| 		GPIOD->ODR = status; \
 | |
| 		while (1) {}         \
 | |
| 	} while (0)
 | |
| 
 | |
| #endif
 |