Skip to main content
  • 产品
  • Evaluate our Software
  • 下载
  • Free Utilities
  • 购买
  • 芯片厂商
  • 支持
  • 关于我们
  • Search
  • 工作机会
  • 新闻简报
  • 联系我们
  • emUSB-Host
  • On-The-Go

    On-The-Go

    Contact us
    Downloads
    Documentation
    SEGGER emUSB-Host

    Overview

    USB On-The-Go (OTG) introduces the dual-role device, meaning a device capable of functioning as either host or peripheral. USB OTG retains the standard USB host/peripheral model, in which a single host talks to USB peripherals. emUSB OTG offers a simple interface in order to detect the role of the USB OTG controller.

    Key features

    • Detection of the USB role of the device
    • Virtually any USB OTG transceiver can be used
    • Simple interface to OTG-hardware
    • Seamless integration with emUSB-Host and emUSB-Device

    Example code included

    An example application which uses the API is provided with any shipment or eval-software including emUSB-Host-OTG. This example starts the OTG stack and waits until a valid session is detected. As soon as a valid session is detected, the ID-pin state is checked to detect whether emUSB-Device or emUSB-Host shall then be initialized. For emUSB-Device a simple mouse sample is used. On emUSB-Host side an MSD-sample is used that detects a USB memory stick and shows information about the detected stick.

    printer camera

    USB On-The-Go (OTG) allows two USB devices to "talk" to each other.

    Resource usage by this class

    ROM usageRAM usage
    App. 350 Byte + (emUSB-Host core incl. driver + emUSB-Device core incl. driver)4 Byte + (emUSB-Host core incl. driver + emUSB-Device core incl. driver)

    Comparison of all add-ons for emUSB-Host

    • User manual
    • List of downloads
    • Update notification
    • Pricing
    • Support
    • Silicon vendor resources

    全球总部

    德国: SEGGER Microcontroller GmbH

    地址: Ecolab-Allee 5
    40789 Monheim am Rhein, Germany
    电邮: info@segger.com
    电话: +49-2173-99312-0
    传真: +49-2173-99312-28

    网点分布

    中国:哲戈微系统科技(上海)有限公司

    地址: 中国上海市闵行区秀涟路133号
    大虹桥国际A 栋218室
    邮编201199
    电邮: china@segger.com
    电话: +86-133-619-907-60


    简易信息聚合

    通过ISO 9001认证

    ISO 9001

    30多年的嵌入式行业经验

    First-class embedded software tools since 1992
    • 版本说明
    • 免责声明
    • 行为准则
    • 隐私策略
    • 沪ICP备2022005181号
    • 沪公网安备 31011202014525号
    © 2025 SEGGER - 版权所有.

    您即将离开 segger.cn 而访问境外网站,是否继续?