Input (grade 7): A USB device can have up to 32 endpoints: 16 into the host controller and 16 out of the host controller.
Output (grade 7): A USB device can have up to 32 active pipes, 16 into the host controller and 16 out of the controller.