ESPHome  2024.11.1
Public Member Functions | Protected Attributes
esphome::api::Proto32Bit Class Reference

#include <proto.h>

Public Member Functions

 Proto32Bit (uint32_t value)
 
uint32_t as_fixed32 () const
 
int32_t as_sfixed32 () const
 
float as_float () const
 

Protected Attributes

const uint32_t value_
 

Detailed Description

Definition at line 110 of file proto.h.

Constructor & Destructor Documentation

◆ Proto32Bit()

esphome::api::Proto32Bit::Proto32Bit ( uint32_t  value)
inlineexplicit

Definition at line 112 of file proto.h.

Member Function Documentation

◆ as_fixed32()

uint32_t esphome::api::Proto32Bit::as_fixed32 ( ) const
inline

Definition at line 113 of file proto.h.

◆ as_float()

float esphome::api::Proto32Bit::as_float ( ) const
inline

Definition at line 115 of file proto.h.

◆ as_sfixed32()

int32_t esphome::api::Proto32Bit::as_sfixed32 ( ) const
inline

Definition at line 114 of file proto.h.

Field Documentation

◆ value_

const uint32_t esphome::api::Proto32Bit::value_
protected

Definition at line 125 of file proto.h.


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