Configuration Items - Freescale Semiconductor DSP56800E User Manual

Hide thumbs Also See for DSP56800E:
Table of Contents

Advertisement

None
5.11.2.2

Configuration Items

This section summarizes the symbols used in macro definitions for the static PGA module
configuration by the driver initialization routine. PGA_x should be replaced by PGA_0 for the
PGA 0 module and PGA_1 for the PGA 1 module.. Configuration symbols are intended for the
application (project) specific configuration file appconfig.h.
PGA_x_CNTL0_INIT
PGA_x_CNTL1_INIT
PGA_x_CNTL2_INIT
5.11.2.3
API Specification
This section specifies the exact 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, UWord16 param);
UWord16 ioctl(const int *pModuleBase, void cmd, void* pParam);
Description: The ioctl call "changes" the PGA device modes or accesses the PGA register(s).
The third ioctl parameter is either a value or a pointer, depending on the type of cmd.
Arguments:
pModuleBase
5-458
Table 5-362. PGA Configuration Items for appconfig.h
SYMBOL
Table 5-363. PGA Driver Arguments - ioctl
in
Targeting 56F8xxx Platform
TYPE
DESCRIPTION
UWord16
The initial value of the PGA
Control Register 0
UWord16
The initial value of the PGA
Control Register 1
UWord16
The initial value of the PGA
Control Register 2
The PGA module identifier. Use PGA0 or
PGA1..
FREESCALE SEMICONDUCTOR

Advertisement

Table of Contents
loading

Table of Contents