摘要 |
A detector for detecting the connection of an accessory including a microphone and/or the state of a switch associated with the microphone for a mobile device, wherein the detector comprises a first flag generator for time multiplexing the detection of a signal above a predetermined threshold for each of two comparators, such that for one time period one comparator output is detected and for a second time period the second comparator output is detected to thereby form a first flag; a second flag generator for determining the connection of microphone to thereby generate a second flag; a lookup table for determining the connection of the accessory and/or the state of the microphone switch from the first and second flags.
|