adi_ports_EnableUART
Description
The
adi_ports_EnableUART
to enable the use of the required UART channel.
Prototype
adi_ports_EnableUART (
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 the
to configure the UART 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.
Port Control Service
"Directive Enu-
9-17.
array
Directives
array is NULL.
Directives
9-11
Need help?
Do you have a question about the VisualDSP++ 5.0 and is the answer not in the manual?