Drivers/avb_v2_04_a/src, Table 16-9 – Xilinx IP Ethernet AVB Endpoint v2.4 UG492 User Manual

Page 164

Advertising
background image

164

www.xilinx.com

Ethernet AVB Endpoint User Guide

UG492 September 21, 2010

Chapter 16: Detailed Example Design (EDK format)

drivers/avb_v2_04_a/src

The driver source (src) directory contains the low-level driver source C files.

Table 16-9:

Driver Source Directory

Name

Description

<project_dir>/<component_name>/MyProcessorIPLib/drivers/

avb_v2_04/src

Makefile

Makefile to compile the drivers; used by Platform Studio.

xavb.h

Main header file for the XAvb driver. The file provides the
constants, type definitions and function templates which are
required to initialize and run the IEEE802.1AS Precise Timing
Protocol (PTP). This defines the level 1 device driver for the
Ethernet AVB Endpoint core.

xavb_g.c

Contains a configuration structure that holds all the
configuration values required, per single instance, of the device
driver.

xavb.c

Provides the top-level function calls for the Ethernet AVB
Endpoint level 1 device driver.

xavb_ptp_packets.c

Provides the functions which are required for the creation of PTP
frames for transmission and for the decode of received PTP
frames.

xavb_ptp_bmca.c

Provides the functions which are required for the PTP Best
Master Clock Algorithm (BMCA).

xavb_rtc_sync.c

Provides the functions which are required to synchronize the
local version of the Real Time Counter (RTC), when operating as
a slave, to that of the network clock master.

xavb_hw.h

Contains all the constant definitions and the bare minimum of
functions / function templates which are required for register
read/write access. This defines the low-level 0 device driver for
the Ethernet AVB Endpoint core.

xavb_hw.c

This file partners the xavb_hw.h header file and implements the
functions for which avb_hw.h contained a template.

Back to Top

Advertising