git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8654 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
de202dd376
commit
73b405b13f
|
@ -290,38 +290,34 @@ typedef struct {
|
||||||
usbepcallback_t setup_cb;
|
usbepcallback_t setup_cb;
|
||||||
/**
|
/**
|
||||||
* @brief IN endpoint notification callback.
|
* @brief IN endpoint notification callback.
|
||||||
* @details This field must can be set to @p NULL if callback is not
|
* @details This field must be set to @p NULL if callback is not required.
|
||||||
* required.
|
|
||||||
*/
|
*/
|
||||||
usbepcallback_t in_cb;
|
usbepcallback_t in_cb;
|
||||||
/**
|
/**
|
||||||
* @brief OUT endpoint notification callback.
|
* @brief OUT endpoint notification callback.
|
||||||
* @details This field must can be set to @p NULL if callback is not
|
* @details This field must be set to @p NULL if callback is not required.
|
||||||
* required.
|
|
||||||
*/
|
*/
|
||||||
usbepcallback_t out_cb;
|
usbepcallback_t out_cb;
|
||||||
/**
|
/**
|
||||||
* @brief IN endpoint maximum packet size.
|
* @brief IN endpoint maximum packet size.
|
||||||
* @details This field must be set to zero if the IN endpoint is not
|
* @details This field must be set to zero if the IN endpoint is not used.
|
||||||
* used.
|
|
||||||
*/
|
*/
|
||||||
uint16_t in_maxsize;
|
uint16_t in_maxsize;
|
||||||
/**
|
/**
|
||||||
* @brief OUT endpoint maximum packet size.
|
* @brief OUT endpoint maximum packet size.
|
||||||
* @details This field must be set to zero if the OUT endpoint is not
|
* @details This field must be set to zero if the OUT endpoint is not used.
|
||||||
* used.
|
|
||||||
*/
|
*/
|
||||||
uint16_t out_maxsize;
|
uint16_t out_maxsize;
|
||||||
/**
|
/**
|
||||||
* @brief @p USBEndpointState associated to the IN endpoint.
|
* @brief @p USBEndpointState associated to the IN endpoint.
|
||||||
* @details This structure maintains the state of the IN endpoint,
|
* @details This field must be set to @p NULL if the IN endpoint is not
|
||||||
* set to @p NULL if the IN endpoint is not used.
|
* used.
|
||||||
*/
|
*/
|
||||||
USBInEndpointState *in_state;
|
USBInEndpointState *in_state;
|
||||||
/**
|
/**
|
||||||
* @brief @p USBEndpointState associated to the OUT endpoint.
|
* @brief @p USBEndpointState associated to the OUT endpoint.
|
||||||
* @details This structure maintains the state of the OUT endpoint,
|
* @details This field must be set to @p NULL if the OUT endpoint is not
|
||||||
* set to @p NULL if the OUT endpoint is not used.
|
* used.
|
||||||
*/
|
*/
|
||||||
USBOutEndpointState *out_state;
|
USBOutEndpointState *out_state;
|
||||||
/* End of the mandatory fields.*/
|
/* End of the mandatory fields.*/
|
||||||
|
|
Loading…
Reference in New Issue