Adi_Tmr_Event; Adi_Tmr_Core_Cmd - Analog Devices VisualDSP++ 5.0 Service Manual

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

Advertisement

ADI_TMR_EVENT

The
ADI_TMR_EVENT
occurred. There is only one value,
enumeration type is different from all other event types for system ser-
vices—a single callback function can be used for any service, regardless of
the events it processes. Event codes for the timer service begin with the
value
ADI_TMR_ENUMERATION_START
Event Code
ADI_TMR_EVENT_TIMER_EXPIRED

ADI_TMR_CORE_CMD

Table 8-1
lists the commands that can be executed for the core timer.
These command IDs are passed as a parameter to the
adi_tmr_CoreCommand()
parameter (a
Value
ing of the
Value
Table 8-1
also describes the
Table 8-1. Commands Executed for Core Timer
Command ID
ADI_TMR_CORE_CMD_TABLE
ADI_TMR_CORE_CMD_END
ADI_TMR_CORE_CMD_PAIR
ADI_TMR_CORE_CMD_SET_ACTIVE_MODE
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
enumeration defines the type of callback event that
ADI_TMR_EVENT_TIMER_EXPIRED
function. In addition to the command ID, the
type) is also passed to the function. The mean-
void *
parameter depends on the command ID being passed.
parameter for each command ID.
Value
for easy identification.
Description
Given timer expired.
Value
ADI_TMR_CORE_CMD_
VALUE_PAIR *
Ignored
ADI_TMR_CORE_CMD_
VALUE_PAIR *
– active mode
TRUE
– low power
FALSE
Timer Service
. This
Description
Start of command
table
End of command
table
Command pair
Sets active or low
power mode of
timer.
8-33

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