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

Lock class input report.

Files

usbd_hid_os.h/usbd_hid_os.c

Prototype

Arguments

class_nbr

Class instance number.

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

The lock operation typically consists in pending on a semaphore. If the semaphore is free, the task continues normally its execution, otherwise it waits until another task releases the semaphore. p_err argument should be assigned as described in following table:


  • No labels