參數(shù)資料
型號: MC68HC05F4FB
廠商: MOTOROLA INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 1.789 MHz, MICROCONTROLLER, PQFP44
封裝: QFP-44
文件頁數(shù): 110/130頁
文件大?。?/td> 2089K
代理商: MC68HC05F4FB
MOTOROLA
8-6
MC68HC05F4
RESETS AND INTERRUPTS
8
8.2.3.2
Programmable 16-bit timer interrupt
There are ve different timer interrupt ags that cause a timer interrupt whenever they are set and
enabled. The timer interrupt enable bits are located in the timer control register (TCR) and the
timer interrupt ags are located in the timer status register (TSR). Both interrupts will vector to the
same service routine, whose start address is contained in memory locations $3FF6 and $3FF7.
8.2.3.3
Keyboard interrupt
When congured as input pins, all eight port A lines provide a wired-OR keyboard interrupt facility
and will generate an interrupt, provided that the keyboard interrupt enable bit (KIE) in the key
control register (KCR) is set. The address of the interrupt service routine is specied by the
contents of memory locations $3FFA and $3FFB. Since this interrupt vector is shared with the IRQ
external interrupt function the interrupt service routine should check KF to determine the interrupt
source. KF should be cleared by software in the interrupt service routine. Care must be taken to
allow adequate time for switch debounce before clearing the ag.
8.2.3.4
Low voltage interrupt
There is a low voltage interrupt ag that causes an interrupt whenever it is set and enabled. The
low voltage interrupt enable bit and the interrupt ag are located in the system option register
(SOR) described below in Section 8.2.3.5. This interrupt will vector to the service routine, located
at the address specied by the contents of memory locations $3FF4 and $3FF5.
Table 8-1 Vector address for interrupts and reset
Register
Flag name
Interrupts
CPU
interrupt
Vector address
Reset
RESET
$3FFE$3FFF
Software interrupt
SWI
$3FFC$3FFD
External interrupt
IRQ
$3FFA$3FFB
CTCSR
CTOF
Core timer overow
CTIMER
$3FF8$3FF9
CTCSR
RTIF
Real time interrupt
CTIMER
$3FF8$3FF9
TSR
IC1F
Timer input capture1
TIMER
$3FF6$3FF7
TSR
OC1F
Timer output compare1
TIMER
$3FF6$3FF7
TSR
IC2F
Timer input capture2
TIMER
$3FF6$3FF7
TSR
OC2F
Timer output compare2
TIMER
$3FF6$3FF7
TSR
TOF
Timer overow
TIMER
$3FF6$3FF7
KCR
KF
Keyboard interrupt
KEYF
$3FFA$3FFB
SOR
LVIF
Low voltage interrupt
LVI
$3FF4$3FF5
TPG
76
05F4Book Page 6 Tuesday, August 5, 1997 1:10 pm
相關PDF資料
PDF描述
MC68HC05F5FN 8-BIT, MROM, 2 MHz, MICROCONTROLLER, PQCC44
MC68HC05F5P 8-BIT, MROM, 2 MHz, MICROCONTROLLER, PDIP40
MC68HC05F5CFN 8-BIT, MROM, 2 MHz, MICROCONTROLLER, PQCC44
MC68HC05F8B 8-BIT, MROM, 1.8 MHz, MICROCONTROLLER, PDIP56
MC68HC05F8FU 8-BIT, MROM, 1.8 MHz, MICROCONTROLLER, PQFP64
相關代理商/技術參數(shù)
參數(shù)描述
MC68HC05F5 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05F6 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:MCU with DTMF/melody generator
MC68HC05F6P 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
MC68HC05F8 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:High-density complementary metal oxide semiconductor(HCMOS) microcontroller unit
MC68HC05J1 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:HCMOS MICROCONTROLLER UNIT