X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=tmr_defs.h;fp=tmr_defs.h;h=ba0b64bccbf892914e2a7893016317bbffe82a6a;hb=f7fae2bd36a4187bc5b0954253466844c2f4ee2b;hp=8c9be339ed022e7f59d2e8aafddef61d19f8d253;hpb=9d4c7bd6457fefe258ee2163b0338dda515d2365;p=rgblamp.git diff --git a/tmr_defs.h b/tmr_defs.h index 8c9be33..ba0b64b 100644 --- a/tmr_defs.h +++ b/tmr_defs.h @@ -43,12 +43,17 @@ * accordingly. */ enum { - TMR_BTN_PB = 0, - TMR_BTN_RS, - TMR_BTN_PB_HELD, - TMR_FADE, - TMR_INCOLOR, - TMR_CANDLE, + TMR_BTN_PB = 0, /* Pushbutton debounce */ + TMR_BTN_RS, /* Rocker switch debounce */ + TMR_BTN_PB_HELD, /* Time elapsed determines clicked vs held */ + TMR_FADE, /* Time between fade iterations */ + TMR_INCOLOR, /* Time a given color remains active (no fade) */ + TMR_CANDLE, /* Time between candle variations */ + + /* Time expired before a changed configuration is written. In this way, + * several changes to the configuration within TMR_CFG time generate a + * single EEPROM write. + */ TMR_CFG, TMR_COUNT