Adi_Tmr_Getperipheralid - Analog Devices VisualDSP++ 5.0 Service Manual

Visualdsp++ 5.0 device drivers and system for blackfin processors
Table of Contents

Advertisement

adi_tmr_GetPeripheralID

Description
The
adi_tmr_GetPeripheralID
peripheral ID for the specified timer. Though not normally required, this
function may be useful should finer granularity of interrupt control logic
than what is provided by the timer service be required. The peripheral ID
value can be passed to functions in the interrupt service. Note that the
core timer does not have a peripheral ID associated with it as the core
timer mapping to an IVG level is fixed. Regardless, the core timer ID may
still be passed to this function and the function will not return an error.
Prototype
void adi_tmr_GetPeripheralID (
u32
ADI_INT_PERIPHERAL_ID
);
Arguments
TimerID
pPeripheralID
Return Value
ADI_TMR_RESULT_SUCCESS
Any other value
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
function can be called to identify the
TimerID,
*pPeripheralID
Enumerator value that uniquely identifies the timer
to control
Pointer to location where the peripheral ID for the
specified timer is stored
Function completed successfully.
Error has occurred.
See
"ADI_TMR_RESULT" on page 8-32
of return codes.
Timer Service
for a list
8-29

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VisualDSP++ 5.0 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents