Analog Devices VisualDSP++ 5.0 Service Manual page 377

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

Advertisement

Table 8-3. Commands Executed for General-Purpose Timers (Cont'd)
Command ID
ADI_TMR_GP_CMD_SET_INTERRUPT_ENABLE
ADI_TMR_GP_CMD_SET_INPUT_SELECT
ADI_TMR_GP_CMD_SET_OUTPUT_PAD_DISABLE
ADI_TMR_GP_CMD_SET_CLOCK_SELECT
ADI_TMR_GP_CMD_SET_TOGGLE_HI
ADI_TMR_GP_CMD_RUN_DURING_EMULATION
ADI_TMR_GP_CMD_GET_ERROR_TYPE
ADI_TMR_GP_CMD_IS_INTERRUPT_ASSERTED
ADI_TMR_GP_CMD_CLEAR_INTERRUPT
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
Value
– enables inter-
TRUE
rupt generation
– disables
FALSE
interrupt generation
– UART_RX or
TRUE
PPI_CLK
– TMRx or
FALSE
PF1
– output pad
TRUE
disabled
– output pad
FALSE
enabled
– PWM_CLK
TRUE
– SCLK
FALSE
– PULSE_HI
TRUE
alternated each period
– use pro-
FALSE
grammed state
– run during
TRUE
emulation
– do not run
FALSE
during emulation
u32 *
– no error
0
– counter overflow
1
– period register
2
error
– width register
3
error
u32 *
– asserted
TRUE
– not asserted
FALSE
Ignored
Timer Service
Description
Enables or disables
interrupt generation
for the timer.
Selects the timer input.
Enables or disables the
TMRx pin.
Selects the input clock
for the timer.
Sets the toggle mode.
Enables or disables the
timer when the device
is servicing emulator
interrupts.
Stores the error type in
the specified location.
Stores the interrupt
assertion status in the
specified location.
Clears the timer's
interrupt.
8-37

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