\hypertarget{usbhid_8h}{}\doxysection{dev/usb/usbhid.h File Reference}
\label{usbhid_8h}\index{dev/usb/usbhid.h@{dev/usb/usbhid.h}}
{\ttfamily \#include $<$dev/hid/hid.\+h$>$}\newline
{\ttfamily \#include $<$dev/usb/usb\+\_\+endian.\+h$>$}\newline
Include dependency graph for usbhid.\+h\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=325pt]{d7/dd6/usbhid_8h__incl}
\end{center}
\end{figure}
This graph shows which files directly or indirectly include this file\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d4/d7c/usbhid_8h__dep__incl}
\end{center}
\end{figure}
\doxysubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structusb__hid__descriptor}{usb\+\_\+hid\+\_\+descriptor}}
\end{DoxyCompactItemize}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{usbhid_8h_a5b262b2b12f8e31ca493546a320daa08}{UR\+\_\+\+GET\+\_\+\+HID\+\_\+\+DESCRIPTOR}}~0x06
\item 
\#define \mbox{\hyperlink{usbhid_8h_aa8c85ca020ed93265ee53dd62e7d5895}{UDESC\+\_\+\+HID}}~0x21
\item 
\#define \mbox{\hyperlink{usbhid_8h_af3c65cc2d5c67a6f32cb3c994c44431e}{UDESC\+\_\+\+REPORT}}~0x22
\item 
\#define \mbox{\hyperlink{usbhid_8h_a10ab5c04353fc5900dc99664cb89ad82}{UDESC\+\_\+\+PHYSICAL}}~0x23
\item 
\#define \mbox{\hyperlink{usbhid_8h_aa6da8ad2b79f88be483499a03f7f06cd}{UR\+\_\+\+SET\+\_\+\+HID\+\_\+\+DESCRIPTOR}}~0x07
\item 
\#define \mbox{\hyperlink{usbhid_8h_a83f99fae79e395569281ec5a169b9629}{UR\+\_\+\+GET\+\_\+\+REPORT}}~0x01
\item 
\#define \mbox{\hyperlink{usbhid_8h_a9fc94613b9ef6bb7fcc37deda784c760}{UR\+\_\+\+SET\+\_\+\+REPORT}}~0x09
\item 
\#define \mbox{\hyperlink{usbhid_8h_ae5edb3ed64d0c6389e0d6e1df7c5eb4b}{UR\+\_\+\+GET\+\_\+\+IDLE}}~0x02
\item 
\#define \mbox{\hyperlink{usbhid_8h_adfaea6848ff8bd9a94cc6a059e94b54a}{UR\+\_\+\+SET\+\_\+\+IDLE}}~0x0a
\item 
\#define \mbox{\hyperlink{usbhid_8h_addfb96d0078a00fb1132f42a60cd8961}{UR\+\_\+\+GET\+\_\+\+PROTOCOL}}~0x03
\item 
\#define \mbox{\hyperlink{usbhid_8h_afea159697b5a77d5adf395f95055f6f7}{UR\+\_\+\+SET\+\_\+\+PROTOCOL}}~0x0b
\item 
\#define \mbox{\hyperlink{usbhid_8h_ae3d23e4a1e4b7a4be2dddc0a8a96a64b}{USB\+\_\+\+HID\+\_\+\+DESCRIPTOR\+\_\+\+SIZE}}(\mbox{\hyperlink{if__run_8c_a5a648f5ec00c526b0dfa2df7a272c6c0}{n}})~(9+((\mbox{\hyperlink{if__run_8c_a5a648f5ec00c526b0dfa2df7a272c6c0}{n}})$\ast$3))
\item 
\#define \mbox{\hyperlink{usbhid_8h_af540f9821ac4f3dad99b6e42024df6c1}{UHID\+\_\+\+INPUT\+\_\+\+REPORT}}~HID\+\_\+\+INPUT\+\_\+\+REPORT
\item 
\#define \mbox{\hyperlink{usbhid_8h_a6c15a5eb7d96339faf19c4ac50a5c79b}{UHID\+\_\+\+OUTPUT\+\_\+\+REPORT}}~HID\+\_\+\+OUTPUT\+\_\+\+REPORT
\item 
\#define \mbox{\hyperlink{usbhid_8h_a2b39f0f97bf832c66dad0c7dc051b314}{UHID\+\_\+\+FEATURE\+\_\+\+REPORT}}~HID\+\_\+\+FEATURE\+\_\+\+REPORT
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structusb__hid__descriptor}{usb\+\_\+hid\+\_\+descriptor}} $\ast$ \mbox{\hyperlink{usbhid_8h_a810b59f743ba0c6f13370406c17f9aaa}{hid\+\_\+get\+\_\+descriptor\+\_\+from\+\_\+usb}} (struct \mbox{\hyperlink{structusb__config__descriptor}{usb\+\_\+config\+\_\+descriptor}} $\ast$cd, struct \mbox{\hyperlink{structusb__interface__descriptor}{usb\+\_\+interface\+\_\+descriptor}} $\ast$\mbox{\hyperlink{if__usievar_8h_a1e6927fa1486224044e568f9c370519b}{id}})
\item 
\mbox{\hyperlink{usbdi_8h_a5daf16538c7ea36dad2de85182c72945}{usb\+\_\+error\+\_\+t}} \mbox{\hyperlink{usbhid_8h_a606298298fcaeada223dd72693f380c7}{usbd\+\_\+req\+\_\+get\+\_\+hid\+\_\+desc}} (struct \mbox{\hyperlink{structusb__device}{usb\+\_\+device}} $\ast$udev, struct mtx $\ast$mtx, void $\ast$$\ast$descp, uint16\+\_\+t $\ast$sizep, struct malloc\+\_\+type $\ast$mem, uint8\+\_\+t iface\+\_\+index)
\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structusb__hid__descriptor}{usb\+\_\+hid\+\_\+descriptor}} \mbox{\hyperlink{usbhid_8h_adedfe11abba0d8b9ed7415df8a72fc7f}{\+\_\+\+\_\+packed}}
\end{DoxyCompactItemize}


