参数资料
型号: MC68HC05F4CP
厂商: MOTOROLA INC
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 1.789 MHz, MICROCONTROLLER, PDIP28
封装: PLASTIC, DIP-28
文件页数: 110/130页
文件大小: 2089K
代理商: MC68HC05F4CP
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描述
MK2731-04S 36.864 MHz, VIDEO CLOCK GENERATOR, PDSO16
MC68HC11F1CFN4R2 8-BIT, EEPROM, 4 MHz, MICROCONTROLLER, PQCC68
MC68HC11KS1CFN3 8-BIT, MROM, 3 MHz, MICROCONTROLLER, PQCC68
MB90F548GPF 16-BIT, FLASH, 16 MHz, MICROCONTROLLER, PQFP100
MPD78C11AGQA-XXX-36 8-BIT, MROM, 15 MHz, MICROCONTROLLER, PZIP64
相关代理商/技术参数
参数描述
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