Interdependencies; Interrupt Manager Service; Deferred Callback Service - Analog Devices VisualDSP++ 5.0 Service Manual

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

Advertisement

Interdependencies

This section describes interdependencies between the real-time clock ser-
vice and other system services.

Interrupt Manager Service

Since the real-time clock service relies on callbacks to process the events,
the application must initialize the interrupt manager service before initial-
izing the real-time clock service. During the
the interrupt manager is called upon to "hook" the real-time clock
interrupt handler which executes the callback function. During the
adi_rtc_Terminate()
"unhook" the real-time clock interrupt handler.
The application may choose to have real-time clock interrupts generate a
wakeup signal to the processor. The real-time clock service provides an
API function called
manager function
real-time clock, and a
API function called
manager function
real-time clock, and a
events generate a wakeup signal to the processor.

Deferred Callback Service

Callbacks may be deferred, which means that the execution of the callback
is postponed to allow a higher priority thread to execute first. In this case,
the callback is not executed by the interrupt handler within the interrupt
service routine. Instead, the interrupt handler calls
notify the deferred callback (DCB) manager that the event has occurred.
Please refer to
the DCB manager processes callbacks.
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
function, the interrupt manager is called upon to
adi_rtc_DisableWakeup()
adi_int_SICWakeup()
flag. The real-time clock service provides an
FALSE
adi_rtc_EnableWakeup()
adi_int_SICWakeup()
flag, so that all real-time clock interrupting
TRUE
Chapter 5, Deferred Callback Manager
Real-Time Clock Service
adi_rtc_Init()
, which calls the interrupt
, passing the peripheral ID for the
, which calls the interrupt
, passing the peripheral ID for the
adi_dcb_Post()
for details on how
function,
to
11-31

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?

Table of Contents