Patent attributes
An accessory interface for an electronic host device includes a digital communication bus including a plurality of communication lines configured to pass data between the electronic host device and an electronic accessory device. The accessory interface further includes detection circuitry selectively coupled to the plurality of communication lines via a multiplexer and configured to detect analog voltage levels across the plurality of communication lines, determine a device type of the electronic accessory device based on the detected analog voltage levels, and control the multiplexer to couple the plurality of communication lines to a host processor of the electronic host device upon determining the device type of the electronic accessory device. The host processor is configured to receive the device type of the electronic accessory device and transmit data via the plurality of communication lines to the electronic accessory device in accordance with the device type of the electronic accessory device.