ssusb_set_mode
ssusb_set_mode(otg_sx, event ? USB_ROLE_HOST : USB_ROLE_DEVICE);
ssusb_set_mode(otg_sx, USB_ROLE_DEVICE);
ssusb_set_mode(otg_sx, to_host ? USB_ROLE_HOST : USB_ROLE_DEVICE);
ssusb_set_mode(otg_sx, role);
ssusb_set_mode(otg_sx, otg_sx->default_role);