#include extern uint8_t _mcucsr; uint8_t get_csr(void) { return _mcucsr; };