Espressif Systems ESP32 Technical Reference Manual page 84

Hide thumbs Also See for ESP32:
Table of Contents

Advertisement

6.2 Functional Description
happens. Then, when the interrupt happens, the data that was already sent should be replaced with subsequent
events: when the wraparound happens the transmitter will seamlessly continue sending the new events.
With or without wraparound mode enabled, transmission ends when an entry with a length of 0 is encountered.
When this happens, the transmitter will generate a RMT_CHn_TX_END_INT interrupt, and return to the idle state.
When a transmitter is in the idle state users can configure
RMT_IDLE_OUT_LV_CHn
The output of the transmitter can be modulated using a carrier wave by setting RMT_CARRIER_EN_CHn. The
carrier frequency and duty cycle can be configured by configuring its high and low durations, in channel clock
cycles, in
RMT_CARRIER_HIGH_CHn
6.2.5 Receiver
When
RMT_RX_EN_CHn
input signal edges. These will be written as period/level value pairs to the channel RAM in the same fashion as
the transmitter sends them. Receiving ends when the receiver detects no change in signal level for more than
RMT_IDLE_THRES_CHn
RMT_CHn_RX_END_INT_RAW interrupt and return to the idle state.
The receiver has an input signal filter which can be configured using RMT_RX_FILTER_EN_CHn: The filter will
remove pulses with of length less than
When the RMT module is inactive, the RAM can be put into low-power mode by setting the RMT_MEM_PD
register to 1.
6.2.6 Interrupts
• RMT_CHn_TX_THR_EVENT_INT: Triggered when the number of events the transmitter has sent matches
the contents of the RMT_CHn_TX_LIM_REG register.
• RMT_CHn_TX_END_INT: Triggered when the transmitter has finished transmitting the signal.
• RMT_CHn_RX_END_INT: Triggered when the receiver has finished receiving a signal.
Espressif Systems
to control the transmitter output manually.
and RMT_CARRIER_HIGH_CHn.
is set to 1, the receiver in channel
channel clock ticks; the receiver will write a final entry with period 0, generate an
RMT_RX_FILTER_THRES_CHn
6 REMOTE CONTROLLER PERIPHERAL
RMT_IDLE_OUT_EN_CHn
n
becomes active, measuring the duration between
APB clock periods.
83
ESP32 Technical Reference Manual V1.0
and

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESP32 and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF