摘要 |
The present invention discloses a single wire transmission interface comprising: a signal detection circuit detecting level switchings of a transmission signal from a single wire, and generating an enable signal and a decoded signal corresponding to the transmission signal, the level switchings including first switchings from a first level to a second level and second switchings from the second level to the first level, wherein the enable signal starts according to one first switching of the transmission signal, and stops when no first switching occur in a predetermined period after one second switching of the transmission signal, and wherein rising edges (or falling edges) of the decoded signal correspond to the first switchings of the transmission signal; a counter, under enablement by the enable signal, counting a number of the rising edges (or the rising edges) of the decoded signal or the first switchings of the transmission signal, and generating a count; a single short pulse generator generating a short pulse according to the start of the enable signal to reset the decoded signal. |