ESPHome  2024.12.2
Public Member Functions | Protected Member Functions | Protected Attributes
esphome::remote_base::RemoteRMTChannel Class Reference

#include <remote_base.h>

Public Member Functions

 RemoteRMTChannel (uint8_t mem_block_num=1)
 
 RemoteRMTChannel (rmt_channel_t channel, uint8_t mem_block_num=1)
 
void config_rmt (rmt_config_t &rmt)
 
void set_clock_divider (uint8_t clock_divider)
 

Protected Member Functions

uint32_t from_microseconds_ (uint32_t us)
 
uint32_t to_microseconds_ (uint32_t ticks)
 

Protected Attributes

RemoteComponentBaseremote_base_
 
rmt_channel_t channel_ {RMT_CHANNEL_0}
 
uint8_t mem_block_num_
 
uint8_t clock_divider_ {80}
 

Detailed Description

Definition at line 113 of file remote_base.h.

Constructor & Destructor Documentation

◆ RemoteRMTChannel() [1/2]

esphome::remote_base::RemoteRMTChannel::RemoteRMTChannel ( uint8_t  mem_block_num = 1)
explicit

Definition at line 12 of file remote_base.cpp.

◆ RemoteRMTChannel() [2/2]

esphome::remote_base::RemoteRMTChannel::RemoteRMTChannel ( rmt_channel_t  channel,
uint8_t  mem_block_num = 1 
)
explicit

Definition at line 18 of file remote_base.cpp.

Member Function Documentation

◆ config_rmt()

void esphome::remote_base::RemoteRMTChannel::config_rmt ( rmt_config_t &  rmt)

Definition at line 21 of file remote_base.cpp.

◆ from_microseconds_()

uint32_t esphome::remote_base::RemoteRMTChannel::from_microseconds_ ( uint32_t  us)
inlineprotected

Definition at line 122 of file remote_base.h.

◆ set_clock_divider()

void esphome::remote_base::RemoteRMTChannel::set_clock_divider ( uint8_t  clock_divider)
inline

Definition at line 119 of file remote_base.h.

◆ to_microseconds_()

uint32_t esphome::remote_base::RemoteRMTChannel::to_microseconds_ ( uint32_t  ticks)
inlineprotected

Definition at line 126 of file remote_base.h.

Field Documentation

◆ channel_

rmt_channel_t esphome::remote_base::RemoteRMTChannel::channel_ {RMT_CHANNEL_0}
protected

Definition at line 131 of file remote_base.h.

◆ clock_divider_

uint8_t esphome::remote_base::RemoteRMTChannel::clock_divider_ {80}
protected

Definition at line 133 of file remote_base.h.

◆ mem_block_num_

uint8_t esphome::remote_base::RemoteRMTChannel::mem_block_num_
protected

Definition at line 132 of file remote_base.h.

◆ remote_base_

RemoteComponentBase* esphome::remote_base::RemoteRMTChannel::remote_base_
protected

Definition at line 130 of file remote_base.h.


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