debug_uart: hide internal functions