6 #if defined(CONFIG_USB_DEVICE)
8 void udc_ctrl(enum usbd_event event
, int param
)
10 S3C24X0_GPIO
* const gpio
= S3C24X0_GetBase_GPIO();
13 case UDC_CTRL_PULLUP_ENABLE
:
15 gpio
->GPBDAT
|= (1 << 9); /* GPB9 */
17 gpio
->GPBDAT
&= ~(1 << 9); /* GPB9 */
19 case UDC_CTRL_500mA_ENABLE
:
21 gpio
->GPADAT
|= (1 << 0); /* GPA0 */
23 gpio
->GPADAT
&= ~(1 << 0); /* GPA0 */
30 #endif /* CONFIG_USB_DEVICE */