Cmp Driver - Freescale Semiconductor DSP56800E User Manual

Hide thumbs Also See for DSP56800E:
Table of Contents

Advertisement

5.22

CMP Driver

This section describes the API of MC56F802x/3x Analog Comparator (CMP) on-chip module.
The functionality of the CMP module itself is described in the 56F802x/3x Peripheral Reference
Manual.
5.22.1
Introduction
The MC56F802x/3x devices have two Analog Comparator modules. Each comparator includes a
five-input analog switching matrix with the continuous-time differential-input analog comparator
function. The five analog inputs include three GPIO (referred to as CIN1, CIN2, and CIN3), a
DAC input, and an import input from the other comparator module. The switching matrix
supports the independent connection of the analog inputs to the + and – input of the analog
comparator and to the comparator's export output.
This section describes the CMP driver software, providing the low level software layer interfacing
hardware with software.
5.22.2
Quick Reference
This section is intended as a source of quick access information, while the details are discussed in
Section 5.22.3.
Module base address
CMP_A (CMP0_BASE)
CMP_B (CMP1_BASE)
5.22.2.1
API Definition
The following header files are needed in order to use the CMP device driver:
Required Header File(s):
#include "qs.h"
#include "cmp.h"
The following information may be found in the header file cmp.h.
Public Data Structure(s):
None
FREESCALE SEMICONDUCTOR
Table 5-792. CMP Module Base Address
MC56F801x
of / for
N/A
N/A
Targeting 56F8xxx Platform
MC56F802x/3x
MC56F83xx
0xF1E0
N/A
0xF1F0
N/A
5-945

Advertisement

Table of Contents
loading

Table of Contents