AN2475 Freescale Semiconductor / Motorola, AN2475 Datasheet - Page 16

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 position masks
mKEYF:
mACKK:
mIMASKK:
mMODEK:
KBIER:
; bit numbers for use in BCLR, BSET, BRCLR, and BRSET
AWUIE:
KBIE5:
KBIE4:
KBIE3:
KBIE2:
KBIE1:
KBIE0:
; bit position masks
mAWUIE
mKBIE5:
mKBIE4:
mKBIE3:
mKBIE2:
mKBIE1:
mKBIE0:
;****
;*
INTSCR:
; bit numbers for use in BCLR, BSET, BRCLR, and BRSET
IRQF1:
ACK1:
IMASK1:
MODE1:
; bit position masks
mIRQF1:
mACK1:
mIMASK1:
mMODE1:
;**** Configuration Registers (CONFIG)
;*
CONFIG2:
; bit numbers for use in BCLR, BSET, BRCLR, and BRSET
IRQPUD:
IRQEN:
OSCOPT1:
OSCOPT0:
RSTEN:
; bit position masks
mIRQPUD:
mIRQEN:
mOSCOPT1:
mOSCOPT0:
mRSTEN:
CONFIG1:
; bit numbers for use in BCLR, BSET, BRCLR, and BRSET
COPRS:
LVISTOP:
LVIRSTD:
LVIPWRD:
LVI5OR3:
16
External Interrupt (IRQ)
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
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
%00001000
%00000100
%00000010
%00000001
$1B
6
5
4
3
2
1
0
%01000000
%00100000
%00010000
%00001000
%00000100
%00000010
%00000001
$1D
3
2
1
0
%00001000
%00000100
%00000010
%00000001
$1E
7
6
4
3
0
%10000000
%01000000
%00010000
%00001000
%00000001
$1F
7
6
5
4
3
Generating a PWM Signal Modulated by an Analog Input
Freescale Semiconductor, Inc.
For More Information On This Product,
Using the MC68HC908QY4 Microcontroller
********************************************************
;Keyboard flag
;Keyboard acknowledge
;Keyboard interrupt mask
;Keyboard triggering sesitivity
;Keyboard interrupt enable register
;Auto wake-up interrupt enable
;Port A keyboard interrupt enable bit 5
;Port A keyboard interrupt enable bit 4
;Port A keyboard interrupt enable bit 3
;Port A keyboard interrupt enable bit 2
;Port A keyboard interrupt enable bit 1
;Port A keyboard interrupt enable bit 0
;Auto wake-up interrupt enable
;Port A keyboard interrupt enable bit 5
;Port A keyboard interrupt enable bit 4
;Port A keyboard interrupt enable bit 3
;Port A keyboard interrupt enable bit 2
;Port A keyboard interrupt enable bit 1
;Port A keyboard interrupt enable bit 0
;IRQ status and control register
;IRQ flag
;IRQ interrupt request acknowledge
;IRQ interrupt mask
;IRQ edge/level select
;IRQ flag
;IRQ interrupt request acknowledge
;IRQ interrupt mask
;IRQ edge/level select
;Configuration register 2
;IRQ pin pullup control
;IRQ pin function selection
;Selection bit 1 for oscillator option
;Selection bit 0 for oscillator option
;RST pin function selection
;IRQ pin pullup control
;IRQ pin function selection
;Selection bit 1 for oscillator option
;Selection bit 0 for oscillator option
;RST pin function selection
;Configuration register 1
;COP reset period selection
;LVI enable in stop mode
;LVI reset disable
;LVI power disable
;LVI 5V or 3V operating mode
Go to: www.freescale.com
*************************************************
MOTOROLA

Related parts for AN2475