AN2688 Freescale Semiconductor / Motorola, AN2688 Datasheet - Page 22

no-image

AN2688

Manufacturer Part Number
AN2688
Description
Implementing a 10-Bit Sigma-Delta Analog-to-Digital Converter Using the HC9S08Rx MCU Family Analog Comparator
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
AN2688/D
;
;
;
;
;
;
;
;
;
setPMCSC1:
;
;
;
;
;
;
;
;
;
setACMPSC:
;
;
;
;
;
;
;
;
;
setTPMMODH: equ
setTPMMODL: equ
stTPMMODLF: equ
OutPorts:
;*******************************************************************************************
;* Interrupt Vector Table
;*******************************************************************************************
22
equ
equ
equ
org
fdb
org
fdb
%01011000 ;System Power Management Status and Control 1 Register
%11100011 ;ACMP Status and Control Register
$00
$3E
$85
$FF
$FFF2
TPMInt
$FFFE
Reset
||||||||
|||||||+-RESET Pin Enable = 1
||||||+--Background Debug Mode Pin Enable = 0
|||||+---Unused during write
||||+----Unused during write
|||+-----Unused
||+------Stop Mode Enable = 0
|+-------COP Watchdog Timeout = Long Timeout
+--------COP Watchdog Enable = 0
||||||||
|||||||+-Unused during write
||||||+--Unused during write
|||||+---Unused during write
||||+----Low-Voltage Detect Reset Enable = 1
|||+-----SAFE System from interrupts = 1
||+------Low-Voltage Detect Interrupt Enable = 0
|+-------Clear Low-Voltage Detect Flag
+--------Unused during write
||||||||
|||||||+-Comparator output either rising or falling edge
||||||+--Comparator output either rising or falling edge
|||||+---Unused during write
||||+----Unused during write
|||+-----Analog Comparator Interrupt Enable = 0
||+------Clear Analog Comparator Flag
|+-------Analog Comparator Bandgap Select = 1
+--------Analog Comparator Module Enable = 1
Implementing a 10-Bit Sigma-Delta Analog-to-Digital Converter
Using the HC9S08Rx MCU Family Analog Comparator
Freescale Semiconductor, Inc.
;Timer Counter Modulo High Register value
;Timer Counter Modulo Low Register value for modulator
;Timer Counter Modulo Low Register value for filter
;Set ports as output
For More Information On This Product,
;Timer Overflow Interrupt Vector
;Reset Interrupt Vector
Go to: www.freescale.com
MOTOROLA

Related parts for AN2688