Can a macro be assigned an enum in a library?

#define OPTION1 options.O1
#define OPTION2 options.O2
#define OPTION3 options.O3

That is not how you refer to the members of an enum. Are you confusing it with the syntax used to access the members of a struct ?