X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/5e8ac5e02a09140e97d56a9d5313504dfa31282d..1f12ca6c89dbd3e4414b9d3b997736da4df69549:/include/common.h?ds=sidebyside diff --git a/include/common.h b/include/common.h index 12d87c4..16f96bb 100644 --- a/include/common.h +++ b/include/common.h @@ -47,6 +47,8 @@ struct bits { #define GCC_BUG_61443 1 #endif /* PR61443 */ +#define DEVICE_NAME __AVR_DEVICE_NAME__ + #else // TODO: stm32 #endif /* __AVR__ */ @@ -78,9 +80,10 @@ struct bits { extern volatile uint_least8_t Stat; #endif /* __AVR__ */ -#define S_10MS_TO (1<<0) -#define S_MSG_PENDING (1<<1) -#define S_CON_PENDING (1<<2) +#define S_10MS_TO (1<<0) +#define S_MSG_PENDING (1<<1) +#define S_CON_PENDING (1<<3) +#define S_RESET_POLARITY (1<<4) static inline int my_puts(const char *s)