Dac Driver - Freescale Semiconductor DSP56800E User Manual

Hide thumbs Also See for DSP56800E:
Table of Contents

Advertisement

5.24

DAC Driver

This section describes the API of MC56F802x/3x Digital-to-Analog Converter (DAC) on-chip
module. The functionality of the DAC module itself is described in the 56F802x/3x Peripheral
Reference Manual.
5.24.1
Introduction
The MC56F802x/3x devices have one or two DAC modules which can be used internally in the
device to set the Analog Comparator (CMP) threshold or a calibration voltage for Analog-
to-Digital Converter (ADC). On some devices (e.g. MC56F8037), the signals for DACs are also
available externally as a peripheral function of certain GPIO pins.
This section describes the DAC driver software, providing the low level software layer interfacing
hardware with software.
5.24.2
Quick Reference
This section is intended as a source of quick access information, while the details are discussed in
Section 5.24.3.
Module base address
of / for
DAC_0 (DAC0_BASE)
DAC_1 (DAC1_BASE)
5.24.2.1
API Definition
The following header files are needed in order to use the DAC device driver:
Required Header File(s):
#include "qs.h"
#include "dac.h"
The following information may be found in the header file dac.h.
Public Data Structure(s):
None
FREESCALE SEMICONDUCTOR
Table 5-832. DAC Module Base Address
MC56F801x
MC56F8023
N/A
0xF1C0
N/A
Targeting 56F8xxx Platform
MC56F802x/3x
0xF1C0
N/A
0xF1D0
MC56F83xx
N/A
N/A
5-987

Advertisement

Table of Contents
loading

Table of Contents