Add `event_source` to `constants.hpp`
This enum specifies the origin of an pulse message.
Available enum literals are `INTERRUPT`, `SERIAL`, `TIMER`.