DATA STATE STOP reset state of data fsm
DATA_STATE_IDLE determines the data direction
DATA_STATE_WAIT_RECEIVE waits for the start bit of data from sd card
DATA_STATE_RECEIVE receives payload data from sd card
DATA_STATE_RECEIVE_CRC receives crc of data from sd card
DATA_STATE_RECEIVE_END_BIT receive the end bit of data from sd card and determines if all blocks have send
DATA_STATE_WAIT_SEND wait to send
DATA_STATE_SEND sends payload data to sd card
DATA_STATE_SEND_CRC sends crc of the data to sd card
DATA_STATE_SEND_END_BIT sends the end bit of the data send from sd card
DATA_STATE_RECEIVE_CRC_STATUS receive the crc status of data sent from sd card(写数据会返回CRC状态)
DATA_STATE_SEND_BUSY determines if all the blocks have been sent
DATA_STATE_SEND_START_BIT sends the start bit of data to sd card
DATA_STATE_SEND_Z send a Z bit to sd card
DATA_STATE_SEND_P send a P bit to sd card