Adi_Ports_Enablesport - Analog Devices VisualDSP++ 5.0 Service Manual

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

Advertisement

Port Control Manager API Reference

adi_ports_EnableSPORT

Description
The
adi_ports_EnableSPORT
to enable the use of the required SPORT channel.
Prototype
adi_ports_EnableSPORT (
u32
u32
u32
);
Arguments
Directives
nDirectives
Enable
Return Value
In debug mode, this routine returns one of the following result codes.
Otherwise,
ADI_PORTS_RESULT_SUCCESS
ADI_PORTS_RESULT_SUCCESS
ADI_PORTS_RESULT_NULL_ARRAY
ADI_PORTS_RESULT_BAD_DIRECTIVE
9-10
function configures the port control registers
*Directives,
nDirectives,
Enable
Address of an array of directives describing how the
to configure the SPORT flags. See
meration Values" on page
Number of entries in
Flag determining whether the functionality is
enabled (1) or disabled (0)
is always returned.
Function completed successfully.
Address of the
Invalid directive value has been passed.
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
"Directive Enu-
9-17.
array
Directives
array is NULL.
Directives

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