数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AT89C5122D-RDRUM 数据表(PDF) 153 Page - ATMEL Corporation

部件名 AT89C5122D-RDRUM
功能描述  C51 Microcontroller with USB and Smart Card Reader Interfaces
PDF  208 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  ATMEL [ATMEL Corporation]
网页  http://www.atmel.com
标志 ATMEL - ATMEL Corporation

AT89C5122D-RDRUM 数据表(HTML) 153 Page - ATMEL Corporation

Back Button AT89C5122D-RDRUM Datasheet HTML 149Page - ATMEL Corporation AT89C5122D-RDRUM Datasheet HTML 150Page - ATMEL Corporation AT89C5122D-RDRUM Datasheet HTML 151Page - ATMEL Corporation AT89C5122D-RDRUM Datasheet HTML 152Page - ATMEL Corporation AT89C5122D-RDRUM Datasheet HTML 153Page - ATMEL Corporation AT89C5122D-RDRUM Datasheet HTML 154Page - ATMEL Corporation AT89C5122D-RDRUM Datasheet HTML 155Page - ATMEL Corporation AT89C5122D-RDRUM Datasheet HTML 156Page - ATMEL Corporation AT89C5122D-RDRUM Datasheet HTML 157Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 153 / 208 page
background image
153
AT83R5122, AT8xC5122/23
4202F–SCR–07/2008
Keyboard Interface
Only for AT8xC5122.
Introduction
The AT83R5122, AT8xC5122/23 implements a keyboard interface allowing the connec-
tion of a 8 x n matrix keyboard. It is based on 8 inputs with programmable interrupt
capability on both high or low level. These inputs are available as alternate function of
P5 and allow to exit from idle and power-down modes.
Description
The keyboard interfaces with the C51 core through 3 special function registers: KBLS,
the Keyboard Level Selection register (Table 96 on page 156), KBE, The Keyboard
interrupt Enable register (Table 95 on page 155), and KBF, the Keyboard Flag register
(Table ).
Interrupt
The keyboard inputs are considered as 8 independent interrupt sources sharing the
same interrupt vector. An interrupt enable bit ( KBD in IE1) allows global enable or dis-
able of the keyboard interrupt (see Figure 97). As detailed in Figure 98 each keyboard
input has the capability to detect a programmable level according to KBLS.x bit value.
Level detection is then reported in interrupt flags KBF.x that can be masked by software
using KBE.x bits.
This structure allows keyboard arrangement from 1 by n to 8 by n matrix and allows
usage of P5 inputs for other purpose.
The KBF.x flags are set by hardware when an active level is on input P5.x. They are
automatically reset after any read access on KBF. If the content of KBF must be ana-
lyzed, the first read instruction must transfer KBF contend to another location. The KBF
register cannot be written by software.
Figure 97.
Keyboard Interface Block Diagram
Figure 98.
Keyboard Input Circuitry
P5.0
Keyboard Interface
Interrupt Request
EKB
IEN1.0
Input Circuitry
P5.1
Input Circuitry
P5.2
Input Circuitry
P5.3
Input Circuitry
P5.4
Input Circuitry
P5.5
Input Circuitry
P5.6
Input Circuitry
P5.7
Input Circuitry
KBDIT
P5.x
KBE.x
KBF.x
KBLS.x
0
1



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com