#ifndef __GENERIC_MACROS
#define __GENERIC_MACROS
#define PANIC(status) \
do { \
GPIOD->ODR = status; \
while (1) {} \
} while (0)
#endif