Cypress CyAPI Programmer's Reference

This document is an introduction to Cypress CyAPI Programmer's Reference, which mainly introduces the related content of CCyBulkEndPoint, CCyControlEndPoint and CCyInterruptEndPoint.


Cypress CyAPI Programmer's Reference - cover page
Brand
Cypress
Category
Other software
Document type
Programming Manual
Language
English
Pages
58
File format
PDF
File size
618 KB
Published
09 May, 2012
Updated
30 September, 2023
MD5 checksum
3D22B420AC32375CEDE9695C63860895

About this manual

The Cypress CyAPI library provides a C++ interface to USB devices via the CyUsb.sys driver. It abstracts devices, endpoints, and configurations, allowing developers to open devices, query descriptors, and perform data transfers with simple method calls.

The document describes each class (CCyUSBDevice, CCyBulkEndPoint, CCyControlEndPoint, etc.), their constructors, default values, and example code for bulk, control, interrupt, and isochronous transfers, including asynchronous BeginDataXfer/WaitForXfer/FinishDataXfer patterns.

What's inside

  • Overview
  • CCyBulkEndPoint
  • CCyControlEndPoint
  • CCyInterruptEndPoint
  • CCyIsocEndPoint
  • CCyIsoPktInfo
  • CCyUSBDevice
  • CCyUSBConfig
  • CCyUSBEndPoint
  • CCyUSBInterface

Specifications

Default timeout for CCyBulkEndPoint10,000 ms (10 seconds)

Frequently asked questions

What is the default timeout for CCyBulkEndPoint?

The default timeout is set to 10,000 milliseconds (10 seconds).

How do you start an asynchronous bulk data transfer with CyAPI?

Call BeginDataXfer to initiate the transfer, then use WaitForXfer and FinishDataXfer to complete it.

Download PDF (618 KB)

More Cypress Manuals


View all Cypress manuals →