Searched refs:rmt_contex (Results 1 – 1 of 1) sorted by relevance
61 #define RMT_ENTER_CRITICAL() portENTER_CRITICAL_SAFE(&(rmt_contex.rmt_spinlock))62 #define RMT_EXIT_CRITICAL() portEXIT_CRITICAL_SAFE(&(rmt_contex.rmt_spinlock))109 static rmt_contex_t rmt_contex = { variable133 if (rmt_contex.rmt_module_enabled == false) { in rmt_module_enable()136 rmt_contex.rmt_module_enabled = true; in rmt_module_enable()145 if (rmt_contex.rmt_module_enabled == true) { in rmt_module_disable()147 rmt_contex.rmt_module_enabled = false; in rmt_module_disable()157 … rmt_ll_rx_set_counter_clock_div(rmt_contex.hal.regs, RMT_DECODE_RX_CHANNEL(channel), div_cnt); in rmt_set_clk_div()159 rmt_ll_tx_set_counter_clock_div(rmt_contex.hal.regs, channel, div_cnt); in rmt_set_clk_div()171 …*div_cnt = (uint8_t)rmt_ll_rx_get_counter_clock_div(rmt_contex.hal.regs, RMT_DECODE_RX_CHANNEL(cha… in rmt_get_clk_div()[all …]