working data rate field
adding some bitwise helper functions