AN2475 Freescale Semiconductor / Motorola, AN2475 Datasheet - Page 17

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
SSREC:
STOP:
COPD:
; bit position masks
mCOPRS:
mLVISTOP:
mLVIRSTD:
mLVIPWRD:
mLVI5OR3:
mSSREC:
mSTOP:
mCOPD:
;****
;*
TSC:
; bit numbers for use in BCLR, BSET, BRCLR, and BRSET
TOF:
TOIE:
TSTOP:
TRST:
PS2:
PS1:
PS0:
; bit position masks
mTOF:
mTOIE:
mTSTOP:
mTRST:
mPS2:
mPS1:
mPS0:
TSC0:
; bit numbers for use in BCLR, BSET, BRCLR, and BRSET
CH0F:
CH0IE:
MS0B:
MS0A:
ELS0B:
ELS0A:
TOV0
CH0MAX
; bit position masks
mCH0F:
mCH0IE:
mMS0B:
mMS0A:
mELS0B:
mELS0A:
mTOV0
mCH0MAX
TSC1:
; bit numbers for use in BCLR, BSET, BRCLR, and BRSET
CH1F:
CH1IE:
MS1B:
MS1A:
ELS1B:
ELS1A:
MOTOROLA
Timer Interface module (TIM)
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
equ
equ
equ
equ
equ
2
1
0
%10000000
%01000000
%00100000
%00010000
%00001000
%00000100
%00000010
%00000001
$20
7
6
5
4
2
1
0
%10000000
%01000000
%00100000
%00010000
%00000100
%00000010
%00000001
$25
7
6
5
4
3
2
1
0
%10000000
%01000000
%00100000
%00010000
%00001000
%00000100
%00000010
%00000001
$28
7
6
5
4
3
2
Generating a PWM Signal Modulated by an Analog Input
Freescale Semiconductor, Inc.
For More Information On This Product,
Using the MC68HC908QY4 Microcontroller
;Short stop recovery
;STOP instruction enable
;COP disable
;COP reset period selection
;LVI enable in stop mode
;LVI reset disable
;LVI power disable
;LVI 5V or 3V operating mode
;Short stop recovery
;STOP instruction enable
;COP disable
;Timer status and control register
;TIM overflow flag
;TIM overflow interrupt enable
;TIM Stop bit
;TIM Reset bit
;Prescaler select bit 2
;Prescaler select bit 1
;Prescaler select bit 0
;TIM overflow flag
;TIM overflow interrupt enable
;TIM Stop bit
;TIM Reset bit
;Prescaler select bit 2
;Prescaler select bit 1
;Prescaler select bit 0
;Timer channel 0 status and control register
;Channel 0 flag
;Channel 0 interrupt enable
;Mode select bit B
;Mode select bit A
;Edge/level select bit B
;Edge/level select bit A
;Toggle on overflow
;Channel 0 maximum duty cycle
;Channel 0 flag
;Channel 0 interrupt enable
;Mode select bit B
;Mode select bit A
;Edge/level select bit B
;Edge/level select bit A
;Toggle on overflow
;Channel 0 maximum duty cycle
;Timer channel 1 status and control register
;Channel 1 flag
;Channel 1 interrupt enable
;Mode select bit B
;Mode select bit A
;Edge/level select bit B
;Edge/level select bit A
Go to: www.freescale.com
****************************************************
Register and Bit Definitions for MC68HC908QY4
AN2475/D
17

Related parts for AN2475