Replace EagleUser_delay() function with direct call to msleep() and rename register read/write functions