參數(shù)資料
型號: MC68HC08QY2VDW
廠商: FREESCALE SEMICONDUCTOR INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PDSO16
封裝: 1.27 MM PITCH, PLASTIC, MS-013AA, SOIC-16
文件頁數(shù): 159/178頁
文件大小: 2311K
代理商: MC68HC08QY2VDW
I/O Signals
MC68HC08QY/QT Family Data Sheet, Rev. 1
Freescale Semiconductor
81
9.7 I/O Signals
The KBI module can share its pins with the general-purpose I/O pins. See Figure 9-1 for the port pins that
are shared.
9.7.1 KBI Input Pins (KBIx:KBI0)
Each KBI pin is independently programmable as an external interrupt source. KBI pin polarity can be
controlled independently. Each KBI pin when enabled will automatically configure the appropriate
pullup/pulldown device based on polarity.
9.8 Registers
The following registers control and monitor operation of the KBI module:
KBSCR (keyboard interrupt status and control register)
KBIER (keyboard interrupt enable register)
KBIPR (keyboard interrupt polarity register)
9.8.1 Keyboard Status and Control Register (KBSCR)
Features of the KBSCR:
Flags keyboard interrupt requests
Acknowledges keyboard interrupt requests
Masks keyboard interrupt requests
Controls keyboard interrupt triggering sensitivity
Bits 7–4 — Not used
KEYF — Keyboard Flag Bit
This read-only bit is set when a keyboard interrupt is pending.
1 = Keyboard interrupt pending
0 = No keyboard interrupt pending
ACKK — Keyboard Acknowledge Bit
Writing a 1 to this write-only bit clears the KBI request. ACKK always reads 0.
IMASKK— Keyboard Interrupt Mask Bit
Writing a 1 to this read/write bit prevents the output of the KBI latch from generating interrupt requests.
1 = Keyboard interrupt requests disabled
0 = Keyboard interrupt requests enabled
MODEK — Keyboard Triggering Sensitivity Bit
This read/write bit controls the triggering sensitivity of the keyboard interrupt pins.
1 = Keyboard interrupt requests on edge and level
0 = Keyboard interrupt requests on edge only
Bit 7
654321
Bit 0
Read:
0000
KEYF
0
IMASKK
MODEK
Write:
ACKK
Reset:
00000000
= Unimplemented
Figure 9-3. Keyboard Status and Control Register (KBSCR)
相關PDF資料
PDF描述
MC68HC08QT2CDW 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PDSO8
MC68HC08QT1CDW 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PDSO8
MC68HC08QT2MDW 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PDSO8
MC68HC08QY4MDWE 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PDSO16
MC68HC08QT4MDW 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PDSO8
相關代理商/技術參數(shù)
參數(shù)描述
MC68HC08QY4 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:M68HC08 Microcontrollers
MC68HC08SR12 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:M68HC08 Microcontrollers
MC68HC08TV24CFB 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:M68HC08 Microcontrollers
MC68HC08XL36 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC08XL36CB 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit