TIME_FROM_REG
val = TIME_FROM_REG(data->pwm_stop_time[index]);
val = TIME_FROM_REG(data->pwm_uptime);
val = TIME_FROM_REG(data->pwm_downtime);