Home
last modified time | relevance | path

Searched refs:rmt_mem_num (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-3.4.0/components/driver/include/driver/
Drmt.h248 esp_err_t rmt_set_mem_block_num(rmt_channel_t channel, uint8_t rmt_mem_num);
260 esp_err_t rmt_get_mem_block_num(rmt_channel_t channel, uint8_t *rmt_mem_num);
/hal_espressif-3.4.0/components/driver/
Drmt.c189 esp_err_t rmt_set_mem_block_num(rmt_channel_t channel, uint8_t rmt_mem_num) in rmt_set_mem_block_num() argument
192 …ESP_RETURN_ON_FALSE(rmt_mem_num <= RMT_CHANNEL_MAX - channel, ESP_ERR_INVALID_ARG, TAG, RMT_MEM_CN… in rmt_set_mem_block_num()
195 rmt_ll_rx_set_mem_blocks(rmt_contex.hal.regs, RMT_DECODE_RX_CHANNEL(channel), rmt_mem_num); in rmt_set_mem_block_num()
197 rmt_ll_tx_set_mem_blocks(rmt_contex.hal.regs, channel, rmt_mem_num); in rmt_set_mem_block_num()
203 esp_err_t rmt_get_mem_block_num(rmt_channel_t channel, uint8_t *rmt_mem_num) in rmt_get_mem_block_num() argument
206 ESP_RETURN_ON_FALSE(rmt_mem_num, ESP_ERR_INVALID_ARG, TAG, RMT_ADDR_ERROR_STR); in rmt_get_mem_block_num()
209 …*rmt_mem_num = (uint8_t)rmt_ll_rx_get_mem_blocks(rmt_contex.hal.regs, RMT_DECODE_RX_CHANNEL(channe… in rmt_get_mem_block_num()
211 *rmt_mem_num = (uint8_t)rmt_ll_tx_get_mem_blocks(rmt_contex.hal.regs, channel); in rmt_get_mem_block_num()