Adi_Ports_Enablespi - Analog Devices VisualDSP++ 5.0 Service Manual

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

Advertisement

adi_ports_EnableSPI

Description
The
adi_ports_EnableSPI
to enable the use of the required SPI channel.
Prototype
adi_ports_EnableSPI (
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
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
function configures the port control registers
*Directives,
nDirectives,
Enable
Address of an array of directives describing how to
configure the SPI flags. See
tion 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.
Port Control Service
"Directive Enumera-
9-17.
array
Directives
array is NULL.
Directives
9-9

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