In regard to my attempt to support a UART fingerprint scanner, repo here: https://github.com/clin1234/libfprint/blob/raspy/libfprint/drivers/raspy.c, how would one start to write helper functions for the UART protocol?