A helper class for BitWizard users that provides useful values for register indexing, masking and sizing. More...
Enumerations | |
enum | BitCountMaskEnumType { ONE_BIT_MASK = 0x00000001, TWO_BIT_MASK = 0x00000003, THREE_BIT_MASK = 0x00000007, FOUR_BIT_MASK = 0x0000000F, FIVE_BIT_MASK = 0x0000001F, SIX_BIT_MASK = 0x0000003F, SEVEN_BIT_MASK = 0x0000007F, EIGHT_BIT_MASK = 0x000000FF, NINE_BIT_MASK = 0x000001FF, TEN_BIT_MASK = 0x000003FF, ELEVEN_BIT_MASK = 0x000007FF, TWELVE_BIT_MASK = 0x00000FFF, THIRTEEN_BIT_MASK = 0x00001FFF, FOURTEEN_BIT_MASK = 0x00003FFF, FIFTEEN_BIT_MASK = 0x00007FFF, SIXTEEN_BIT_MASK = 0x0000FFFF, SEVENTEEN_BIT_MASK = 0x0001FFFF, EIGHTEEN_BIT_MASK = 0x0003FFFF, NINETEEN_BIT_MASK = 0x0007FFFF, TWENTY_BIT_MASK = 0x000FFFFF, TWENTYONE_BIT_MASK = 0x001FFFFF, TWENTYTWO_BIT_MASK = 0x003FFFFF, TWENTYTHREE_BIT_MASK = 0x007FFFFF, TWENTYFOUR_BIT_MASK = 0x00FFFFFF, TWENTYFIVE_BIT_MASK = 0x01FFFFFF, TWENTYSIX_BIT_MASK = 0x03FFFFFF, TWENTYSEVEN_BIT_MASK = 0x07FFFFFF, TWENTYEIGHT_BIT_MASK = 0x0FFFFFFF, TWENTYNINE_BIT_MASK = 0x1FFFFFFF, THIRTY_BIT_MASK = 0x3FFFFFFF, THIRTYONE_BIT_MASK = 0x7FFFFFFF, THIRTYTWO_BIT_MASK = 0xFFFFFFFF } |
Provides a way to mask off a certain number of bits in a register. More... | |
enum | BitIndexEnumType { BIT_ZERO_INDEX = 0, BIT_ONE_INDEX = 1, BIT_TWO_INDEX = 2, BIT_THREE_INDEX = 3, BIT_FOUR_INDEX = 4, BIT_FIVE_INDEX = 5, BIT_SIX_INDEX = 6, BIT_SEVEN_INDEX = 7, BIT_EIGHT_INDEX = 8, BIT_NINE_INDEX = 9, BIT_TEN_INDEX = 10, BIT_ELEVEN_INDEX = 11, BIT_TWELVE_INDEX = 12, BIT_THIRTEEN_INDEX = 13, BIT_FOURTEEN_INDEX = 14, BIT_FIFTEEN_INDEX = 15, BIT_SIXTEEN_INDEX = 16, BIT_SEVENTEEN_INDEX = 17, BIT_EIGHTEEN_INDEX = 18, BIT_NINETEEN_INDEX = 19, BIT_TWENTY_INDEX = 20, BIT_TWENTYONE_INDEX = 21, BIT_TWENTYTWO_INDEX = 22, BIT_TWENTYTHREE_INDEX = 23, BIT_TWENTYFOUR_INDEX = 24, BIT_TWENTYFIVE_INDEX = 25, BIT_TWENTYSIX_INDEX = 26, BIT_TWENTYSEVEN_INDEX = 27, BIT_TWENTYEIGHT_INDEX = 28, BIT_TWENTYNINE_INDEX = 29, BIT_THIRTY_INDEX = 30, BIT_THIRTYONE_INDEX = 31 } |
Provides a way to refer to specific bit positions in a register, assuming a zero-based big-endian index. More... | |
enum | BitMaskEnumType { BIT_ZERO_MASK = (1 << BIT_ZERO_INDEX), BIT_ONE_MASK = (1 << BIT_ONE_INDEX), BIT_TWO_MASK = (1 << BIT_TWO_INDEX), BIT_THREE_MASK = (1 << BIT_THREE_INDEX), BIT_FOUR_MASK = (1 << BIT_FOUR_INDEX), BIT_FIVE_MASK = (1 << BIT_FIVE_INDEX), BIT_SIX_MASK = (1 << BIT_SIX_INDEX), BIT_SEVEN_MASK = (1 << BIT_SEVEN_INDEX), BIT_EIGHT_MASK = (1 << BIT_EIGHT_INDEX), BIT_NINE_MASK = (1 << BIT_NINE_INDEX), BIT_TEN_MASK = (1 << BIT_TEN_INDEX), BIT_ELEVEN_MASK = (1 << BIT_ELEVEN_INDEX), BIT_TWELVE_MASK = (1 << BIT_TWELVE_INDEX), BIT_THIRTEEN_MASK = (1 << BIT_THIRTEEN_INDEX), BIT_FOURTEEN_MASK = (1 << BIT_FOURTEEN_INDEX), BIT_FIFTEEN_MASK = (1 << BIT_FIFTEEN_INDEX), BIT_SIXTEEN_MASK = (1 << BIT_SIXTEEN_INDEX), BIT_SEVENTEEN_MASK = (1 << BIT_SEVENTEEN_INDEX), BIT_EIGHTEEN_MASK = (1 << BIT_EIGHTEEN_INDEX), BIT_NINETEEN_MASK = (1 << BIT_NINETEEN_INDEX), BIT_TWENTY_MASK = (1 << BIT_TWENTY_INDEX), BIT_TWENTYONE_MASK = (1 << BIT_TWENTYONE_INDEX), BIT_TWENTYTWO_MASK = (1 << BIT_TWENTYTWO_INDEX), BIT_TWENTYTHREE_MASK = (1 << BIT_TWENTYTHREE_INDEX), BIT_TWENTYFOUR_MASK = (1 << BIT_TWENTYFOUR_INDEX), BIT_TWENTYFIVE_MASK = (1 << BIT_TWENTYFIVE_INDEX), BIT_TWENTYSIX_MASK = (1 << BIT_TWENTYSIX_INDEX), BIT_TWENTYSEVEN_MASK = (1 << BIT_TWENTYSEVEN_INDEX), BIT_TWENTYEIGHT_MASK = (1 << BIT_TWENTYEIGHT_INDEX), BIT_TWENTYNINE_MASK = (1 << BIT_TWENTYNINE_INDEX), BIT_THIRTY_MASK = (1 << BIT_THIRTY_INDEX), BIT_THIRTYONE_MASK = (1 << BIT_THIRTYONE_INDEX) } |
Provides a way to mask a specific bit in a register, assuming a zero-based big-endian index. More... |
A helper class for BitWizard users that provides useful values for register indexing, masking and sizing.
Provides a way to mask off a certain number of bits in a register.
Definition at line 88 of file BitWizard.h.
Provides a way to refer to specific bit positions in a register, assuming a zero-based big-endian index.
Definition at line 14 of file BitWizard.h.
Provides a way to mask a specific bit in a register, assuming a zero-based big-endian index.
Definition at line 51 of file BitWizard.h.