Adi_Tmr_Installcallback - Analog Devices VisualDSP++ 5.0 Service Manual

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

Advertisement

Operation
interrupt time. Deferred callbacks mean that callbacks are not made at
interrupt time but rather deferred to a lower priority using a specified
deferred callback service.
When using the callback capability of the timer service, the client does not
need to take any other action outside the timer service API. No calls to the
interrupt manager or deferred callback service, other than initialization of
those services, are required.
Note that it is possible for clients to use all capabilities of the timer service
and not use any of the callback capabilities.

adi_tmr_InstallCallback

The
adi_tmr_InstallCallback()
specified timer. In addition to the timer ID, the client provides a wakeup
flag, the callback function address, a client handle, and a deferred callback
service handle.
The wakeup flag indicates whether the processor is awake from a
low-power state, should the timer event occur.
The callback function address specifies a callback function of the type
ADI_DCB_CALLBACK_FN
mation). When invoked, the callback function is passed the following
three parameters:
ClientHandle
installed
ADI_TMR_EVENT_TIMER_EXPIRED
TimerID
8-8
(see
"Deferred Callback Manager"
– a value provided by the client when the callback is
– the timer ID of the timer that generates the callback
VisualDSP++ 5.0 Device Drivers and System
function is used to install a callback to a
– indicates a timer callback event
Services Manual for Blackfin Processors
for more infor-

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