OpenCores
URL https://opencores.org/ocsvn/qaz_libs/qaz_libs/trunk

Subversion Repositories qaz_libs

[/] [qaz_libs/] [trunk/] [cli/] [util/] [util_bits.h] - Blame information for rev 22

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 22 qaztronic
/*-----------------------------------------------------------*/
2
 
3
#ifndef _UTIL_BITS_H_
4
#define _UTIL_BITS_H_
5
 
6
 
7
 
8
/*-----------------------------------------------------------*/
9
extern void inline
10
  util_set_bits
11
  (
12
    unsigned int address,
13
    unsigned int bit_offset,
14
    unsigned int bit_mask,
15
    unsigned int data
16
  );
17
 
18
 
19
/*-----------------------------------------------------------*/
20
extern unsigned int inline
21
  util_get_bits
22
  (
23
    unsigned int address,
24
    unsigned int bit_offset,
25
    unsigned int bit_mask
26
  );
27
 
28
 
29
/*-----------------------------------------------------------*/
30
extern unsigned char ReverseBits7ops32bit(unsigned char v);
31
 
32
 
33
 
34
 
35
#endif  //  _UTIL_BITS_H_
36
 
37
 
38
 
39
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.