What’s the maxium safe time that a user can be looking at the controls in a car rather than the road?

And how should that be taken into account with the design of touch screen controls in the vehicle ?