Electronic Components Datasheet Search
  English  ▼

X  

MIC74 Datasheet(PDF) 13 Page - Micrel Semiconductor

Part # MIC74
Description  2-Wire Serial I/O Expander and Fan Controller
PDF  18 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICREL [Micrel Semiconductor]
Direct Link  http://www.micrel.com
Logo MICREL - Micrel Semiconductor

MIC74 Datasheet(HTML) 13 Page - Micrel Semiconductor

Back Button MIC74_06 Datasheet HTML 9Page - Micrel Semiconductor MIC74_06 Datasheet HTML 10Page - Micrel Semiconductor MIC74_06 Datasheet HTML 11Page - Micrel Semiconductor MIC74_06 Datasheet HTML 12Page - Micrel Semiconductor MIC74_06 Datasheet HTML 13Page - Micrel Semiconductor MIC74_06 Datasheet HTML 14Page - Micrel Semiconductor MIC74_06 Datasheet HTML 15Page - Micrel Semiconductor MIC74_06 Datasheet HTML 16Page - Micrel Semiconductor MIC74_06 Datasheet HTML 17Page - Micrel Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 18 page
background image
Micrel, Inc.
MIC74
October 2006
13
M9999-101006
Initializing the MIC74
The MIC74’s internal registers are reset to their default
state at power-on. The MIC74’s default state can be
summarized as follows:
•
All I/O’s configured as inputs (DIR = 00h)
•
Output configuration set to open-
drain(OUT_CFG = 00h)
•
All outputs high/floating (DATA = FFh)
•
Fan functions disabled (FAN_SPEED =
00h,FAN bit of DEV_CFG = 0)
•
All interrupts masked (IE bit of DEV_CFG = 0)
The result of this configuration is that all I/O pins will
essentially float unless driven by external circuitry. Any
system using the MIC74 will need to initialize the internal
registers to the state required for proper system
operation. The recommended order for initializing the
MIC74’s registers is as follows:
Write desired output
values to DATA
Set output configuration
in OUT_CFG
Set desired I/O's as
outputs by writing DIR
Set initial fan speed in
FAN_SPEED
(if using)
Read STATUS
to clear it
Write DEV_CFG to
turn on fan (if using)
Initialize for
polling
Initialization
complete
Figure 9a. Initializing the MIC74 for Polled Operation
1. Write DATA
2. Write OUT_CFG
3. Write DIR
4. Write FAN_SPEED (if using fan mode)
5. Write INT_MASK (if using interrupts)
6. Read STATUS to clear it.
7. Write DEV_CFG to enable fan mode and/or
interrupts, if using
At the conclusion of step three, any I/O’s configured as
outputs in step two will be driven to the levels
programmed into the data register in step one. The order
of step 1 through step 3 is important to insure that
spurious data does not appear at the I/O’s during
configuration. Following step 7, programming the device
configuration register, the MIC74 will begin generating
interrupts if they are enabled, and the fan will be started
if FAN_SPEED contains a nonzero value. The corresp-
onddding interrupt service routines (if any) must be
initialized and enabled prior to step seven. STATUS
should be cleared (step 6) in both polled and interrupt
driven systems.
Write desired ouput
values to DATA
Set output configuration
in OUT_CFG
Set desired I/O's as
outputs by writing DIR
Set initial fan speed in
FAN_SPEED
(if using)
Write INT_MASK to
enable interrupts
(if using)
Read STATUS to
clear it
Write DEV_CFG to
turn on interrupts
and fan (if using)
Initialize for
interrupts
Initialization
complete
Figure 9b. Initializing the MIC74 for Interrupts



Html Pages

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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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