Added helper functions to set data rate registers.