REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
Loading...
Searching...
No Matches
tblock.cpp File Reference
#include "teensy/tblock.h"
#include <bitset>
Include dependency graph for tblock.cpp:

Go to the source code of this file.

Functions

template<size_t NumBits>
constexpr auto bitset2array (const std::bitset< NumBits > &bits) -> std::array< uint8_t,(NumBits+7)/8 >
 

Function Documentation

◆ bitset2array()

template<size_t NumBits>
auto bitset2array ( const std::bitset< NumBits > & bits) -> std::array<uint8_t, (NumBits + 7) / 8>
constexpr

Definition at line 86 of file tblock.cpp.

Referenced by blocks::TBlockBackplaneHAL_V_1_0_X::write_muxes().