Added functions to read and write register bit range
Added functions to read and write register bit range

This is useful if you are using a sub field within a register to
read or write data, this function just simplifies the process

CospanDesign/nysa,CospanDesign/nysa