\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{usbhid_8h_aa8c85ca020ed93265ee53dd62e7d5895}\label{usbhid_8h_aa8c85ca020ed93265ee53dd62e7d5895}} 
\index{usbhid.h@{usbhid.h}!UDESC\_HID@{UDESC\_HID}}
\index{UDESC\_HID@{UDESC\_HID}!usbhid.h@{usbhid.h}}
\doxysubsubsection{\texorpdfstring{UDESC\_HID}{UDESC\_HID}}
{\footnotesize\ttfamily \#define UDESC\+\_\+\+HID~0x21}



Definition at line \mbox{\hyperlink{usbhid_8h_source_l00041}{41}} of file \mbox{\hyperlink{usbhid_8h_source}{usbhid.\+h}}.

\mbox{\Hypertarget{usbhid_8h_a10ab5c04353fc5900dc99664cb89ad82}\label{usbhid_8h_a10ab5c04353fc5900dc99664cb89ad82}} 
\index{usbhid.h@{usbhid.h}!UDESC\_PHYSICAL@{UDESC\_PHYSICAL}}
\index{UDESC\_PHYSICAL@{UDESC\_PHYSICAL}!usbhid.h@{usbhid.h}}
\doxysubsubsection{\texorpdfstring{UDESC\_PHYSICAL}{UDESC\_PHYSICAL}}
{\footnotesize\ttfamily \#define UDESC\+\_\+\+PHYSICAL~0x23}



Definition at line \mbox{\hyperlink{usbhid_8h_source_l00043}{43}} of file \mbox{\hyperlink{usbhid_8h_source}{usbhid.\+h}}.

\mbox{\Hypertarget{usbhid_8h_af3c65cc2d5c67a6f32cb3c994c44431e}\label{usbhid_8h_af3c65cc2d5c67a6f32cb3c994c44431e}} 
\index{usbhid.h@{usbhid.h}!UDESC\_REPORT@{UDESC\_REPORT}}
\index{UDESC\_REPORT@{UDESC\_REPORT}!usbhid.h@{usbhid.h}}
\doxysubsubsection{\texorpdfstring{UDESC\_REPORT}{UDESC\_REPORT}}
{\footnotesize\ttfamily \#define UDESC\+\_\+\+REPORT~0x22}



Definition at line \mbox{\hyperlink{usbhid_8h_source_l00042}{42}} of file \mbox{\hyperlink{usbhid_8h_source}{usbhid.\+h}}.

\mbox{\Hypertarget{usbhid_8h_a2b39f0f97bf832c66dad0c7dc051b314}\label{usbhid_8h_a2b39f0f97bf832c66dad0c7dc051b314}} 
\index{usbhid.h@{usbhid.h}!UHID\_FEATURE\_REPORT@{UHID\_FEATURE\_REPORT}}
\index{UHID\_FEATURE\_REPORT@{UHID\_FEATURE\_REPORT}!usbhid.h@{usbhid.h}}
\doxysubsubsection{\texorpdfstring{UHID\_FEATURE\_REPORT}{UHID\_FEATURE\_REPORT}}
{\footnotesize\ttfamily \#define UHID\+\_\+\+FEATURE\+\_\+\+REPORT~HID\+\_\+\+FEATURE\+\_\+\+REPORT}



Definition at line \mbox{\hyperlink{usbhid_8h_source_l00068}{68}} of file \mbox{\hyperlink{usbhid_8h_source}{usbhid.\+h}}.

\mbox{\Hypertarget{usbhid_8h_af540f9821ac4f3dad99b6e42024df6c1}\label{usbhid_8h_af540f9821ac4f3dad99b6e42024df6c1}} 
\index{usbhid.h@{usbhid.h}!UHID\_INPUT\_REPORT@{UHID\_INPUT\_REPORT}}
\index{UHID\_INPUT\_REPORT@{UHID\_INPUT\_REPORT}!usbhid.h@{usbhid.h}}
\doxysubsubsection{\texorpdfstring{UHID\_INPUT\_REPORT}{UHID\_INPUT\_REPORT}}
{\footnotesize\ttfamily \#define UHID\+\_\+\+INPUT\+\_\+\+REPORT~HID\+\_\+\+INPUT\+\_\+\+REPORT}



Definition at line \mbox{\hyperlink{usbhid_8h_source_l00066}{66}} of file \mbox{\hyperlink{usbhid_8h_source}{usbhid.\+h}}.

\mbox{\Hypertarget{usbhid_8h_a6c15a5eb7d96339faf19c4ac50a5c79b}\label{usbhid_8h_a6c15a5eb7d96339faf19c4ac50a5c79b}} 
\index{usbhid.h@{usbhid.h}!UHID\_OUTPUT\_REPORT@{UHID\_OUTPUT\_REPORT}}
\index{UHID\_OUTPUT\_REPORT@{UHID\_OUTPUT\_REPORT}!usbhid.h@{usbhid.h}}
\doxysubsubsection{\texorpdfstring{UHID\_OUTPUT\_REPORT}{UHID\_OUTPUT\_REPORT}}
{\footnotesize\ttfamily \#define UHID\+\_\+\+OUTPUT\+\_\+\+REPORT~HID\+\_\+\+OUTPUT\+\_\+\+REPORT}



Definition at line \mbox{\hyperlink{usbhid_8h_source_l00067}{67}} of file \mbox{\hyperlink{usbhid_8h_source}{usbhid.\+h}}.

\mbox{\Hypertarget{usbhid_8h_a5b262b2b12f8e31ca493546a320daa08}\label{usbhid_8h_a5b262b2b12f8e31ca493546a320daa08}} 
\index{usbhid.h@{usbhid.h}!UR\_GET\_HID\_DESCRIPTOR@{UR\_GET\_HID\_DESCRIPTOR}}
\index{UR\_GET\_HID\_DESCRIPTOR@{UR\_GET\_HID\_DESCRIPTOR}!usbhid.h@{usbhid.h}}
\doxysubsubsection{\texorpdfstring{UR\_GET\_HID\_DESCRIPTOR}{UR\_GET\_HID\_DESCRIPTOR}}
{\footnotesize\ttfamily \#define UR\+\_\+\+GET\+\_\+\+HID\+\_\+\+DESCRIPTOR~0x06}



Definition at line \mbox{\hyperlink{usbhid_8h_source_l00040}{40}} of file \mbox{\hyperlink{usbhid_8h_source}{usbhid.\+h}}.

\mbox{\Hypertarget{usbhid_8h_ae5edb3ed64d0c6389e0d6e1df7c5eb4b}\label{usbhid_8h_ae5edb3ed64d0c6389e0d6e1df7c5eb4b}} 
\index{usbhid.h@{usbhid.h}!UR\_GET\_IDLE@{UR\_GET\_IDLE}}
\index{UR\_GET\_IDLE@{UR\_GET\_IDLE}!usbhid.h@{usbhid.h}}
\doxysubsubsection{\texorpdfstring{UR\_GET\_IDLE}{UR\_GET\_IDLE}}
{\footnotesize\ttfamily \#define UR\+\_\+\+GET\+\_\+\+IDLE~0x02}



Definition at line \mbox{\hyperlink{usbhid_8h_source_l00047}{47}} of file \mbox{\hyperlink{usbhid_8h_source}{usbhid.\+h}}.

\mbox{\Hypertarget{usbhid_8h_addfb96d0078a00fb1132f42a60cd8961}\label{usbhid_8h_addfb96d0078a00fb1132f42a60cd8961}} 
\index{usbhid.h@{usbhid.h}!UR\_GET\_PROTOCOL@{UR\_GET\_PROTOCOL}}
\index{UR\_GET\_PROTOCOL@{UR\_GET\_PROTOCOL}!usbhid.h@{usbhid.h}}
\doxysubsubsection{\texorpdfstring{UR\_GET\_PROTOCOL}{UR\_GET\_PROTOCOL}}
{\footnotesize\ttfamily \#define UR\+\_\+\+GET\+\_\+\+PROTOCOL~0x03}



Definition at line \mbox{\hyperlink{usbhid_8h_source_l00049}{49}} of file \mbox{\hyperlink{usbhid_8h_source}{usbhid.\+h}}.

\mbox{\Hypertarget{usbhid_8h_a83f99fae79e395569281ec5a169b9629}\label{usbhid_8h_a83f99fae79e395569281ec5a169b9629}} 
\index{usbhid.h@{usbhid.h}!UR\_GET\_REPORT@{UR\_GET\_REPORT}}
\index{UR\_GET\_REPORT@{UR\_GET\_REPORT}!usbhid.h@{usbhid.h}}
\doxysubsubsection{\texorpdfstring{UR\_GET\_REPORT}{UR\_GET\_REPORT}}
{\footnotesize\ttfamily \#define UR\+\_\+\+GET\+\_\+\+REPORT~0x01}



Definition at line \mbox{\hyperlink{usbhid_8h_source_l00045}{45}} of file \mbox{\hyperlink{usbhid_8h_source}{usbhid.\+h}}.

\mbox{\Hypertarget{usbhid_8h_aa6da8ad2b79f88be483499a03f7f06cd}\label{usbhid_8h_aa6da8ad2b79f88be483499a03f7f06cd}} 
\index{usbhid.h@{usbhid.h}!UR\_SET\_HID\_DESCRIPTOR@{UR\_SET\_HID\_DESCRIPTOR}}
\index{UR\_SET\_HID\_DESCRIPTOR@{UR\_SET\_HID\_DESCRIPTOR}!usbhid.h@{usbhid.h}}
\doxysubsubsection{\texorpdfstring{UR\_SET\_HID\_DESCRIPTOR}{UR\_SET\_HID\_DESCRIPTOR}}
{\footnotesize\ttfamily \#define UR\+\_\+\+SET\+\_\+\+HID\+\_\+\+DESCRIPTOR~0x07}



Definition at line \mbox{\hyperlink{usbhid_8h_source_l00044}{44}} of file \mbox{\hyperlink{usbhid_8h_source}{usbhid.\+h}}.

\mbox{\Hypertarget{usbhid_8h_adfaea6848ff8bd9a94cc6a059e94b54a}\label{usbhid_8h_adfaea6848ff8bd9a94cc6a059e94b54a}} 
\index{usbhid.h@{usbhid.h}!UR\_SET\_IDLE@{UR\_SET\_IDLE}}
\index{UR\_SET\_IDLE@{UR\_SET\_IDLE}!usbhid.h@{usbhid.h}}
\doxysubsubsection{\texorpdfstring{UR\_SET\_IDLE}{UR\_SET\_IDLE}}
{\footnotesize\ttfamily \#define UR\+\_\+\+SET\+\_\+\+IDLE~0x0a}



Definition at line \mbox{\hyperlink{usbhid_8h_source_l00048}{48}} of file \mbox{\hyperlink{usbhid_8h_source}{usbhid.\+h}}.

\mbox{\Hypertarget{usbhid_8h_afea159697b5a77d5adf395f95055f6f7}\label{usbhid_8h_afea159697b5a77d5adf395f95055f6f7}} 
\index{usbhid.h@{usbhid.h}!UR\_SET\_PROTOCOL@{UR\_SET\_PROTOCOL}}
\index{UR\_SET\_PROTOCOL@{UR\_SET\_PROTOCOL}!usbhid.h@{usbhid.h}}
\doxysubsubsection{\texorpdfstring{UR\_SET\_PROTOCOL}{UR\_SET\_PROTOCOL}}
{\footnotesize\ttfamily \#define UR\+\_\+\+SET\+\_\+\+PROTOCOL~0x0b}



Definition at line \mbox{\hyperlink{usbhid_8h_source_l00050}{50}} of file \mbox{\hyperlink{usbhid_8h_source}{usbhid.\+h}}.

\mbox{\Hypertarget{usbhid_8h_a9fc94613b9ef6bb7fcc37deda784c760}\label{usbhid_8h_a9fc94613b9ef6bb7fcc37deda784c760}} 
\index{usbhid.h@{usbhid.h}!UR\_SET\_REPORT@{UR\_SET\_REPORT}}
\index{UR\_SET\_REPORT@{UR\_SET\_REPORT}!usbhid.h@{usbhid.h}}
\doxysubsubsection{\texorpdfstring{UR\_SET\_REPORT}{UR\_SET\_REPORT}}
{\footnotesize\ttfamily \#define UR\+\_\+\+SET\+\_\+\+REPORT~0x09}



Definition at line \mbox{\hyperlink{usbhid_8h_source_l00046}{46}} of file \mbox{\hyperlink{usbhid_8h_source}{usbhid.\+h}}.

\mbox{\Hypertarget{usbhid_8h_ae3d23e4a1e4b7a4be2dddc0a8a96a64b}\label{usbhid_8h_ae3d23e4a1e4b7a4be2dddc0a8a96a64b}} 
\index{usbhid.h@{usbhid.h}!USB\_HID\_DESCRIPTOR\_SIZE@{USB\_HID\_DESCRIPTOR\_SIZE}}
\index{USB\_HID\_DESCRIPTOR\_SIZE@{USB\_HID\_DESCRIPTOR\_SIZE}!usbhid.h@{usbhid.h}}
\doxysubsubsection{\texorpdfstring{USB\_HID\_DESCRIPTOR\_SIZE}{USB\_HID\_DESCRIPTOR\_SIZE}}
{\footnotesize\ttfamily \#define USB\+\_\+\+HID\+\_\+\+DESCRIPTOR\+\_\+\+SIZE(\begin{DoxyParamCaption}\item[{}]{\mbox{\hyperlink{if__run_8c_a5a648f5ec00c526b0dfa2df7a272c6c0}{n}} }\end{DoxyParamCaption})~(9+((\mbox{\hyperlink{if__run_8c_a5a648f5ec00c526b0dfa2df7a272c6c0}{n}})$\ast$3))}



Definition at line \mbox{\hyperlink{usbhid_8h_source_l00064}{64}} of file \mbox{\hyperlink{usbhid_8h_source}{usbhid.\+h}}.



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{usbhid_8h_a810b59f743ba0c6f13370406c17f9aaa}\label{usbhid_8h_a810b59f743ba0c6f13370406c17f9aaa}} 
\index{usbhid.h@{usbhid.h}!hid\_get\_descriptor\_from\_usb@{hid\_get\_descriptor\_from\_usb}}
\index{hid\_get\_descriptor\_from\_usb@{hid\_get\_descriptor\_from\_usb}!usbhid.h@{usbhid.h}}
\doxysubsubsection{\texorpdfstring{hid\_get\_descriptor\_from\_usb()}{hid\_get\_descriptor\_from\_usb()}}
{\footnotesize\ttfamily struct \mbox{\hyperlink{structusb__hid__descriptor}{usb\+\_\+hid\+\_\+descriptor}} $\ast$ hid\+\_\+get\+\_\+descriptor\+\_\+from\+\_\+usb (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structusb__config__descriptor}{usb\+\_\+config\+\_\+descriptor}} $\ast$}]{cd,  }\item[{struct \mbox{\hyperlink{structusb__interface__descriptor}{usb\+\_\+interface\+\_\+descriptor}} $\ast$}]{id }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{usb__hid_8c_source_l00082}{82}} of file \mbox{\hyperlink{usb__hid_8c_source}{usb\+\_\+hid.\+c}}.



References \mbox{\hyperlink{usb_8h_source_l00527}{usb\+\_\+endpoint\+\_\+descriptor\+::b\+Descriptor\+Type}}, \mbox{\hyperlink{usb_8h_source_l00526}{usb\+\_\+endpoint\+\_\+descriptor\+::b\+Length}}, \mbox{\hyperlink{usb__device_8h_source_l00000}{desc}}, \mbox{\hyperlink{usbhid_8h_source_l00041}{UDESC\+\_\+\+HID}}, \mbox{\hyperlink{usb_8h_source_l00199}{UDESC\+\_\+\+INTERFACE}}, \mbox{\hyperlink{usb__parse_8c_source_l00074}{usb\+\_\+desc\+\_\+foreach()}}, and \mbox{\hyperlink{usbhid_8h_source_l00064}{USB\+\_\+\+HID\+\_\+\+DESCRIPTOR\+\_\+\+SIZE}}.



Referenced by \mbox{\hyperlink{usb__hid_8c_source_l00113}{usbd\+\_\+req\+\_\+get\+\_\+hid\+\_\+desc()}}, and \mbox{\hyperlink{usbhid_8c_source_l00727}{usbhid\+\_\+fill\+\_\+device\+\_\+info()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=327pt]{d6/d8b/usbhid_8h_a810b59f743ba0c6f13370406c17f9aaa_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d6/d8b/usbhid_8h_a810b59f743ba0c6f13370406c17f9aaa_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{usbhid_8h_a606298298fcaeada223dd72693f380c7}\label{usbhid_8h_a606298298fcaeada223dd72693f380c7}} 
\index{usbhid.h@{usbhid.h}!usbd\_req\_get\_hid\_desc@{usbd\_req\_get\_hid\_desc}}
\index{usbd\_req\_get\_hid\_desc@{usbd\_req\_get\_hid\_desc}!usbhid.h@{usbhid.h}}
\doxysubsubsection{\texorpdfstring{usbd\_req\_get\_hid\_desc()}{usbd\_req\_get\_hid\_desc()}}
{\footnotesize\ttfamily \mbox{\hyperlink{usbdi_8h_a5daf16538c7ea36dad2de85182c72945}{usb\+\_\+error\+\_\+t}} usbd\+\_\+req\+\_\+get\+\_\+hid\+\_\+desc (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structusb__device}{usb\+\_\+device}} $\ast$}]{udev,  }\item[{struct mtx $\ast$}]{mtx,  }\item[{void $\ast$$\ast$}]{descp,  }\item[{uint16\+\_\+t $\ast$}]{sizep,  }\item[{struct malloc\+\_\+type $\ast$}]{mem,  }\item[{uint8\+\_\+t}]{iface\+\_\+index }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{usb__hid_8c_source_l00113}{113}} of file \mbox{\hyperlink{usb__hid_8c_source}{usb\+\_\+hid.\+c}}.



References \mbox{\hyperlink{structusb__hid__descriptor_af78457da1ac0ea3d421882a0a9b935ac}{usb\+\_\+hid\+\_\+descriptor\+::descrs}}, \mbox{\hyperlink{usb__hid_8c_source_l00082}{hid\+\_\+get\+\_\+descriptor\+\_\+from\+\_\+usb()}}, \mbox{\hyperlink{usbdi_8h_source_l00175}{usb\+\_\+interface\+::idesc}}, \mbox{\hyperlink{usb__endian_8h_source_l00053}{UGETW}}, \mbox{\hyperlink{usbdi_8h_source_l00049}{USB\+\_\+\+ERR\+\_\+\+INVAL}}, \mbox{\hyperlink{usbdi_8h_source_l00064}{USB\+\_\+\+ERR\+\_\+\+IOERROR}}, \mbox{\hyperlink{usbdi_8h_source_l00050}{USB\+\_\+\+ERR\+\_\+\+NOMEM}}, \mbox{\hyperlink{usbdi_8h_source_l00046}{USB\+\_\+\+ERR\+\_\+\+NORMAL\+\_\+\+COMPLETION}}, \mbox{\hyperlink{usb__device_8c_source_l02616}{usbd\+\_\+get\+\_\+config\+\_\+descriptor()}}, \mbox{\hyperlink{usb__device_8c_source_l02370}{usbd\+\_\+get\+\_\+iface()}}, \mbox{\hyperlink{usb__request_8c_source_l01890}{usbd\+\_\+req\+\_\+get\+\_\+report\+\_\+descriptor()}}, and \mbox{\hyperlink{usbhid_8h_source_l00060}{usb\+\_\+hid\+\_\+descriptor\+::w\+Descriptor\+Length}}.



Referenced by \mbox{\hyperlink{ucycom_8c_source_l00215}{ucycom\+\_\+attach()}}, \mbox{\hyperlink{ugold_8c_source_l00193}{ugold\+\_\+attach()}}, \mbox{\hyperlink{uhid_8c_source_l00762}{uhid\+\_\+attach()}}, \mbox{\hyperlink{uhid_8c_source_l00707}{uhid\+\_\+probe()}}, \mbox{\hyperlink{ukbd_8c_source_l01073}{ukbd\+\_\+attach()}}, \mbox{\hyperlink{ukbd_8c_source_l00928}{ukbd\+\_\+probe()}}, \mbox{\hyperlink{ums_8c_source_l00570}{ums\+\_\+attach()}}, \mbox{\hyperlink{ums_8c_source_l00423}{ums\+\_\+probe()}}, \mbox{\hyperlink{wmt_8c_source_l00294}{wmt\+\_\+probe()}}, and \mbox{\hyperlink{wsp_8c_source_l00748}{wsp\+\_\+attach()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d6/d8b/usbhid_8h_a606298298fcaeada223dd72693f380c7_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=337pt]{d6/d8b/usbhid_8h_a606298298fcaeada223dd72693f380c7_icgraph}
\end{center}
\end{figure}


\doxysubsection{Variable Documentation}
\mbox{\Hypertarget{usbhid_8h_adedfe11abba0d8b9ed7415df8a72fc7f}\label{usbhid_8h_adedfe11abba0d8b9ed7415df8a72fc7f}} 
\index{usbhid.h@{usbhid.h}!\_\_packed@{\_\_packed}}
\index{\_\_packed@{\_\_packed}!usbhid.h@{usbhid.h}}
\doxysubsubsection{\texorpdfstring{\_\_packed}{\_\_packed}}
{\footnotesize\ttfamily struct \mbox{\hyperlink{structusb__hid__descriptor}{usb\+\_\+hid\+\_\+descriptor}} \mbox{\hyperlink{struct____packed}{\+\_\+\+\_\+packed}}}

