Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Description

Wait for input report data to complete.

Files

usbd_hid_os.h/usbd_hid_os.c

Prototype

Arguments

class_nbr

Class instance number.

timeout_ms

Signal wait timeout in milliseconds

p_err

Pointer to variable that will receive the return error code from this function.

USBD_ERR_NONE

OS error code(s) relevant to failure(s)

Callers

HID Class.

Implementation Guidelines

  1. The wait operation typically consists in pending on a semaphore. When the input report transfer has completed, the task is waken up by the Core layer internal task responsible for asynchronous communication. p_err argument should be assigned as described in .

  • No labels