📄 peripheral_development_overview.htm
字号:
<html><!-- InstanceBegin template="/Templates/helpnav.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<!-- InstanceBeginEditable name="doctitle" -->
<title>Card Function Driver Development</title>
<!-- InstanceEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
<!-- InstanceParam name="HeaderColor" type="color" value="#0000FF" -->
<!-- InstanceParam name="FooterColor" type="color" value="#0000FF" -->
<!-- InstanceParam name="NavBackgroundColor" type="color" value="#FFFFFF" -->
<!-- InstanceParam name="BodyBackgroundColor" type="color" value="#FFFFFF" -->
<link href="CodeTHelp.css" rel="stylesheet" type="text/css">
</head><a name="TopTopic"></a>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td width="40%" rowspan="2" bgcolor="#0000FF"><a href="http://www.codetelligence.com"><img src="Images/codetelligence_lrg.gif" name="image" width="252" height="40" border="0"></a></td>
<td width="60%" height="62" bgcolor="#0000FF">
<font color="#FFFFFF" size="5" face="Arial, Helvetica, sans-serif"><strong>Embedded SDIO Driver Kit Help </strong></font></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="10" cellpadding="0">
<tr>
<td width="93%"><font face="Arial, Helvetica, sans-serif">
<p class="Topic"><!-- InstanceBeginEditable name="SubTemplate" --> Card Function Driver Development<!-- InstanceEndEditable --> </p>
</font></td>
<td><!-- InstanceBeginEditable name="NavBack" --><a href="hostc_events.htm"><img src="Images/leftarrow.gif" width="27" height="32" border="0"></a><!-- InstanceEndEditable --></td><td><!-- InstanceBeginEditable name="Nav" --><a href="periph_structure.htm"><img src="Images/rightarrow.gif" width="27" height="32" border="0"></a><!-- InstanceEndEditable --></td>
</tr>
</table>
<hr>
<table width="100%" border="0" cellspacing="0" cellpadding="15">
<tr><td>
<!-- InstanceBeginEditable name="Help Content" -->
<OBJECT type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e">
<param name="Keyword" value="Card Function Driver Development">
</OBJECT>
<p class="BODYTEXT">This section covers the development of card function drivers.
The responsibility of a card function driver is to provide a specific interface
or service to an operating system or application. A function driver will usually
have an application or OS specific interface that is independent of SDIO.
The driver performs all SDIO specific configuration and I/O operations
through the SDIO core interface for function drivers.
The
function
driver does not access the host controller hardware directly and can co-exists
with other function drivers in the system.</p>
<p class="BODYTEXT">The SDIO
core provides a fully hot-swapable, plug and play environment for function
drivers. Driver should be designed to handle multiple instances (recommended)
and hot removal. The SDIO core performs the card detection and enumeration
tasks and assembles the card's plug and play information (card type,
function classes, card/function identifiers) and
notifies
the
appropriate driver of the arrival/removal of the function. The SDIO core
performs much of
the card initialization and bus mode configuration, leaving function
drivers
with
a minimum
amount of initialization code with respect to standard SDIO features. Function
drivers should, of course, configure application specific registers/features.
Function drivers should expect to run in a variety of bus modes including 1-bit,
4-bit and SPI, depending on the platform hardware. The bus mode is transparent
to the function driver, however the driver can always determine what mode it
is operating in and behave accordingly.</p>
<p class="BODYTEXT">Card function drivers utilize a subset of methods
and structures exposed by the SDIO core. Function drivers also expose
a set of callbacks for notification of certain events. The next few topics
goes into detail the structure of a function driver and how it interacts with
the SDIO core.</p>
<p class="BODYTEXT"><br>
</p>
<p class="BODYTEXT"> </p>
<p><br>
</p>
<!-- InstanceEndEditable -->
<br/></table></td></tr>
<table width="100%" border="0" cellspacing="0" cellpadding="2" >
<tr> <td><div align="right"><a href="#TopTopic">Back to top</a></div></td></tr>
<tr bgcolor="#0000FF">
<td>
<font color="#FFFFFF"face="Arial, Helvetica, sans-serif"><strong>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -