/[dtapublic]/to_be_filed/uculib01/src/stm8/cosmic/modxx/lfu16filtainitrxn/src/lfu16filtainitrxn.c
ViewVC logotype

Contents of /to_be_filed/uculib01/src/stm8/cosmic/modxx/lfu16filtainitrxn/src/lfu16filtainitrxn.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30 - (show annotations) (download)
Sat Oct 8 07:22:17 2016 UTC (7 years, 8 months ago) by dashley
File MIME type: text/plain
File size: 2616 byte(s)
Initial commit.
1 //-------------------------------------------------------------------------------
2 //$Header: /home/dashley/cvsrep/uculib01/uculib01/src/stm8/cosmic/modxx/lfu16filtainitrxn/src/lfu16filtainitrxn.c,v 1.5 2010/02/24 18:57:44 dashley Exp $
3 //-------------------------------------------------------------------------------
4 //Copyright (c)2010 David T. Ashley
5 //
6 //Permission is hereby granted, free of charge, to any person obtaining a copy
7 //of this software source code and associated documentation files (the
8 //"Software"), to deal in the Software without restriction, including without
9 //limitation the rights to use, copy, modify, merge, publish, distribute,
10 //sublicense, and/or sell copies of the Software, and to permit persons to whom
11 //the Software is furnished to do so, subject to the following conditions:
12 //
13 //The above copyright notice and this permission notice shall be included in
14 //all copies or substantial portions of the Software.
15 //
16 //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 //IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 //FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 //AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 //LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 //OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 //THE SOFTWARE.
23 //-------------------------------------------------------------------------------
24
25 #include "uculib.h"
26
27
28 void UcuLfU16FiltAInitRxn(UCU_UNION48 *in_fs, UCU_UINT16 in_x_k_initial)
29 {
30 in_fs->uwa.uw[0] = in_x_k_initial;
31 //Set the part before the radix point to be the passed value.
32 in_fs->uwa.uw[1] = 0;
33 in_fs->uwa.uw[2] = 0;
34 //Bits after the radix point are assigned zero.
35 }
36
37 //-------------------------------------------------------------------------------
38 //End of $Id: lfu16filtainitrxn.c,v 1.5 2010/02/24 18:57:44 dashley Exp $
39 //-------------------------------------------------------------------------------
40 //$Log: lfu16filtainitrxn.c,v $
41 //Revision 1.5 2010/02/24 18:57:44 dashley
42 //Comments removed.
43 //
44 //Revision 1.4 2010/01/28 03:19:12 dashley
45 //Linear Filter A function name change.
46 //
47 //Revision 1.3 2010/01/27 00:37:52 dashley
48 //Name change of Linear Filter A functions.
49 //
50 //Revision 1.2 2010/01/22 21:23:52 dashley
51 //Extra line removed.
52 //
53 //Revision 1.1 2010/01/22 21:23:37 dashley
54 //Initial checkin.
55 //-------------------------------------------------------------------------------
56

dashley@gmail.com
ViewVC Help
Powered by ViewVC 1.1.25