libtransistor
A userland library for the Nintendo Switch
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
include
libtransistor
cpp
ipc
usb.hpp
Go to the documentation of this file.
1
6
#pragma once
7
8
#include<libtransistor/cpp/types.hpp>
9
#include<
libtransistor/ipc/usb.h
>
10
11
namespace
trn {
12
namespace
service {
13
namespace
usb {
14
15
enum class
DescriptorType {
16
INTERFACE = 0x4,
17
ENDPOINT = 0x5,
18
};
19
20
enum class
EndpointDirection {
21
OUT = 0x00,
22
IN = 0x80,
23
};
24
25
enum class
TransferType {
26
CONTROL = 0x0,
27
ISOCHRONOUS = 0x1,
28
BULK = 0x2,
29
INTERRUPT = 0x3,
30
};
31
32
}
33
}
34
}
usb.h
USB Services.
Generated on Thu Oct 3 2019 01:41:37 for libtransistor by
1.8.6