摘要 |
A detection circuit that detects the open and close state of a flip cover of a communications device. The detection circuit includes a resistive network and an analog-to-digital converter (ADC). When the flip cover is in the closed position, the circuit detects a unique resistive value through a set of contacts. This voltage level is converted from an analog signal to a digital signal via the ADC for input into a microprocessor. When the flip cover is in the open position, the contacts are broken, thus, disabling the detection of the unique resistive value. The resulting voltage level is converted from an analog signal to a digital signal via the ADC for input into a microprocessor. Software, programmed within the microprocessor, enables the communications device to operate in the appropriate mode according to the detection of the open/close state of the flip cover.
|