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

📄 rf_rx.html

📁 PKE(被动无钥门禁系统
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="RF_RX.T_PERIOD_MAX"></A><H3>
RF_RX.T_PERIOD_MAX</H3>
<DL>
<DD>	The maximum period of one bit in multiples of 0.1 micro seconds.<BR><BR>	You may override the default value by either defining the same constant	in your Project.inc file or by changing the default value in the module's	source.<BR><BR>Default value = .8250
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="RF_RX.T_INST"></A><H3>
RF_RX.T_INST</H3>
<DL>
<DD>	The instruction time in multiples of 0.1 micro seconds.<BR><BR>	You may override the default value by either defining the same constant	in your Project.inc file or by changing the default value in the module's	source.<BR><BR>Default value = .2
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="RF_RX.T_NOISE_MAX"></A><H3>
RF_RX.T_NOISE_MAX</H3>
<DL>
<DD>	The time the line has to be stable when an edge is beeing detected.	The maximum value is 1275*T_INST.<BR>	You may override the default value by either defining the same constant	in your Project.inc file or by changing the default value in the module's	source.<BR><BR>Default value = .50
<P>
<DL>
</DL>
</DL>
<B> Example:</B><p style="position:relative;" id="RF_RX_T_NOISE_MAX_time_0_p"><IMG SRC="RF_RX.T_NOISE_MAX_time_0.jpg" NAME="RF_RX_T_NOISE_MAX_time_0"  BORDER="0"></p><SCRIPT type="text/javascript">window.setInterval("RF_RX_T_NOISE_MAX_time_0_res()",100);var RF_RX_T_NOISE_MAX_time_0_init = document.RF_RX_T_NOISE_MAX_time_0.width ;function RF_RX_T_NOISE_MAX_time_0_res(){try{if(RF_RX_T_NOISE_MAX_time_0_init > parent.classFrame.innerWidth-45)	document.RF_RX_T_NOISE_MAX_time_0.width=parent.classFrame.innerWidth-45;else{	document.RF_RX_T_NOISE_MAX_time_0.width=RF_RX_T_NOISE_MAX_time_0_init;	document.getElementById("RF_RX_T_NOISE_MAX_time_0_p").style.left= ((parent.classFrame.innerWidth-document.RF_RX_T_NOISE_MAX_time_0.width-45) / 2) + "px";	document.getElementById("RF_RX_T_NOISE_MAX_time_0_p").style.width= document.RF_RX_T_NOISE_MAX_time_0.width	+ "px";}}catch(Exception){}}</SCRIPT><HR>

<A NAME="RF_RX.T_NOISE_MAX_ENABLE"></A><H3>
RF_RX.T_NOISE_MAX_ENABLE</H3>
<DL>
<DD>	The time the line has to be stable when the edge of an incoming message is beeing detected.	The maximum value is 1275*T_INST.<BR>	You may override the default value by either defining the same constant	in your Project.inc file or by changing the default value in the module's	source.<BR><BR>Default value = .2000
<P>
<DL>
</DL>
</DL>
<B> Example:</B><p style="position:relative;" id="RF_RX_T_NOISE_MAX_ENABLE_time_0_p"><IMG SRC="RF_RX.T_NOISE_MAX_ENABLE_time_0.jpg" NAME="RF_RX_T_NOISE_MAX_ENABLE_time_0"  BORDER="0"></p><SCRIPT type="text/javascript">window.setInterval("RF_RX_T_NOISE_MAX_ENABLE_time_0_res()",100);var RF_RX_T_NOISE_MAX_ENABLE_time_0_init = document.RF_RX_T_NOISE_MAX_ENABLE_time_0.width ;function RF_RX_T_NOISE_MAX_ENABLE_time_0_res(){try{if(RF_RX_T_NOISE_MAX_ENABLE_time_0_init > parent.classFrame.innerWidth-45)	document.RF_RX_T_NOISE_MAX_ENABLE_time_0.width=parent.classFrame.innerWidth-45;else{	document.RF_RX_T_NOISE_MAX_ENABLE_time_0.width=RF_RX_T_NOISE_MAX_ENABLE_time_0_init;	document.getElementById("RF_RX_T_NOISE_MAX_ENABLE_time_0_p").style.left= ((parent.classFrame.innerWidth-document.RF_RX_T_NOISE_MAX_ENABLE_time_0.width-45) / 2) + "px";	document.getElementById("RF_RX_T_NOISE_MAX_ENABLE_time_0_p").style.width= document.RF_RX_T_NOISE_MAX_ENABLE_time_0.width	+ "px";}}catch(Exception){}}</SCRIPT><HR>

<A NAME="RF_RX.T_HDR_INIT_MIN"></A><H3>
RF_RX.T_HDR_INIT_MIN</H3>
<DL>
<DD>	The minimum leading high time of a valid header in micro seconds.<BR>	You may override the default value by either defining the same constant	in your Project.inc file or by changing the default value in the module's	source.<BR><BR>Default value = .1000
<P>
<DL>
</DL>
</DL>
<B> Example:</B><p style="position:relative;" id="RF_RX_T_HDR_INIT_MIN_time_0_p"><IMG SRC="RF_RX.T_HDR_INIT_MIN_time_0.jpg" NAME="RF_RX_T_HDR_INIT_MIN_time_0"  BORDER="0"></p><SCRIPT type="text/javascript">window.setInterval("RF_RX_T_HDR_INIT_MIN_time_0_res()",100);var RF_RX_T_HDR_INIT_MIN_time_0_init = document.RF_RX_T_HDR_INIT_MIN_time_0.width ;function RF_RX_T_HDR_INIT_MIN_time_0_res(){try{if(RF_RX_T_HDR_INIT_MIN_time_0_init > parent.classFrame.innerWidth-45)	document.RF_RX_T_HDR_INIT_MIN_time_0.width=parent.classFrame.innerWidth-45;else{	document.RF_RX_T_HDR_INIT_MIN_time_0.width=RF_RX_T_HDR_INIT_MIN_time_0_init;	document.getElementById("RF_RX_T_HDR_INIT_MIN_time_0_p").style.left= ((parent.classFrame.innerWidth-document.RF_RX_T_HDR_INIT_MIN_time_0.width-45) / 2) + "px";	document.getElementById("RF_RX_T_HDR_INIT_MIN_time_0_p").style.width= document.RF_RX_T_HDR_INIT_MIN_time_0.width	+ "px";}}catch(Exception){}}</SCRIPT><HR>

<A NAME="RF_RX.T_HDR_INIT_MAX"></A><H3>
RF_RX.T_HDR_INIT_MAX</H3>
<DL>
<DD>	The maximum leading high time of a valid header in micro seconds.<BR>	You may override the default value by either defining the same constant	in your Project.inc file or by changing the default value in the module's	source.<BR><BR>Default value = .10000
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="RF_RX.T_HDR_GAP_MIN"></A><H3>
RF_RX.T_HDR_GAP_MIN</H3>
<DL>
<DD>	The minimum time of the gap between the initial high time and the filter in micro seconds.<BR>	You may override the default value by either defining the same constant	in your Project.inc file or by changing the default value in the module's	source.<BR><BR>Default value = .400
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="RF_RX.T_HDR_GAP_MAX"></A><H3>
RF_RX.T_HDR_GAP_MAX</H3>
<DL>
<DD>	The maximum time of the gap between the initial high time and the filter in micro seconds.<BR>	You may override the default value by either defining the same constant	in your Project.inc file or by changing the default value in the module's	source.<BR><BR>Default value = .650
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="RF_RX.T_HDR_HIGH_MIN"></A><H3>
RF_RX.T_HDR_HIGH_MIN</H3>
<DL>
<DD>	The minimum high time of the filter in micro seconds.<BR>	You may override the default value by either defining the same constant	in your Project.inc file or by changing the default value in the module's	source.<BR><BR>Default value = .2000
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="RF_RX.T_HDR_HIGH_MAX"></A><H3>
RF_RX.T_HDR_HIGH_MAX</H3>
<DL>
<DD>	The maximum high time of the filter in micro seconds.<BR>	You may override the default value by either defining the same constant	in your Project.inc file or by changing the default value in the module's	source.<BR><BR>Default value = .2500
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="RF_RX.T_HDR_LOW_MIN"></A><H3>
RF_RX.T_HDR_LOW_MIN</H3>
<DL>
<DD>	The minimum low time of the filter in micro seconds.<BR>	You may override the default value by either defining the same constant	in your Project.inc file or by changing the default value in the module's	source.<BR><BR>Default value = .2000
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="RF_RX.T_HDR_LOW_MAX"></A><H3>
RF_RX.T_HDR_LOW_MAX</H3>
<DL>
<DD>	The maximum low time of the filter in micro seconds.<BR>	You may override the default value by either defining the same constant	in your Project.inc file or by changing the default value in the module's	source.<BR><BR>Default value = .2500
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="RF_RX.BufferSize"></A><H3>
RF_RX.BufferSize</H3>
<DL>
<DD>	The buffer size for incoming messages.	This value should be equal to the maximum number of bytes in any message.	Otherwise this messages will be lost, because of the buffer overflow detection.<BR>	You may override the default value by either defining the same constant	in your Project.inc file or by changing the default value in the module's	source.<BR><BR>Default value = .8
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="RF_RX.T_RESPONSE_TIMEOUT"></A><H3>
RF_RX.T_RESPONSE_TIMEOUT</H3>
<DL>
<DD>	The maximum time in micro seconds to wait for an incoming signal.<BR>	You may override the default value by either defining the same constant	in your Project.inc file or by changing the default value in the module's	source.<BR><BR>Default value = .100000
<P>
<DL>
</DL>
</DL>
<HR>
<P>
<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="RF_RX.Init"></A><H3>
RF_RX.Init</H3>
<PRE>
&nbsp;<B>RF_RX.Init</B>()</PRE>
<P>
<DL>
<DD>	This function initializes the LF module.
<P>
<P>
<DD><DL>
<DT><B>Status:</B><DD> Tested</DD></DL>
</DD>
</DL>
<HR>
<A NAME="RF_RX.ReceiveByte"></A><H3>
RF_RX.ReceiveByte</H3>
<PRE>
&nbsp;RX_REG&nbsp;&nbsp;<B>RF_RX.ReceiveByte</B>()</PRE>
<P>
<DL>
<DD>	This method receives one byte of data from the RF Interface.	The PWM coded data is being decoded and written to RX_REG.
<P>
<DD><DL>
<DT><B>Returns:</B>
<DD><CODE>RX_REG</CODE> - The received byte of data </DD>
</DL></DD>
<P>
<DD><DL>
<DT><B>Used SFRs:</B><DD> T0CON TMR0L</DD></DL>
</DD>
<DD><DL>
<DT><B>Stacklevel:</B><DD>1</DD></DL>
</DD>
<DD><DL>
<DT><B>Status:</B><DD> Tested</DD></DL>
</DD>
<P>
<DD><DL>
<DT><B>Example:</B><DD><CODE><TABLE BORDER="0"><TR>	<TD><CODE>&nbsp;</CODE></TD>	<TD><CODE><FONT COLOR="#0000FF"><B>call&nbsp;</B></FONT></CODE></TD>	<TD><CODE><FONT COLOR="#AA22AA">RF_RX.WaitResponse&nbsp;</FONT></CODE></TD></TR><TR>	<TD><CODE>&nbsp;</CODE></TD>	<TD><CODE><FONT COLOR="#0000FF"><B>bz&nbsp;</B></FONT></CODE></TD>	<TD><CODE><FONT COLOR="#AA22AA">Fail&nbsp;</FONT></CODE></TD></TR><TR>	<TD><CODE>&nbsp;</CODE></TD>	<TD><CODE><FONT COLOR="#0000FF"><B>call&nbsp;</B></FONT></CODE></TD>	<TD><CODE><FONT COLOR="#AA22AA">RF_RX.ReceiveHeader&nbsp;</FONT></CODE></TD></TR><TR>	<TD><CODE>&nbsp;</CODE></TD>	<TD><CODE><FONT COLOR="#0000FF"><B>bz&nbsp;</B></FONT></CODE></TD>	<TD><CODE><FONT COLOR="#AA22AA">Fail&nbsp;</FONT></CODE></TD></TR><TR>	<TD><CODE>&nbsp;</CODE></TD>	<TD><CODE><FONT COLOR="#0000FF"><B>call&nbsp;</B></FONT></CODE></TD>	<TD><CODE><FONT COLOR="#AA22AA">RF_RX.ReceiveByte&nbsp;</FONT></CODE></TD></TR><TR>	<TD><CODE>&nbsp;</CODE></TD>	<TD><CODE><FONT COLOR="#0000FF"><B>bz&nbsp;</B></FONT></CODE></TD>	<TD><CODE><FONT COLOR="#AA22AA">Fail&nbsp;</FONT></CODE></TD></TR></TABLE></CODE></DD></DL>
</DD>
<DD><DL>
<DT><B>Description:</B><DD>		This is the complete sequence to receive one byte.</DD></DL>
</DD>
</DL>
<HR>
<A NAME="RF_RX.ReceiveStream"></A><H3>

⌨️ 快捷键说明

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