bits.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2013 Swift Navigation Inc.
00003  * Contact: Fergus Noble <fergus@swift-nav.com>
00004  *
00005  * This source is subject to the license found in the file 'LICENSE' which must
00006  * be be distributed together with this source. All other rights reserved.
00007  *
00008  * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
00009  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
00010  * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
00011  */
00012 
00013 #ifndef LIBSWIFTNAV_BITS_H
00014 #define LIBSWIFTNAV_BITS_H
00015 
00016 #include "common.h"
00017 
00018 u32 getbitu(const u8 *buff, u32 pos, u8 len);
00019 s32 getbits(const u8 *buff, u32 pos, u8 len);
00020 void setbitu(u8 *buff, u32 pos, u32 len, u32 data);
00021 void setbits(u8 *buff, u32 pos, u32 len, s32 data);
00022 
00023 #endif /* LIBSWIFTNAV_BITS_H */


swiftnav
Author(s):
autogenerated on Sat Jun 8 2019 18:55:14