Public Types | List of all members
uavcan::BitLenToByteLen< BitLen > Struct Template Reference

#include <type_util.hpp>

Public Types

enum  { Result = (BitLen + 7) / 8 }
 

Detailed Description

template<unsigned long BitLen>
struct uavcan::BitLenToByteLen< BitLen >

Compile-time: Returns the number of bytes needed to contain the given number of bits. Assumes 1 byte == 8 bit.

Definition at line 42 of file type_util.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<unsigned long BitLen>
anonymous enum
Enumerator
Result 

Definition at line 44 of file type_util.hpp.


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


uavcan_communicator
Author(s):
autogenerated on Fri Dec 13 2024 03:10:04