Searched refs:rmt_contex (Results 1 – 1 of 1) sorted by relevance
50 #define RMT_ENTER_CRITICAL() portENTER_CRITICAL_SAFE(&(rmt_contex.rmt_spinlock))51 #define RMT_EXIT_CRITICAL() portEXIT_CRITICAL_SAFE(&(rmt_contex.rmt_spinlock))100 static rmt_contex_t rmt_contex = { variable127 if (rmt_contex.rmt_module_enabled == false) { in rmt_module_enable()130 rmt_contex.rmt_module_enabled = true; in rmt_module_enable()139 if (rmt_contex.rmt_module_enabled == true) { in rmt_module_disable()141 rmt_contex.rmt_module_enabled = false; in rmt_module_disable()151 … rmt_ll_rx_set_channel_clock_div(rmt_contex.hal.regs, RMT_DECODE_RX_CHANNEL(channel), div_cnt); in rmt_set_clk_div()153 rmt_ll_tx_set_channel_clock_div(rmt_contex.hal.regs, channel, div_cnt); in rmt_set_clk_div()165 …*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 …]