To me, these masks are a very strange thing to put into an `enum`. I would almost rather change the docs than do this, because I think defining them in this way is more likely to cause confusion for most C users...