I had some modules that were nice for setting up timers and the like using the built in enums as array index values for storing configuration information. For instance, on timers the enum from Harmony 1.x used to be this:
typedef enum {
..
typedef enum {
..