Created most of the basic UART driver functions.