Add uart functions

Signed-off-by: Denshikobo-Life <hiramine0930@gmail.com>