ESPHome  2022.9.1
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)
 
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 166 of file remote_base.h.

Constructor & Destructor Documentation

◆ RemoteRMTChannel()

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

Definition at line 10 of file remote_base.cpp.

Member Function Documentation

◆ config_rmt()

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

Definition at line 16 of file remote_base.cpp.

◆ from_microseconds_()

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

Definition at line 174 of file remote_base.h.

◆ set_clock_divider()

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

Definition at line 171 of file remote_base.h.

◆ to_microseconds_()

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

Definition at line 178 of file remote_base.h.

Field Documentation

◆ channel_

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

Definition at line 183 of file remote_base.h.

◆ clock_divider_

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

Definition at line 185 of file remote_base.h.

◆ mem_block_num_

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

Definition at line 184 of file remote_base.h.

◆ remote_base_

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

Definition at line 182 of file remote_base.h.


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