ESPHome  2024.10.2
Data Structures | Namespaces | Typedefs | Functions | Variables
datatypes.h File Reference

Go to the source code of this file.

Data Structures

class  esphome::internal::BigEndianLayout< T >
 Wrapper class for memory using big endian data layout, transparently converting it to native order. More...
 
class  esphome::internal::LittleEndianLayout< T >
 Wrapper class for memory using big endian data layout, transparently converting it to native order. More...
 
struct  esphome::uint24_t
 24-bit unsigned integer type, transparently converting to 32-bit. More...
 
struct  esphome::int24_t
 24-bit signed integer type, transparently converting to 32-bit. More...
 

Namespaces

 esphome
 Implementation of SPI Controller mode.
 
 esphome::internal
 

Typedefs

using esphome::uint64_be_t = internal::BigEndianLayout< uint64_t >
 
using esphome::uint32_be_t = internal::BigEndianLayout< uint32_t >
 
using esphome::uint24_be_t = internal::BigEndianLayout< uint24_t >
 
using esphome::uint16_be_t = internal::BigEndianLayout< uint16_t >
 
using esphome::int64_be_t = internal::BigEndianLayout< int64_t >
 
using esphome::int32_be_t = internal::BigEndianLayout< int32_t >
 
using esphome::int24_be_t = internal::BigEndianLayout< int24_t >
 
using esphome::int16_be_t = internal::BigEndianLayout< int16_t >
 
using esphome::uint64_le_t = internal::LittleEndianLayout< uint64_t >
 
using esphome::uint32_le_t = internal::LittleEndianLayout< uint32_t >
 
using esphome::uint24_le_t = internal::LittleEndianLayout< uint24_t >
 
using esphome::uint16_le_t = internal::LittleEndianLayout< uint16_t >
 
using esphome::int64_le_t = internal::LittleEndianLayout< int64_t >
 
using esphome::int32_le_t = internal::LittleEndianLayout< int32_t >
 
using esphome::int24_le_t = internal::LittleEndianLayout< int24_t >
 
using esphome::int16_le_t = internal::LittleEndianLayout< int16_t >
 

Functions

template<typename T >
class esphome::internal::BigEndianLayout esphome::internal::__attribute__ ((packed))
 
constexpr14 operator T ()
 
template<typename T >
class esphome::internal::LittleEndianLayout esphome::internal::__attribute__ ((packed))
 
struct esphome::uint24_t esphome::__attribute__ ((packed))
 
 operator uint32_t ()
 
 operator int32_t ()
 

Variables

uint32_t val
 

Function Documentation

◆ operator int32_t()

__attribute__::operator int32_t ( )

Definition at line 132 of file datatypes.h.

◆ operator T()

constexpr14 operator T ( )

Definition at line 133 of file datatypes.h.

◆ operator uint32_t()

__attribute__::operator uint32_t ( )

Definition at line 132 of file datatypes.h.

Variable Documentation

◆ val

int32_t val

Definition at line 133 of file datatypes.h.