Child pages
  • Configuration Options

This is the HCC Embedded Product Documentation.

HCC Embedded Main Website   |    HCC Documentation Home Page  |     Contacting HCC Embedded



Set the system configuration options in the file src/config/config_usbh_renesas.h. This section lists the available options and their default values.


USBH_PORT_USED

The port to use. The default is 0. This controls the value of the last option in the file, USBH_PORT.

RENESAS_TRANSFER_TASK_STACK_SIZE

The stack size of the transfer task(s). The default is 1024.

RENESAS_ISR_ID

The ISR ID of the host controller. The default is HCC_VECT_USB0_USBI0.

RENESAS_INT_PRIO

The ISR priority of the host controller. The default is 1.

RENESAS_SUPPORT_HS

Set this to 1 to support high speed transfers (for high speed SH7264 devices). The default is 0.

RENESAS_BIGEND_FIFO_ACCESS

Keep this at the default of 1 if big-endian FIFO port control is needed (for high speed SH7264 devices).

RENESAS_32BIT_FIFO_ACCESS

Keep this at the default of 1 for high speed SH7264 devices. (SH7264 devices allow 32 bit access to FIFO.)

RENESAS_MAX_EP

The maximum number of bulk and interrupt endpoints, including EP0s. The default is 15.

RENESAS_ISOCHRONOUS_SUPPORT

Set this to 1 to support isochronous transfers. The default is 0.

RENESAS_NUM_BULK_PIPE_RX

The pipe to use for bulk RX transfers. The default is 2.

RENESAS_NUM_BULK_PIPE_TX

The pipe to use for bulk TX transfers. The default is 1.

RENESAS_NUM_INT_PIPE_RX

The pipe to use for interrupt RX transfers. The default is 3.

RENESAS_NUM_INT_PIPE_TX

The pipe to use for interrupt TX transfers. The default is 1.

USBH_PORT

If USBH_PORT_USED is set to 0, this is set to HCC_USB0_BASE. Otherwise it is set to HCC_USB1_BASE.