The IDDIG_MUX bit is used to configure the role of the device using software. However when I set this bit it goes to zero (looks like it is a reserved bit). But the documentation says that if set high you can set the mode of usb to HOST by setting IDDIG bit of the same register then starting the session.