bitaccess macro implementations (use `bitaccess` instead of this)
Macro for efficient and type-checked access to individual bits of a variable