Skip to content

Struct hal::nibble_mask

template <size_t NibbleIndex>

ClassList > hal > nibble_mask

Helper for generating nibble position masks. More...

  • #include <bit.hpp>

Public Static Attributes

Type Name
constexpr hal::bit_mask value = { .position = NibbleIndex, .width = 4 }

Detailed Description

Template parameters:

  • NibbleIndex - the nibble position to make a mask for

Public Static Attributes Documentation

variable value

constexpr hal::bit_mask hal::nibble_mask< NibbleIndex >::value;

The documentation for this class was generated from the following file libraries/include/libhal-util/bit.hpp