Struct esp32s3_hal::pac::rmt::ch_tx_conf0::R
pub struct R(_);
Expand description
Register CH%s_TX_CONF0
reader
Implementations§
§impl R
impl R
pub fn tx_conti_mode(&self) -> BitReaderRaw<bool>
pub fn tx_conti_mode(&self) -> BitReaderRaw<bool>
Bit 3 - Set this bit to restart transmission from the first data to the last data in CHANNEL%s.
pub fn mem_tx_wrap_en(&self) -> BitReaderRaw<bool>
pub fn mem_tx_wrap_en(&self) -> BitReaderRaw<bool>
Bit 4 - This is the channel %s enable bit for wraparound mode: it will resume sending at the start when the data to be sent is more than its memory size.
pub fn idle_out_lv(&self) -> BitReaderRaw<bool>
pub fn idle_out_lv(&self) -> BitReaderRaw<bool>
Bit 5 - This bit configures the level of output signal in CHANNEL%s when the latter is in IDLE state.
pub fn idle_out_en(&self) -> BitReaderRaw<bool>
pub fn idle_out_en(&self) -> BitReaderRaw<bool>
Bit 6 - This is the output enable-control bit for CHANNEL%s in IDLE state.
pub fn tx_stop(&self) -> BitReaderRaw<bool>
pub fn tx_stop(&self) -> BitReaderRaw<bool>
Bit 7 - Set this bit to stop the transmitter of CHANNEL%s sending data out.
pub fn div_cnt(&self) -> FieldReaderRaw<u8, u8>
pub fn div_cnt(&self) -> FieldReaderRaw<u8, u8>
Bits 8:15 - This register is used to configure the divider for clock of CHANNEL%s.
pub fn mem_size(&self) -> FieldReaderRaw<u8, u8>
pub fn mem_size(&self) -> FieldReaderRaw<u8, u8>
Bits 16:19 - This register is used to configure the maximum size of memory allocated to CHANNEL%s.
pub fn carrier_eff_en(&self) -> BitReaderRaw<bool>
pub fn carrier_eff_en(&self) -> BitReaderRaw<bool>
Bit 20 - 1: Add carrier modulation on the output signal only at the send data state for CHANNEL%s. 0: Add carrier modulation on the output signal at all state for CHANNEL%s. Only valid when RMT_CARRIER_EN_CH%s is 1.
pub fn carrier_en(&self) -> BitReaderRaw<bool>
pub fn carrier_en(&self) -> BitReaderRaw<bool>
Bit 21 - This is the carrier modulation enable-control bit for CHANNEL%s. 1: Add carrier modulation in the output signal. 0: No carrier modulation in sig_out.
pub fn carrier_out_lv(&self) -> BitReaderRaw<bool>
pub fn carrier_out_lv(&self) -> BitReaderRaw<bool>
Bit 22 - This bit is used to configure the position of carrier wave for CHANNEL%s. 1’h0: add carrier wave on low level. 1’h1: add carrier wave on high level.
Methods from Deref<Target = R<CH_TX_CONF0_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.