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 function:

Function Package Element Description
psp_memset() psp_base psp_string Sets the specified area of memory to the defined value.

The module makes use of the following functions that must be provided by the PSP. These are designed to allow you to port them easily to work with your hardware solution. The package includes samples in the psp_usbh_lms.c files.

Function Description
lms_hw_init() Initializes the device.
lms_hw_start() Starts the device.
lms_hw_stop() Stops the device.
lms_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.