Architecture; Firmware Structure; Hardware Abstraction Layer - Epphal.c; Pdiusbd12 Command Interface - D12Ci.c - Philips PDIUSBD12 Firmware Programming Manual

Hide thumbs Also See for PDIUSBD12:
Table of Contents

Advertisement

Interconnectivity
Firmware Programming Guide for PDIUSBD12

2. Architecture

2.1 Firmware Structure

The firmware for the evaluation board consists of 6 building blocks. They are as follows:
Main Loop: Dispatch USB Request, Read Test Keys, Control
Standard Request
CHAP_9.C

2.1.1 Hardware Abstraction Layer - EPPHAL.C

This is the lowest layer code in the firmware, which performs hardware dependent I/O access to PDIUSBD12,
as well as Evaluation Board hardware. When porting the firmware to other CPU platforms, this part of code
always needs modifications or additions.

2.1.2 PDIUSBD12 Command Interface - D12CI.C

To further simplify programming with PDIUSBD12, the firmware defines a set of command interfaces, which
encapsulate all the functions used to access PDIUSBD12.

2.1.3 Interrupt Service Routine - ISR.C

This part of the code handles interrupt generated by PDIUSBD12. It retrieves data from PDIUSBD12's internal
FIFO to CPU memory, and set up proper event flags to inform Main Loop program for processing.
LED, Process USB Bus Event, etc.
MAINLOOP.C
Vendor Request
PROTODMA.C
Interrupt Service Routine
ISR.C
PDIUSBD12 Command Interface
D12CI.C
Hardware Abstraction Layer
EPPHAL.C
Philips Semiconductors - Asia Product Innovation Centre
Visit
http://www.flexiusb.com
Page 5 of 22

Advertisement

Table of Contents
loading

Table of Contents