Hscmp Driver - Freescale Semiconductor DSP56800E User Manual

Hide thumbs Also See for DSP56800E:
Table of Contents

Advertisement

5.23

HSCMP Driver

This section describes the API of MC56F800x High Speed Analog Comparator (HSCMP)
on-chip module. The functionality of the HSCMP module itself is described in the 56F800x
Peripheral Reference Manual.
5.23.1
Introduction
The MC56F800x devices have three High Speed Analog Comparator modules. Each comparator
has up to eight external analog -input pins Four of these pins are positive input and four pins are
negative input High speed comparator. High speed comparator output can be windowed, sampled
and digitaly filtered. There is selectable interrupt on rising edge, falling edge or either rising or
falling edge of comparator output. Each HSCMP output can be conected to external pin
CMPx_OUT..
This section describes the HSCMP driver software, providing the low level software layer
interfacing hardware with software.
5.23.2
Quick Reference
This section is intended as a source of quick access information, while the details are discussed in
Section 5.23.3.
Module base address
of / for
HSCMP_0
(HSCMP0_BASE)
HSCMP_1
(HSCMP1_BASE)
HSCMP_2
(HSCMP2_BASE)
5.23.2.1
API Definition
The following header files are needed in order to use the HSCMP device driver:
Required Header File(s):
#include "qs.h"
#include "hscmp.h"
The following information may be found in the header file hscmp.h.
Public Data Structure(s):
FREESCALE SEMICONDUCTOR
Table 5-809. HSCMP Module Base Address
MC56F800x
MC56F801x
0xF100
0xF110
0xF120
Targeting 56F8xxx Platform
MC56F802x/3
x
N/A
N/A
N/A
N/A
N/A
N/A
MC56F83xx
N/A
N/A
N/A
5-963

Advertisement

Table of Contents
loading

Table of Contents