PSP Porting


The Platform Support Package (PSP) is designed to hold all platform-specific functionality, either because it relies on specific features of a target system, or because this provides the most efficient or flexible solution for the developer.

The module makes use of the following standard PSP macro:

Macro Package Component Description
PSP_RD_LE16 psp_base psp_endianness Reads a 16 bit value stored as little-endian from a memory location.

The host controller makes use of the following functions that must be provided by the PSP. These are designed for you to port them easily to work with your hardware solution. The package includes samples for the RX63, SH7269 and S5D9 devices in the respective psp_usbh_renesas.c files.

Function Description
renesas_hw_init() Initializes the device.
renesas_hw_start() Starts the device.
renesas_hw_stop() Stops the device.
renesas_hw_delete() Deletes the device, releasing the associated resources.

These functions are described in the following sections. 

Note:  HCC can provide samples for different configurations; contact support@hcc-embedded.com.