📄 ls__config_8h.html
字号:
Data length for data packet being received.
<p>
</td>
</tr>
</table>
<a class="anchor" name="a13" doxytag="ls_config.h::APP_RX_FIFO_DEPTH"></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 APP_RX_FIFO_DEPTH 4 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Receive FIFO depth for master mode.
<p>
</td>
</tr>
</table>
<a class="anchor" name="a14" 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 0x00 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Default channel when initializing. Once the HID enters bind mode, the channel will switch </td>
</tr>
</table>
<a class="anchor" name="a15" 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 0x00 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</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="a16" 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 0x7F </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</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="a17" 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">( </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 </td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap> flash_read_lite(SYS_PARAM_LOC, data, len)</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</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="a18" 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">( </td>
<td class="md" nowrap valign="top">data </td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap> flash_write_lite(SYS_PARAM_LOC, data, 64)</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</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="a19" 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">( </td>
</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap> timer_delay_10_usec()</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</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="a20" 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">( </td>
</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap> timer_delay_50_usec()</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</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="a21" 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">( </td>
<td class="md" nowrap valign="top">cnt </td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap> timer_delay_msec(cnt)</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</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="a22" doxytag="ls_config.h::TIMER_DELAY_INCREMENTAL"></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_INCREMENTAL </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">base, <tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>incr </td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap> timer_delay_incremental(base, incr)</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Macro for the timer_delay_incremental() routine.
<p>
</td>
</tr>
</table>
<a class="anchor" name="a23" 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">( </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 </td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap> timer_time_elasped(base, incr)</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</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="a24" 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">( </td>
</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap> timer_get_time_stamp()</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</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 + -