поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

MIC74 датащи(PDF) 14 Page - Micrel Semiconductor

номер детали MIC74
подробное описание детали  2-Wire Serial I/O Expander and Fan Controller Advance Information
PDF  20 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  MICREL [Micrel Semiconductor]
домашняя страница  http://www.micrel.com
Logo MICREL - Micrel Semiconductor

MIC74 датащи(HTML) 14 Page - Micrel Semiconductor

Back Button MIC74 Datasheet HTML 10Page - Micrel Semiconductor MIC74 Datasheet HTML 11Page - Micrel Semiconductor MIC74 Datasheet HTML 12Page - Micrel Semiconductor MIC74 Datasheet HTML 13Page - Micrel Semiconductor MIC74 Datasheet HTML 14Page - Micrel Semiconductor MIC74 Datasheet HTML 15Page - Micrel Semiconductor MIC74 Datasheet HTML 16Page - Micrel Semiconductor MIC74 Datasheet HTML 17Page - Micrel Semiconductor MIC74 Datasheet HTML 18Page - Micrel Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 14 / 20 page
background image
MIC74
Micrel
MIC74
14
August 1, 2000
Read
STATUS
Is
S
x set
?
No
Yes
Polled
I.S.R.
Service function
x
Is
STATUS
≠ 00
h
?
Yes
No
Is
S
m set
?
No
Yes
Service function
m
Is
S
n set
?
No
Yes
Service function
n
Service other devices
Return from ISR
Figure 12: Interrupt Service Routine Without ARA
reading STATUS clears it in preparation for detecting future
events. The status bits corresponding to I/O’s configured as
outputs or corresponding to P[7:4] when in fan mode will not
be set by state changes on these pins. It is always good
practice, however, for the interrupt service routine to mask
the value obtained when reading STATUS to eliminate any
bits, output or otherwise, that are not of immediate concern.
This will help avoid problems if software changes are made
in the future.
The process for writing output data is straightforward—
simply write the desired bit pattern to DATA. Special precau-
tions may be required, however, when changing output data
in an interrupt driven system. See the discussion below under
“Writing to the Data Register.”
Read STATUS to
determine source
Read alert
response address
Interrupts
pending
?
No
Yes
Is
S
x set
?
No
Yes
Interrupt Service
Routine
Return from ISR
Service function
x
Is
interrupt
from
MIC74
Yes
No
Service other devices
Is
S
m set
?
No
Yes
Service function
m
Is
S
n set
?
No
Yes
Service function
n
Figure 11: Interrupt Service Routine Using the ARA
Writing To The Data Register
Multiple software routines may use the various output bits
available on the MIC74 to control individual functions such as
power switches, LED’s, etc. These various functions may be
handled by independent software routines which must ma-
nipulate individual output bits without regard for other bits.
Care must be taken to insure that these various software
routines do not interfere with each other when modifying
output data. The recommended procedure for changing
isolated output bits is as follows:
1. Read DATA
2. Set desired bits by ORing the value read from
DATA with an appropriate mask value
3. Clear desired bits by ANDing the value read
from DATA with an appropriate mask value
4. Write the result back to DATA
A functionally equivalent alternative to this procedure is to
keep an image of the data register in software. Any indepen-
dent routines would make changes to this image using the
procedure above and then call a routine that actually writes



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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