1 /* -------------------------------- Arctic Core ------------------------------
2 * Arctic Core - the open source AUTOSAR platform http://arccore.com
4 * Copyright (C) 2009 ArcCore AB <contact@arccore.com>
6 * This source code is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published by the
8 * Free Software Foundation; See <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>.
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * -------------------------------- Arctic Core ------------------------------*/
29 * The following function are exported only for testing purposes.
\r
31 uint8 Com_Filter(ComSignal_type *signal);
\r
32 void Com_CopyFromSignal(const ComSignal_type *signal, void *Destination);
\r
33 void Com_CopyToSignal(ComSignal_type *signal, const void *Source);
\r
36 * This function copies numBits bits of data from Source to Destination with the possibility to offset
\r
37 * both the source and destination.
\r
39 * Return value: the last bit it copies (sign bit).
41 uint8 Com_CopyData(void *Destination, const void *Source, uint8 numBits, uint8 destOffset, uint8 sourceOffset);
\r
42 #endif /* COM_MISC_H_ */
\r