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

📄 ls__config_8h.html

📁 cypress公司PROC开发源码(cywusb6953)
💻 HTML
📖 第 1 页 / 共 2 页
字号:
          <td class="md" nowrap valign="top">#define APP_RX_PACKET_SIZE&nbsp;&nbsp;&nbsp;MAX_DATA_LEN          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Data length for data packet being received. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="a12" doxytag="ls_config.h::DEFAULT_CHANNEL"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">#define DEFAULT_CHANNEL&nbsp;&nbsp;&nbsp;0x00          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Default channel when initializing. Once the HID enters bind mode, the channel will switch     </td>
  </tr>
</table>
<a class="anchor" name="a13" doxytag="ls_config.h::DEFAULT_PN_CODE"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">#define DEFAULT_PN_CODE&nbsp;&nbsp;&nbsp;0x00          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This is the index of the PN Code to be used. Auto bind procedures can dynamically change the PN Code after the DEFAULT_PN_CODE is loaded during initialization. DEFAULT_PN_CODE can be any value between 0 and 48 for 16kbps, 0 and 7 for 32 and 64kbps     </td>
  </tr>
</table>
<a class="anchor" name="a14" doxytag="ls_config.h::SYS_PARAM_LOC"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">#define SYS_PARAM_LOC&nbsp;&nbsp;&nbsp;0x7F          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Flash Block location of the System Parameters Used as a parameter for the non-encrypted nvram reads and writes. Set near the end of 8K flash memory, 0x1FC0. The 0x1FC0 (0x3C0+0x1C00) base address must be set to 'u' in flashsecurity.txt.     </td>
  </tr>
</table>
<a class="anchor" name="a15" doxytag="ls_config.h::NVRAM_READ"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">#define NVRAM_READ          </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">data,         <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>len&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap>&nbsp;&nbsp;&nbsp;flash_read_lite(SYS_PARAM_LOC, data, len)</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Macro for reading data from flash memory, using <a class="el" href="flash_8h.html#a0">flash_read_lite()</a>. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="a16" doxytag="ls_config.h::NVRAM_WRITE"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">#define NVRAM_WRITE          </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">data&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap>&nbsp;&nbsp;&nbsp;flash_write_lite(SYS_PARAM_LOC, data)</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Macro for writing data to flash memory, using <a class="el" href="flash_8h.html#a1">flash_write_lite()</a>. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="a17" doxytag="ls_config.h::TIMER_DELAY_10_USEC"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">#define TIMER_DELAY_10_USEC          </td>
          <td class="md" valign="top">(&nbsp;</td>
&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap>&nbsp;&nbsp;&nbsp;timer_delay_10_usec()</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Macro for the <a class="el" href="timer_8c.html#a6">timer_delay_10_usec()</a> routine. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="a18" doxytag="ls_config.h::TIMER_DELAY_50_USEC"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">#define TIMER_DELAY_50_USEC          </td>
          <td class="md" valign="top">(&nbsp;</td>
&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap>&nbsp;&nbsp;&nbsp;timer_delay_50_usec()</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Macro for the <a class="el" href="timer_8c.html#a7">timer_delay_50_usec()</a> routine. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="a19" doxytag="ls_config.h::TIMER_DELAY_MSEC"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">#define TIMER_DELAY_MSEC          </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">cnt&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap>&nbsp;&nbsp;&nbsp;timer_delay_msec(cnt)</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Macro for the <a class="el" href="timer_8c.html#a9">timer_delay_msec()</a> routine. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="a20" doxytag="ls_config.h::TIMER_IS_TIME_ELASPSED"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">#define TIMER_IS_TIME_ELASPSED          </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">base,         <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>curr&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap>&nbsp;&nbsp;&nbsp;timer_time_elasped(base, incr)</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Macro for the <a class="el" href="timer_8c.html#a13">timer_time_elapsed()</a> routine. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="a21" doxytag="ls_config.h::TIMER_GET_TIME_STAMP"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">#define TIMER_GET_TIME_STAMP          </td>
          <td class="md" valign="top">(&nbsp;</td>
&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap>&nbsp;&nbsp;&nbsp;timer_get_time_stamp()</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Macro for the <a class="el" href="timer_8c.html#a12">timer_get_time_stamp()</a> routine. 
<p>
    </td>
  </tr>
</table>
<html>

<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<title>Cypress Semiconductor Corporation</title>

<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:"MS Mincho";
	panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
	{font-family:"\@MS Mincho";
	panose-1:2 2 6 9 4 2 5 8 3 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:#1A419D;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:#1A419D;
	text-decoration:underline;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=EN-US link="#1A419D" vlink="#1A419D">

<div class=Section1>

<div>

<div align=center>

<table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0 width="100%"
 style='width:100.0%;border-collapse:collapse;border:none'>
 <tr>
  <td width="100%" style='width:100.0%;border:none;border-top:solid windowtext 1.0pt;
  padding:0in 5.4pt 0in 5.4pt'>
  <p class=MsoNormal align=center style='text-align:center'><b><span
  style='font-size:13.0pt;font-family:Arial;color:blue'><a
  href="http://www.cypress.com/">Cypress Semiconductor Corporation</a></span></b><b><span
  style='font-size:13.0pt;font-family:Arial'>牋 </span></b><b><span
  style='font-size:16.0pt;font-family:Symbol'>

⌨️ 快捷键说明

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