PM5365 PMC-Sierra, Inc., PM5365 Datasheet - Page 14

no-image

PM5365

Manufacturer Part Number
PM5365
Description
TEMUX/TEMAP/TECT3 T1/E1 FRAMER, VT/TU MAPPER, M12/M13 MUX DRIVER MANUAL
Manufacturer
PMC-Sierra, Inc.
Datasheet
2.2
Proprietary and Confidential to PMC-Sierra, Inc., and for its Customers’ Internal Use
Document ID: PMC-1991611, Issue 2
The driver API functions use the driver library functions as building blocks to provide this system
level functionality to the application programmer. The driver API also consists of callback
functions that notify the application of significant events that take place within the device.
Real-Time RTOS Interface
The driver’s RTOS interface module provides functions that let the driver use RTOS services. The
RTOS interface functions perform the following tasks for the TEMUX/TEMAP/TECT3 driver:
·
·
·
·
·
You must modify the RTOS interface code to suit your RTOS environment.
Driver Hardware Interface
The TEMUX/TEMAP/TECT3 hardware interface provides functions that read from and write to
device-registers. The hardware interface also provides a template for an ISR that the driver calls
when the device raises a hardware interrupt. You must modify this function based on the interrupt
configuration of your system.
Main Components
Figure 2 illustrates the top level architectural components of the TEMUX/TEMAP/TECT3 device
driver. This applies to both polled and interrupt driven operation. In polled operation the ISR is
called periodically. In interrupt operation the interrupt directly triggers the ISR.
The driver includes five main modules:
·
·
·
·
Allocate and de-allocate memory
Manage buffers for the ISR and DPR
Timer management
Synchronization management
Task management
Module and Device management
Driver API
Driver library
Interrupt processing
TEMUX/TEMAP/TECT3 (PM8315, PM5365, PM4328) Driver Manual
Software Architecture
14

Related parts for PM5365