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

Subversion Repositories qaz_libs

[/] [qaz_libs/] [trunk/] [cli/] [util/] [util_bits.h] - Rev 22

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

/*-----------------------------------------------------------*/
 
#ifndef _UTIL_BITS_H_
#define _UTIL_BITS_H_
 
 
 
/*-----------------------------------------------------------*/
extern void inline 
  util_set_bits
  (
    unsigned int address, 
    unsigned int bit_offset, 
    unsigned int bit_mask, 
    unsigned int data
  );
 
 
/*-----------------------------------------------------------*/
extern unsigned int inline 
  util_get_bits
  (
    unsigned int address, 
    unsigned int bit_offset, 
    unsigned int bit_mask
  );
 
 
/*-----------------------------------------------------------*/
extern unsigned char ReverseBits7ops32bit(unsigned char v);
 
 
 
 
#endif  //  _UTIL_BITS_H_
 
 
 
 
 

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

powered by: WebSVN 2.1.0

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