Configuration Items - Freescale Semiconductor DSP56800E User Manual

Hide thumbs Also See for DSP56800E:
Table of Contents

Advertisement

5.24.2.2

Configuration Items

This section summarizes the symbols used in macro definitions for the static DAC_0 and DAC_1
module configuration by the driver initialization routine. Configuration symbols are intended for
the application (project) specific configuration file appconfig.h.
SYMBOL
DAC_x_CTRL_INIT
DAC_x_DATA_INIT
DAC_x_STEP_INIT
DAC_x_MINVAL_INIT
DAC_x_MAXVAL_INIT
Note - The "x" specifies the DAC module. This may be either 0 or 1. Note that the DAC_1
module may not be available on all devices.
5.24.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 DAC device modes or accesses the DAC register(s).
The third ioctl parameter is either a value or a pointer, depending on the type of cmd.
5-988
Table 5-833. DAC Configuration Items for appconfig.h
TYPE
UWord16
UWord16
UWord16
UWord16
UWord16
Targeting 56F8xxx Platform
DESCRIPTION
The initial value of the DAC Control Register
Initial value of the DAC Data Register
Initial value of the DAC Step Register
Initial value of the DAC Minimum Value Register
Initial value of the DAC Maximum Value Register
FREESCALE SEMICONDUCTOR

Advertisement

Table of Contents
loading

Table of Contents