-
Notifications
You must be signed in to change notification settings - Fork 0
/
S2LP__Fifo_8c.html
135 lines (131 loc) · 13 KB
/
S2LP__Fifo_8c.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Appiko: /home/prathik/workspace/appiko/nrf5x-firmware/application/rf_data_tx_rx/S2LP_Library/Src/S2LP_Fifo.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Appiko
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d75c23162a2652451dce46d2e7e8aead.html">application</a></li><li class="navelem"><a class="el" href="dir_eeae24ee2ae2430c5086d4802bed50ad.html">rf_data_tx_rx</a></li><li class="navelem"><a class="el" href="dir_457479e51678fc3cc84b7aa4a83c7b21.html">S2LP_Library</a></li><li class="navelem"><a class="el" href="dir_dd09dcd02d9dbd6734f102ee318ab155.html">Src</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">S2LP_Fifo.c File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Configuration and management of S2-LP Fifo.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include "<a class="el" href="S2LP__Fifo_8h_source.html">S2LP_Fifo.h</a>"</code><br />
<code>#include "<a class="el" href="MCU__Interface_8h_source.html">MCU_Interface.h</a>"</code><br />
</div>
<p><a href="S2LP__Fifo_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga8f1fa687d0d6ecbc8dd128b6f5576b6c"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Fifo__Private__Functions.html#ga8f1fa687d0d6ecbc8dd128b6f5576b6c">S2LPFifoReadNumberBytesRxFifo</a> (void)</td></tr>
<tr class="memdesc:ga8f1fa687d0d6ecbc8dd128b6f5576b6c"><td class="mdescLeft"> </td><td class="mdescRight">Return the number of elements in the Rx FIFO. <a href="group__Fifo__Private__Functions.html#ga8f1fa687d0d6ecbc8dd128b6f5576b6c">More...</a><br /></td></tr>
<tr class="separator:ga8f1fa687d0d6ecbc8dd128b6f5576b6c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga41b6af46b05dc191e785be54cb88ece7"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Fifo__Private__Functions.html#ga41b6af46b05dc191e785be54cb88ece7">S2LPFifoReadNumberBytesTxFifo</a> (void)</td></tr>
<tr class="memdesc:ga41b6af46b05dc191e785be54cb88ece7"><td class="mdescLeft"> </td><td class="mdescRight">Return the number of elements in the Tx FIFO. <a href="group__Fifo__Private__Functions.html#ga41b6af46b05dc191e785be54cb88ece7">More...</a><br /></td></tr>
<tr class="separator:ga41b6af46b05dc191e785be54cb88ece7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga81bea01b7b4db8c9a094f1703dd0fadb"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Fifo__Private__Functions.html#ga81bea01b7b4db8c9a094f1703dd0fadb">S2LPFifoSetAlmostFullThresholdRx</a> (uint8_t cThrRxFifo)</td></tr>
<tr class="memdesc:ga81bea01b7b4db8c9a094f1703dd0fadb"><td class="mdescLeft"> </td><td class="mdescRight">Set the almost full threshold for the Rx FIFO. When the number of elements in RX FIFO reaches this value an interrupt can be generated to the MCU. <a href="group__Fifo__Private__Functions.html#ga81bea01b7b4db8c9a094f1703dd0fadb">More...</a><br /></td></tr>
<tr class="separator:ga81bea01b7b4db8c9a094f1703dd0fadb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gac2ea1ba54c1647c8e0efb9385981fc9c"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Fifo__Private__Functions.html#gac2ea1ba54c1647c8e0efb9385981fc9c">S2LPFifoGetAlmostFullThresholdRx</a> (void)</td></tr>
<tr class="memdesc:gac2ea1ba54c1647c8e0efb9385981fc9c"><td class="mdescLeft"> </td><td class="mdescRight">Return the almost full threshold for RX FIFO. <a href="group__Fifo__Private__Functions.html#gac2ea1ba54c1647c8e0efb9385981fc9c">More...</a><br /></td></tr>
<tr class="separator:gac2ea1ba54c1647c8e0efb9385981fc9c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga99a33aca804d71722ec639a3feb59e1a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Fifo__Private__Functions.html#ga99a33aca804d71722ec639a3feb59e1a">S2LPFifoSetAlmostEmptyThresholdRx</a> (uint8_t cThrRxFifo)</td></tr>
<tr class="memdesc:ga99a33aca804d71722ec639a3feb59e1a"><td class="mdescLeft"> </td><td class="mdescRight">Set the almost empty threshold for the Rx FIFO. When the number of elements in RX FIFO reaches this value an interrupt can be generated to the MCU. <a href="group__Fifo__Private__Functions.html#ga99a33aca804d71722ec639a3feb59e1a">More...</a><br /></td></tr>
<tr class="separator:ga99a33aca804d71722ec639a3feb59e1a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga44ad1a72d70b3907f64b689b2d095f41"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Fifo__Private__Functions.html#ga44ad1a72d70b3907f64b689b2d095f41">S2LPFifoGetAlmostEmptyThresholdRx</a> (void)</td></tr>
<tr class="memdesc:ga44ad1a72d70b3907f64b689b2d095f41"><td class="mdescLeft"> </td><td class="mdescRight">Return the almost empty threshold for Rx FIFO. <a href="group__Fifo__Private__Functions.html#ga44ad1a72d70b3907f64b689b2d095f41">More...</a><br /></td></tr>
<tr class="separator:ga44ad1a72d70b3907f64b689b2d095f41"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga40149ed0a5809e8b50a56034e2a21c4c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Fifo__Private__Functions.html#ga40149ed0a5809e8b50a56034e2a21c4c">S2LPFifoSetAlmostFullThresholdTx</a> (uint8_t cThrTxFifo)</td></tr>
<tr class="memdesc:ga40149ed0a5809e8b50a56034e2a21c4c"><td class="mdescLeft"> </td><td class="mdescRight">Set the almost full threshold for the Tx FIFO. When the number of elements in TX FIFO reaches this value an interrupt can be generated to the MCU. <a href="group__Fifo__Private__Functions.html#ga40149ed0a5809e8b50a56034e2a21c4c">More...</a><br /></td></tr>
<tr class="separator:ga40149ed0a5809e8b50a56034e2a21c4c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga6ae81a22b916d24cb983584cf1b5b85c"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Fifo__Private__Functions.html#ga6ae81a22b916d24cb983584cf1b5b85c">S2LPFifoGetAlmostFullThresholdTx</a> (void)</td></tr>
<tr class="memdesc:ga6ae81a22b916d24cb983584cf1b5b85c"><td class="mdescLeft"> </td><td class="mdescRight">Return the almost full threshold for Tx FIFO. <a href="group__Fifo__Private__Functions.html#ga6ae81a22b916d24cb983584cf1b5b85c">More...</a><br /></td></tr>
<tr class="separator:ga6ae81a22b916d24cb983584cf1b5b85c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaea6c4a51f74c0d55ccc487e055db7399"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Fifo__Private__Functions.html#gaea6c4a51f74c0d55ccc487e055db7399">S2LPFifoSetAlmostEmptyThresholdTx</a> (uint8_t cThrTxFifo)</td></tr>
<tr class="memdesc:gaea6c4a51f74c0d55ccc487e055db7399"><td class="mdescLeft"> </td><td class="mdescRight">Set the almost empty threshold for the Tx FIFO. When the number of elements in Tx FIFO reaches this value an interrupt can can be generated to the MCU. <a href="group__Fifo__Private__Functions.html#gaea6c4a51f74c0d55ccc487e055db7399">More...</a><br /></td></tr>
<tr class="separator:gaea6c4a51f74c0d55ccc487e055db7399"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga2c5bc9929715e69a20c2036499c22aca"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Fifo__Private__Functions.html#ga2c5bc9929715e69a20c2036499c22aca">S2LPFifoGetAlmostEmptyThresholdTx</a> (void)</td></tr>
<tr class="memdesc:ga2c5bc9929715e69a20c2036499c22aca"><td class="mdescLeft"> </td><td class="mdescRight">Return the almost empty threshold for Tx FIFO. <a href="group__Fifo__Private__Functions.html#ga2c5bc9929715e69a20c2036499c22aca">More...</a><br /></td></tr>
<tr class="separator:ga2c5bc9929715e69a20c2036499c22aca"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gac0757a4688090f49bd547e6daa4939e7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Fifo__Private__Functions.html#gac0757a4688090f49bd547e6daa4939e7">S2LPFifoMuxRxFifoIrqEnable</a> (<a class="el" href="group__Types__Exported__Types.html#gaf4cbf41d3c8f611d12adae5d2c29c3c2">SFunctionalState</a> xNewState)</td></tr>
<tr class="memdesc:gac0757a4688090f49bd547e6daa4939e7"><td class="mdescLeft"> </td><td class="mdescRight">Enable the Mux for the Rx FIFO IRQ. To be enabled when RX FIFO THRESHOLD is used. <a href="group__Fifo__Private__Functions.html#gac0757a4688090f49bd547e6daa4939e7">More...</a><br /></td></tr>
<tr class="separator:gac0757a4688090f49bd547e6daa4939e7"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><dl class="section author"><dt>Author</dt><dd>LowPower RF BU - AMG </dd></dl>
<dl class="section version"><dt>Version</dt><dd>1.2.1 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>16-April-2018</dd></dl>
<p>THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.</p>
<p>THIS SOURCE CODE IS PROTECTED BY A LICENSE. FOR MORE INFORMATION PLEASE CAREFULLY READ THE LICENSE AGREEMENT FILE LOCATED IN THE ROOT DIRECTORY OF THIS FIRMWARE PACKAGE.</p>
<h2><center>© COPYRIGHT 2016 STMicroelectronics</center></h2>
<p class="definition">Definition in file <a class="el" href="S2LP__Fifo_8c_source.html">S2LP_Fifo.c</a>.</p>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>