AN2475 Freescale Semiconductor / Motorola, AN2475 Datasheet - Page 20

no-image

AN2475

Manufacturer Part Number
AN2475
Description
Generating a PWM Signal Modulated by an Analog Input Using the MC68HC908QY4 Microcontroller
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
AN2475/D
; bit numbers for use in BCLR, BSET, BRCLR, and BRSET
BCFE:
; bit position masks
mBCFE:
INT1:
; bit numbers for use in BCLR, BSET, BRCLR, and BRSET
IF5:
IF4:
IF3:
IF1:
INT2:
; bit numbers for use in BCLR, BSET, BRCLR, and BRSET
IF14:
INT3:
; bit numbers for use in BCLR, BSET, BRCLR, and BRSET
IF15:
;****
;*
FLCR:
; bit numbers for use in BCLR, BSET, BRCLR, and BRSET
HVEN:
MASS:
ERASE:
PGM:
; bit position masks
mHVEN:
mMASS:
mERASE:
mPGM:
FLBPR:
;****
;*
BRKH:
BRKL:
BRKSCR:
; bit numbers for use in BCLR, BSET, BRCLR, and BRSET
BRKE:
BRKA:
; bit position masks
mBRKE:
mBRKA:
;****
;*
LVISR:
; bit numbers for use in BCLR, BSET, BRCLR, and BRSET
LVIOUT:
; bit position masks
mLVIOUT:
;****
;*
COPCTL:
20
Flash Memory
Breakpoint Module (BRK)
Low-Voltage Inhibit (LVI)
Computer Operating Properly (COP)
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
7
%10000000
$FE04
6
5
4
2
$FE05
7
$FE06
0
$FE08
3
2
1
0
%00001000
%00000100
%00000010
%00000001
$FFBE
$FE09
$FE0A
$FE0B
7
6
%10000000
%01000000
$FE0C
7
%10000000
$FFFF
********************************************************************
Generating a PWM Signal Modulated by an Analog Input
Freescale Semiconductor, Inc.
For More Information On This Product,
Using the MC68HC908QY4 Microcontroller
*********************************************************
;Break clear flag enable
;Break clear flag enable
;Interrupt status register 1
;Interrupt flag 5
;Interrupt flag 4
;Interrupt flag 3
;Interrupt flag 1
;Interrupt status register 2
;Interrupt flag 14
;Interrupt status register 3
;Interrupt flag 15
;Flash control register
;High-voltage enable bit mask
;Mass erase control bit mask
;Erase control bit mask
;Program control bit mask
;High-voltage enable bit mask
;Mass erase control bit mask
;Erase control bit mask
;Program control bit mask
;Flash block protect register
;Break address register high
;Break address register low
;Break status and control register
;Break enable
;Break active
;Break enable
;Break active
*******************************************************
;LVI status register
;LVI output bit
;LVI output bit
;COP control register
Go to: www.freescale.com
***********************************************
MOTOROLA

Related parts for AN2475