⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mmc.html

📁 基于音频压缩技术的实时数据记录器的软件实现
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML><HEAD> <META NAME="GENERATOR" CONTENT="langdoc 1.0.1"> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <TITLE> mmc </TITLE> </HEAD> <BODY> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="6"> <TR> <TD ALIGN=CENTER VALIGN=MIDDLE BGCOLOR=BLUE> <H1> <FONT COLOR="#FFFFFF"> mmc </FONT> </H1> </TD> </TR> </TABLE><P ALIGN=RIGHT> <I> Copyright (c) 2003</I> </P><H2> Library Usage </H2><H3> Package Description </H3><H3> Package Summary </H3><H4> Constants </H4><PRE></PRE><H4> Global Variables </H4><PRE></PRE><H4> Macros </H4><PRE></PRE><H4> Functions </H4><PRE><A HREF="#mmc_check_response">mmc_check_response</A> <A HREF="#mmc_read_response">mmc_read_response</A> <A HREF="#mmc_send_cmd">mmc_send_cmd</A> <A HREF="#mmc_send_scmd">mmc_send_scmd</A> <A HREF="#mmc_set_prio">mmc_set_prio</A> </PRE><H3> Files List </H3><UL><LI><B><A NAME="mmc_drv.c"></A> mmc_drv.c</B><BR></LI><UL>This file contains the MMC driver routines NOTES: Driver Configuration: - None Global Variables: - None</UL><LI><B><A NAME="mmc_drv.h"></A> mmc_drv.h</B><BR></LI><UL>This file contains the MMC driver definitions</UL></UL><H3> Included Files </H3><UL><LI><B>config.h"                         / *  system configuration  * / </B><BR></LI><LI><B>mmc_drv.h"                        / *  mmc driver definition  * / </B><BR></LI></UL><H2> Constant Macros </H2><H2> Global Variables </H2><H2> Function Macros </H2><H2> Functions </H2><A NAME="mmc_check_response"></A><H3> mmc_check_response </H3><TABLE BORDER="0"  WIDTH="100 %"  BGCOLOR="#D6E8FF"  CELLPADDING="6"><TR> <TD VALIGN=MIDDLE><PRE>bit <A HREF="#mmc_check_response">mmc_check_response</A>  ( void )  </PRE></TD></TABLE><P>Check command response<P><TABLE BORDER="0"  WIDTH="100 %"  BGCOLOR="#FFD0D0"  CELLPADDING="6"><TR> <TD VALIGN=MIDDLE><PRE>*return:  MMC_ERR_RESP: no response or bad format received  MMC_RESP_OK:  response received</PRE></TD></TABLE><P><TABLE BORDER="1"  WIDTH="75 %"  BGCOLOR="white"  CELLPADDING="6"><TR> <TD>ram/xram</TD> <TD></TD><TR> <TD>cycle</TD> <TD></TD><TR> <TD>stack</TD> <TD></TD><TR> <TD>code</TD> <TD></TD></TABLE><HR><A NAME="mmc_read_response"></A><H3> mmc_read_response </H3><TABLE BORDER="0"  WIDTH="100 %"  BGCOLOR="#D6E8FF"  CELLPADDING="6"><TR> <TD VALIGN=MIDDLE><PRE>Uint32 <A HREF="#mmc_read_response">mmc_read_response</A>  ( void )  </PRE></TD></TABLE><P>Read command argument response<P><TABLE BORDER="0"  WIDTH="100 %"  BGCOLOR="#FFD0D0"  CELLPADDING="6"><TR> <TD VALIGN=MIDDLE><PRE>*return:  4-byte argument of the response</PRE></TD></TABLE><P><TABLE BORDER="1"  WIDTH="75 %"  BGCOLOR="white"  CELLPADDING="6"><TR> <TD>ram/xram</TD> <TD></TD><TR> <TD>cycle</TD> <TD></TD><TR> <TD>stack</TD> <TD></TD><TR> <TD>code</TD> <TD></TD></TABLE><HR><A NAME="mmc_send_cmd"></A><H3> mmc_send_cmd </H3><TABLE BORDER="0"  WIDTH="100 %"  BGCOLOR="#D6E8FF"  CELLPADDING="6"><TR> <TD VALIGN=MIDDLE><PRE>void <A HREF="#mmc_send_cmd">mmc_send_cmd</A>  ( Byte index ,  Uint32 argument ,  Byte response )  </PRE></TD></TABLE><P>Send a command on the bus<P><TABLE BORDER="0"  WIDTH="100 %"  BGCOLOR="#FFD0D0"  CELLPADDING="6"><TR> <TD VALIGN=MIDDLE><PRE>  index:    command index  argument: argument (32 bits) of the command to send  response: expected response to the command to send*return:</PRE></TD></TABLE><P><TABLE BORDER="1"  WIDTH="75 %"  BGCOLOR="white"  CELLPADDING="6"><TR> <TD>ram/xram</TD> <TD></TD><TR> <TD>cycle</TD> <TD></TD><TR> <TD>stack</TD> <TD></TD><TR> <TD>code</TD> <TD></TD></TABLE><H4> Note </H4><P>The fifo lock flag is not tested it is under firmware responsability totake care of inter-command delays<HR><A NAME="mmc_send_scmd"></A><H3> mmc_send_scmd </H3><TABLE BORDER="0"  WIDTH="100 %"  BGCOLOR="#D6E8FF"  CELLPADDING="6"><TR> <TD VALIGN=MIDDLE><PRE>void <A HREF="#mmc_send_scmd">mmc_send_scmd</A>  ( Byte index ,  Byte response )  </PRE></TD></TABLE><P>Send a short command on the bus<P><TABLE BORDER="0"  WIDTH="100 %"  BGCOLOR="#FFD0D0"  CELLPADDING="6"><TR> <TD VALIGN=MIDDLE><PRE>  index:    command index  response: expected response to the command to send*return:</PRE></TD></TABLE><P><TABLE BORDER="1"  WIDTH="75 %"  BGCOLOR="white"  CELLPADDING="6"><TR> <TD>ram/xram</TD> <TD></TD><TR> <TD>cycle</TD> <TD></TD><TR> <TD>stack</TD> <TD></TD><TR> <TD>code</TD> <TD></TD></TABLE><H4> Note </H4><P>The fifo lock flag is not tested it is under firmware responsability totake care of inter-command delays<HR><A NAME="mmc_set_prio"></A><H3> mmc_set_prio </H3><TABLE BORDER="0"  WIDTH="100 %"  BGCOLOR="#D6E8FF"  CELLPADDING="6"><TR> <TD VALIGN=MIDDLE><PRE>void <A HREF="#mmc_set_prio">mmc_set_prio</A>  ( Byte priority )  </PRE></TD></TABLE><P>Set the MMC controller priority interrupt<P><TABLE BORDER="0"  WIDTH="100 %"  BGCOLOR="#FFD0D0"  CELLPADDING="6"><TR> <TD VALIGN=MIDDLE><PRE>*return:</PRE></TD></TABLE><P><TABLE BORDER="1"  WIDTH="75 %"  BGCOLOR="white"  CELLPADDING="6"><TR> <TD>ram/xram</TD> <TD></TD><TR> <TD>cycle</TD> <TD></TD><TR> <TD>stack</TD> <TD></TD><TR> <TD>code</TD> <TD></TD></TABLE><HR></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -