change to uart control

improved the way the uart control system acts according to a clock edge
and appropriate enables