AN2687 Freescale Semiconductor / Motorola, AN2687 Datasheet - Page 21

no-image

AN2687

Manufacturer Part Number
AN2687
Description
BLDC Fan Control using the MC68HC908QT2
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
mPTBPUE2:
mPTBPUE1:
mPTBPUE0:
;****
;*
KBSCR:
; bit numbers for use in BCLR, BSET, BRCLR, and BRSET
KEYF:
ACKK:
IMASKK:
MODEK:
; 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:
;Port A keyboard interrupt enable bit 4
mKBIE3:
mKBIE2:
mKBIE1:
mKBIE0:
;****
;*
INTSCR:
; bit numbers for use in BCLR, BSET, BRCLR, and BRSET
IRQF1:
ACK1:
IMASK1:
MODE1:
MOTOROLA
Keyboard Interrupt Module (KBI)
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
%00100000
%00000100
%00000010
%00000001
$1A
3
2
1
0
%00001000
%00000100
%00000010
%00000001
$1B
6
5
4
3
2
1
0
%01000000
%00001000
%00000100
%00000010
%00000001
$1D
3
2
1
0
Freescale Semiconductor, Inc.
BLDC Fan Control using the MC68HC908QT2
For More Information On This Product,
********************************************************
;Port A keyboard interrupt enable bit mKBIE4:
;Port B input pull up enable bit 2
;Port B input pull up enable bit 1
;Port B input pull up enable bit 0
;Keyboard status and control register
;Keyboard flag
;Keyboard acknowledge
;Keyboard interrupt mask
;Keyboard triggering sesitivity
;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 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
Go to: www.freescale.com
*************************************************
APPENDIX B: CODE LISTINGS
equ
%00010000
AN2687/D
21

Related parts for AN2687