rmt_apply_carrier() function
Apply modulation feature for TX channel or demodulation feature for RX channel
Arguments
channel
RMT generic channel that created by `rmt_new_tx_channel()` or `rmt_new_rx_channel()`
config
Carrier configuration. Specially, a NULL config means to disable the carrier modulation or demodulation feature
Return value
- ESP_OK: Apply carrier configuration successfully - ESP_ERR_INVALID_ARG: Apply carrier configuration failed because of invalid argument - ESP_FAIL: Apply carrier configuration failed because of other error
Examples
rmt_apply_carrier() is referenced by 1 libraries and example projects: