Update dev_driver.c

Added timer function and timer init and cleanup functions