AN2687 Freescale Semiconductor / Motorola, AN2687 Datasheet - Page 23

no-image

AN2687

Manufacturer Part Number
AN2687
Description
BLDC Fan Control using the MC68HC908QT2
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
; 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:
TOV1
CH1MAX
MOTOROLA
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
$28
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
7
6
5
4
3
2
1
0
Freescale Semiconductor, Inc.
BLDC Fan Control using the MC68HC908QT2
For More Information On This Product,
;Timer channel 1 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
;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
;Toggle on overflow
;Channel 1 maximum duty cycle
Go to: www.freescale.com
APPENDIX B: CODE LISTINGS
AN2687/D
23

Related parts for AN2687