Skip to content

Struct hal::byte_mask

template <size_t ByteIndex>

ClassList > hal > byte_mask

Helper for generating byte position masks. More...

  • #include <bit.hpp>

Public Static Attributes

Type Name
constexpr hal::bit_mask value = { .position = ByteIndex, .width = 8 }
Mask value defined at compile time.

Detailed Description

Template parameters:

  • ByteIndex - the byte position to make a mask for

Public Static Attributes Documentation

variable value

constexpr hal::bit_mask hal::byte_mask< ByteIndex >::value;

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