Added DMA to uart. Added additional error codes.