Detailed Api Specification - Freescale Semiconductor DSP56800E User Manual

Hide thumbs Also See for DSP56800E:
Table of Contents

Advertisement

Cmd
ADC_SET_POWER_UP_DELAY
ADC_GET_POWER_STATUS
ADC_READ_POWER_
CONTROL_REG
only on MC56F83xx:
ADC_CALIB_ENABLE
only on MC56F83xx:
ADC_CALIB_DISABLE
only on MC56F83xx:
ADC_SET_CONVERTER0_
CALIB_REF
only on MC56F83xx:
ADC_SET_CONVERTER1_
CALIB_REF
only on MC56F80xx:
ADC_AUTO_POWER_DOWN
only on MC56F80xx:
ADC_AUTO_STANDBY
only on MC56F801x:
ADC_SET_VREFL_SOURCE
ADC_SET_VREFH_SOURCE
only on MC56F802x/3x:
ADC_SET_VREFH1_SOURCE
ADC_SET_VREFL1_SOURCE
ADC_SET_VREFH0_SOURCE
ADC_SET_VREFL0_SOURCE
only on MC56F802x/3x:
ADC_SET_CALIB_SOURCE
5.9.3

Detailed API Specification

The detailed functionality of all ioctl commands is explained in this section. The code examples
illustrates the ioctl commands usage.
FREESCALE SEMICONDUCTOR
Table 5-273. ioctl commands (Continued)
param
UWord16
ADC_CONVERTER_0 |
ADC_CONVERTER_1 |
ADC_VOLTAGE_REF
NULL
ADC_CONVERTER_0 |
ADC_CONVERTER_1
ADC_CONVERTER_0 |
ADC_CONVERTER_1
ADC_VCAL_L / ADC_VCAL_H
ADC_VCAL_L / ADC_VCAL_H
ADC_ON / ADC_OFF
ADC_ON / ADC_OFF
ADC_VREF_SRC_EXTERNAL /
ADC_VREF_SRC_INTERNAL
ADC_VREF_SRC_EXTERNAL /
ADC_VREF_SRC_INTERNAL
combination of ANA7 and ANB7 modes:
(
ADC_ANA7_NORMAL /
ADC_ANA7_FROM_DAC0 /
) / (
ADC_ANB7_NORMAL /
ADC_ANB7_FROM_DAC1 /
)
Targeting 56F8xxx Platform
Return
Description
None
Sets ADC power up delay.
None
Gets ADC converters and
the voltage reference sta-
tus.
UWord16
Reads the ADC Power
Control Register content.
None
Enables/enters the ADC
calibration mode.
None
Disables the ADC calibra-
tion mode (enables ADC
normal operation).
None
Selects voltage reference
to be used during ADC0
calibration.
None
Selects voltage reference
to be used during ADC1
calibration.
None
Switches on/off ADC Auto
Power Down saving mode.
None
Enables / disables auto
standby mode.
None
Selects the source of the
VREFLO and VREFH ref-
erence inputs.
None
Selects the source of the
VREFLO and VREFH ref-
erence inputs for individual
sub-converters.
None
Selects internal source of
ANA7 and ANB7 inputs.
5-359

Advertisement

Table of Contents
loading

Table of Contents