dsp::ShiftMask< N > Class Template Reference

Shift and mask two contiguous bits. More...

#include <TwoBitMask.h>

Public Member Functions

unsigned char operator() (unsigned char data, unsigned isamp)
 Return the shifted 2-bit number.
 
unsigned char operator() (unsigned char data)
 Return the shifted 2-bit number.
 

Public Attributes

unsigned shift [N]
 

Detailed Description

template<unsigned N>
class dsp::ShiftMask< N >

Shift and mask two contiguous bits.


The documentation for this class was generated from the following file:

Generated using doxygen 1.8.17