https://123dok.net/document/q2n71l2j-formal-device-programming-model-serial-interface.html