AN2687 Freescale Semiconductor / Motorola, AN2687 Datasheet - Page 25

no-image

AN2687

Manufacturer Part Number
AN2687
Description
BLDC Fan Control using the MC68HC908QT2
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
TRIMLOC:
;****
;*
ADSCR:
; bit numbers for use in BCLR, BSET, BRCLR, and BRSET
COCO:
AIEN:
ADCO:
CH4:
CH3:
CH2:
CH1:
CH0:
; bit position masks
mCOCO:
mAIEN:
mADCO:
mCH4:
mCH3:
mCH2:
mCH1:
mCH0:
ADR:
ADICLK:
; bit numbers for use in BCLR, BSET, BRCLR, and BRSET
ADIV2:
ADIV1:
ADIV0:
; bit position masks
mADIV2:
mADIV1:
mADIV0:
;****
;*
BSR:
; bit numbers for use in BCLR, BSET, BRCLR, and BRSET
SBSW
; bit position masks
mSBSW:
MOTOROLA
Analog-to-Digital Converter (ADC)
System Integration Module (SIM)
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
$FE00
1
%00000010
$FFC0
$3C
7
6
5
4
3
2
1
0
%10000000
%01000000
%00100000
%00010000
%00001000
%00000100
%00000010
%00000001
$3E
$3F
7
6
5
%10000000
%01000000
%00100000
Freescale Semiconductor, Inc.
BLDC Fan Control using the MC68HC908QT2
For More Information On This Product,
;Internal oscillator trim value
;ADC status and control register
;Conversions complete
;ADC interrupt enable bit
;ADC continuous conversion
;ADC channel select bit 4
;ADC channel select bit 3
;ADC channel select bit 2
;ADC channel select bit 1
;ADC channel select bit 0
;Conversions complete
;ADC interrupt enable bit
;ADC continuous conversion
;ADC channel select bit 4
;ADC channel select bit 3
;ADC channel select bit 2
;ADC channel select bit 1
;ADC channel select bit 0
;ADC data register
;ADC input clock register
;ADC clock prescaler bit 2
;ADC clock prescaler bit 1
;ADC clock prescaler bit 0
;ADC clock prescaler bit 2
;ADC clock prescaler bit 1
;ADC clock prescaler bit 0
;SIM break status register
;SIM break stop/wait
;SIM break stop/wait
Go to: www.freescale.com
*************************************************
***********************************************
APPENDIX B: CODE LISTINGS
AN2687/D
25

Related parts for AN2687