Searched refs:rmt_contex (Results 1 – 1 of 1) sorted by relevance
49 #define RMT_ENTER_CRITICAL() portENTER_CRITICAL_SAFE(&(rmt_contex.rmt_spinlock))50 #define RMT_EXIT_CRITICAL() portEXIT_CRITICAL_SAFE(&(rmt_contex.rmt_spinlock))99 static rmt_contex_t rmt_contex = { variable124 if (rmt_contex.rmt_module_enabled == false) { in rmt_module_enable()127 rmt_contex.rmt_module_enabled = true; in rmt_module_enable()136 if (rmt_contex.rmt_module_enabled == true) { in rmt_module_disable()138 rmt_contex.rmt_module_enabled = false; in rmt_module_disable()148 … rmt_ll_rx_set_channel_clock_div(rmt_contex.hal.regs, RMT_DECODE_RX_CHANNEL(channel), div_cnt); in rmt_set_clk_div()150 rmt_ll_tx_set_channel_clock_div(rmt_contex.hal.regs, channel, div_cnt); in rmt_set_clk_div()162 …*div_cnt = (uint8_t)rmt_ll_rx_get_channel_clock_div(rmt_contex.hal.regs, RMT_DECODE_RX_CHANNEL(cha… in rmt_get_clk_div()[all …]