add uart flush
add uart flush after tests
rename i2c transfer functions; add status function
add i2c register device wrappers
add i2c cli program