전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

EM6821 데이터시트(PDF) 14 Page - EM Microelectronic - MARIN SA

부품명 EM6821
상세설명  Ultra Low Power uController with 4x20 LCD Driver
PDF  68 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  EMMICRO [EM Microelectronic - MARIN SA]
홈페이지  http://www.emmicroelectronic.com
Logo EMMICRO - EM Microelectronic - MARIN SA

EM6821 데이터시트(HTML) 14 Page - EM Microelectronic - MARIN SA

Back Button EM6821 Datasheet HTML 10Page - EM Microelectronic - MARIN SA EM6821 Datasheet HTML 11Page - EM Microelectronic - MARIN SA EM6821 Datasheet HTML 12Page - EM Microelectronic - MARIN SA EM6821 Datasheet HTML 13Page - EM Microelectronic - MARIN SA EM6821 Datasheet HTML 14Page - EM Microelectronic - MARIN SA EM6821 Datasheet HTML 15Page - EM Microelectronic - MARIN SA EM6821 Datasheet HTML 16Page - EM Microelectronic - MARIN SA EM6821 Datasheet HTML 17Page - EM Microelectronic - MARIN SA EM6821 Datasheet HTML 18Page - EM Microelectronic - MARIN SA Next Button
Zoom Inzoom in Zoom Outzoom out
 14 / 68 page
background image
R
EM6821
Copyright
© 2005, EM Microelectronic-Marin SA
14
www.emmicroelectronic.com
6.2
Port A
The EM6821 has one four bit general purpose CMOS input port. The port A input can be read at any time,
internal pull-up or pull-down resistors can be chosen. All selections concerning port A are bit-wise executable.
I.e. Pull-up on PA[2], pull-down on PA[0], positive IRQ edge on PA[0] but negative on PA[1], etc.
In sleep mode the port A pull-up or pull-down resistors are turned off, and the inputs are deactivated except if
the InpResSleep bit in the option register OPTFSel is set to 1. In this case the port A inputs are continuously
monitored to match the input reset condition which will immediately wake the EM6821 from sleep mode (all pull
resistors remain).
Figure 10. Input Port A Configuration
IntEdgPA[n]=0
NoDebIntPA[n]=1
Mask opt
MPAPU[n]
PA3 for the
Millisecond
Counter
IRQPA[3:0]
PA[n]terminal
PA0, PA3
for 10-Bit
Counter
Mask opt
MPAPD[n]
Debouncer
µP TestVar
Ck[8]
Ck[11] or
Ck[14]
DB[3:0]
NoPullPA[n]
Vbat
(VDD)
VSS
Input Reset allowed
when in Sleep
Sleep
6.2.1 IRQ on Port A
For interrupt request generation (IRQ) one can choose direct or debouncer input and positive or negative edge
IRQ triggering. With the debouncer selected ( OPTDebIntPA ) the input must be stable for two rising edges of
the selected debouncer clock (RegPresc). This means a worst case of 16 ms (default) or 2 ms (0.25 ms by
metal mask) with a system clock of 32 KHz.
Either a positive or a negative edge on the port A inputs - after debouncer or not - can generate an interrupt
request. This selection is done in the option register OPTIntEdgPA.
All four bits of port A can provide an IRQ, each pin with its own interrupt mask bit in the RegIRQMask1 register.
When an IRQ occurs, inspection of the RegIRQ1, RegIRQ2 and RegIRQ3 registers allows the interrupt to be
identified and treated.
At power on or after any reset the RegIRQMask1 is set to 0, thus disabling any input interrupt. A new interrupt
is only stored with the next active edge after the corresponding interrupt mask is cleared. See also the interrupt
chapter 10.
It is recommended to mask the port A IRQ’s while one changes the selected IRQ edge. Else one may generate
a IRQ (Software IRQ). I.e. PA[0] on ‘0’ then changing from positive to negative edge selection on PA[0] will
immediately trigger an IRQPA[0] if the IRQ was not masked.



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


데이터시트 다운로드

Go To PDF Page


링크 URL



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