M5Utility 0.0.8 git rev:f3e2efe
Loading...
Searching...
No Matches
misc.hpp File Reference

Miscellaneous features. More...

#include <cstdint>
#include <type_traits>

Go to the source code of this file.

Classes

class  m5::utility::uint_least_for_bits< N >
 Gets the smallest unsigned integer type that can store N bit. More...
 

Namespaces

namespace  m5
 Top level namespace of M5.
 

Functions

bool m5::utility::isValidI2CAddress (const uint16_t addr)
 Valid I2C address?
 
uint8_t m5::utility::reverseBitOrder (const uint8_t u8)
 Reversing the bit order.
 
uint16_t m5::utility::reverseBitOrder (const uint16_t u16)
 Reversing the bit order.
 

Detailed Description

Miscellaneous features.