Api Specification - Freescale Semiconductor DSP56800E User Manual

Hide thumbs Also See for DSP56800E:
Table of Contents

Advertisement

5.2.2.3

API Specification

This section specifies the usage for each API function.
Function arguments for each routine are described as in, out, or inout.
1. in argument means that the parameter value is an input only to the function.
2. out argument means that the parameter value is an output only from the function.
3. inout argument means that a parameter value is an input to the function, but the same
parameter is also an output from the function.
Note: inout parameters are typically input pointer variables in which the caller passes the address
of a pre-allocated data structure to a function. The function stores its results within that data
structure. The actual value of the inout pointer parameter is not changed.
ioctl call(s):
The ioctl call is generally represented by one of the following forms:
UWord16 ioctl(const int *pModuleBase, void cmd, void *pParam);
Description: The ioctl call sets the INTC registers.
Arguments:
pModuleBase
cmd
pParam
Items Separators Convention:
/
only one of the specified items is allowed
|
consolidation of items is allowed ( item1 | item2 | item3 )
&
intersection of items is allowed ( item1 & item2 & item3 )
Cmd
INTC_INIT
INTC_INTERRUPTS
FREESCALE SEMICONDUCTOR
Table 5-45. INTC Driver Arguments - ioctl
in
in
in, inout
Table 5-46. ioctl commands
pParam
NULL
INTC_ENABLE /
INTC_DISABLE
Targeting 56F8xxx Platform
INTC module identifier. Use INTC.
Commands found in itcn.h which are used
to modify registers of INTC. See
Table 5-46.
Used to pass the relevant data to ioctl
function call.
Return
None
Applies the appconfig.h static configu-
ration to the respective INTC regis-
ters.
None
Globally enables or disables the inter-
rupts processed by the INTC module.
Note that this is not equal as enabling
interrupts in the processor core.
Description
5-63

Advertisement

Table of Contents
loading

Table of Contents