Changeset f126c87 in mainline for uspace/lib/usb/include/usb/usb.h


Ignore:
Timestamp:
2016-09-01T16:46:27Z (8 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2a2fbc8
Parents:
9befb0d (diff), bdfdc51c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge from mainline.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/include/usb/usb.h

    r9befb0d rf126c87  
    114114/** Default USB address. */
    115115#define USB_ADDRESS_DEFAULT 0
     116
    116117/** Maximum address number in USB 1.1. */
    117118#define USB11_ADDRESS_MAX 127
     
    121122 *
    122123 * @param ep USB address.
     124 *
    123125 * @return True, if value is wihtin limits, false otherwise.
     126 *
    124127 */
    125128static inline bool usb_address_is_valid(usb_address_t a)
     
    135138/** Default control endpoint */
    136139#define USB_ENDPOINT_DEFAULT_CONTROL 0
     140
    137141/** Maximum endpoint number in USB 1.1. */
    138142#define USB11_ENDPOINT_MAX 16
     
    141145 *
    142146 * @param ep USB endpoint number.
     147 *
    143148 * @return True, if value is wihtin limits, false otherwise.
     149 *
    144150 */
    145151static inline bool usb_endpoint_is_valid(usb_endpoint_t ep)
     
    160166        uint32_t packed;
    161167} usb_target_t;
    162 
    163168
    164169/** Check USB target for allowed values (address and endpoint).
Note: See TracChangeset for help on using the changeset viewer.