Adi_Tmr_Reset; General-Purpose Timer Functions; Adi_Tmr_Gpcontrol; Adi_Tmr_Gpgroupenable - Analog Devices VisualDSP++ 5.0 Service Manual

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

Advertisement

adi_tmr_Reset

Should an application need to reset the timer to the default settings at a
time other than when it is opened, use the
configuration register for the timer is reset to its power-up value, the error
status is cleared, and so on. Refer also to

General-Purpose Timer Functions

The functions described in this section are for general-purpose timers
only. These functions return an error if they are passed other types of
timer IDs, such as core timer IDs or watchdog timer IDs.

adi_tmr_GPControl

The
adi_tmr_GPControl()
This function is passed the timer ID of the timer being controlled, a com-
mand ID specifying the parameter of the function being addressed, and a
command-specific parameter. The list of command IDs applicable to gen-
eral-purpose timers and the corresponding command-specific parameters
are described in
"adi_tmr_GPControl" on page

adi_tmr_GPGroupEnable

The
adi_tmr_GPGroupEnable()
general-purpose timer or a group of general-purpose timers. This function
is passed a parameter that is either a single general-purpose timer ID or an
ORing of any number of general-purpose timer IDs, and a flag that
indicates whether the group of timers is enabled (a value of
abled (a value of
The function uses best efforts to simultaneously enable or disable the
group of timers. If the underlying hardware of the specific Blackfin device
allows the timers to be controlled simultaneously, the function takes the
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
function configures a general-purpose timer.
"ADI_TMR_GP_CMD" on page
8-23.
function enables or disables a single
).
FALSE
Timer Service
adi_tmr_Reset()
"adi_tmr_Reset" on page
8-35. Refer also to
function. The
8-20.
) or dis-
TRUE
8-5

Advertisement

Table of Contents
loading

Table of Contents