Enumerated type with common member

In reply to verif_learner:

Enum label names exist in the same scope as the enum itself. You’ll need to use TX_IDLE and RX_IDLE similar top what you did with the other names.