Patent ID: 7268561

Claim:
An apparatus for detection of a USB host or a USB OTG device being attached to Vbus connector terminal of a USB device, comprising: an attach detection pull down resistor ( 319 ) isolated from the Vbus connector terminal ( 324 ); a first resistor ( 321 ) having a first terminal connected to the Vbus connection terminal ( 324 ) and a second terminal; a second resistor ( 322 ) connected between said second terminal of said first resistor ( 321 ) and ground; a PMOS transistor ( 323 ) having a source, a gate connected to said second terminal of said first resistor and a drain connected to ground; a third resistor (R 3 ) connected between a voltage source ( 326 ) and said drain of said PMOS transistor ( 323 ); an NMOS transistor ( 315 ) having a source connected to said voltage source ( 326 ), a gate connected to said source of said PMOS transistor ( 323 ) and a drain connected to an attach detect input ( 313 ) of the USB device ( 302 ); and wherein said attach detection pull down resistor ( 319 ) is connected between said attach detect input ( 313 ) and ground.