Lines Matching refs:interface

19  * @brief Declares USB interface-specific definitions.

147 * @brief Defines structure parameters for the USB interface request.
166 * @brief Defines the structure of the events received by the USB interface.
176 * @brief Defines the USB interface information.
194 * @brief Defines USB interface objects.
199 /** USB interface information */
229 * @brief Defines the callback called when the function interface obtains or sets custom attributes.
233 * @param interface Indicates the pointer to the USB interface object.
261 * @brief Defines the callback called when the USB interface starts a thread to receive EP0 events,
264 * @param interface Indicates the pointer to the USB interface object.
278 struct UsbFnInterface *interface, uint32_t eventMask, UsbFnEventCallback callback, void *context);
281 * @brief Defines the callback called when the USB interface stops receiving EP0 events.
283 * @param interface Indicates the pointer to the USB interface object.
288 int32_t UsbFnStopRecvInterfaceEvent(struct UsbFnInterface *interface);
291 * @brief Enables a USB interface.
295 * @param interface Indicates the pointer to the USB interface object.
297 * @return Returns a <b>#UsbFnInterfaceHandle</b> containing the USB interface information
300 UsbFnInterfaceHandle UsbFnOpenInterface(struct UsbFnInterface *interface);
303 * @brief Disables a USB interface.
307 * @param UsbFnInterfaceHandle Indicates the handle of the USB interface object.
317 * @param interface Indicates the pointer to the USB interface object.
318 * @param pipeId Indicates the pipe ID. The value ranges from 0 to the total number of pipes on the USB interface.
324 int32_t UsbFnGetInterfacePipeInfo(struct UsbFnInterface *interface, uint8_t pipeId, struct UsbFnPipeInfo *info);
327 * @brief Registers custom attributes for a USB interface.
332 * @param interface Indicates the pointer to the USB interface object.
338 int32_t UsbFnRegistInterfaceProp(const struct UsbFnInterface *interface, const struct UsbFnRegistInfo *registInfo);
341 * @brief Obtains custom attributes of a USB interface.
344 * attributes of the USB interface defined in the HCS file, and attributes registered
349 * @param interface Indicates the pointer to the USB interface object.
357 int32_t UsbFnGetInterfaceProp(const struct UsbFnInterface *interface, const char *name, char *value);
360 * @brief Sets custom attributes of a USB interface.
363 * attributes of the USB interface defined in the HCS file, and attributes registered
368 * @param interface Indicates the pointer to the USB interface object.
376 int32_t UsbFnSetInterfaceProp(const struct UsbFnInterface *interface, const char *name, const char *value);