the init state machine

the addr and the cmd should be seperated

原文地址:https://www.cnblogs.com/testset/p/2889105.html