Home
last modified time | relevance | path

Searched refs:ratio (Results 1 – 15 of 15) sorted by relevance

/hal_espressif-3.4.0/examples/peripherals/rmt/ir_protocols/components/infrared_tools/src/
Dir_parser_rmt_nec.c202 float ratio = (float)counter_clk_hz / 1e6; in ir_parser_rmt_new_nec() local
203 nec_parser->leading_code_high_ticks = (uint32_t)(ratio * NEC_LEADING_CODE_HIGH_US); in ir_parser_rmt_new_nec()
204 nec_parser->leading_code_low_ticks = (uint32_t)(ratio * NEC_LEADING_CODE_LOW_US); in ir_parser_rmt_new_nec()
205 nec_parser->repeat_code_high_ticks = (uint32_t)(ratio * NEC_REPEAT_CODE_HIGH_US); in ir_parser_rmt_new_nec()
206 nec_parser->repeat_code_low_ticks = (uint32_t)(ratio * NEC_REPEAT_CODE_LOW_US); in ir_parser_rmt_new_nec()
207 nec_parser->payload_logic0_high_ticks = (uint32_t)(ratio * NEC_PAYLOAD_ZERO_HIGH_US); in ir_parser_rmt_new_nec()
208 nec_parser->payload_logic0_low_ticks = (uint32_t)(ratio * NEC_PAYLOAD_ZERO_LOW_US); in ir_parser_rmt_new_nec()
209 nec_parser->payload_logic1_high_ticks = (uint32_t)(ratio * NEC_PAYLOAD_ONE_HIGH_US); in ir_parser_rmt_new_nec()
210 nec_parser->payload_logic1_low_ticks = (uint32_t)(ratio * NEC_PAYLOAD_ONE_LOW_US); in ir_parser_rmt_new_nec()
211 nec_parser->margin_ticks = (uint32_t)(ratio * config->margin_us); in ir_parser_rmt_new_nec()
Dir_builder_rmt_nec.c183 float ratio = (float)counter_clk_hz / 1e6; in ir_builder_rmt_new_nec() local
184 nec_builder->leading_code_high_ticks = (uint32_t)(ratio * NEC_LEADING_CODE_HIGH_US); in ir_builder_rmt_new_nec()
185 nec_builder->leading_code_low_ticks = (uint32_t)(ratio * NEC_LEADING_CODE_LOW_US); in ir_builder_rmt_new_nec()
186 nec_builder->repeat_code_high_ticks = (uint32_t)(ratio * NEC_REPEAT_CODE_HIGH_US); in ir_builder_rmt_new_nec()
187 nec_builder->repeat_code_low_ticks = (uint32_t)(ratio * NEC_REPEAT_CODE_LOW_US); in ir_builder_rmt_new_nec()
188 nec_builder->payload_logic0_high_ticks = (uint32_t)(ratio * NEC_PAYLOAD_ZERO_HIGH_US); in ir_builder_rmt_new_nec()
189 nec_builder->payload_logic0_low_ticks = (uint32_t)(ratio * NEC_PAYLOAD_ZERO_LOW_US); in ir_builder_rmt_new_nec()
190 nec_builder->payload_logic1_high_ticks = (uint32_t)(ratio * NEC_PAYLOAD_ONE_HIGH_US); in ir_builder_rmt_new_nec()
191 nec_builder->payload_logic1_low_ticks = (uint32_t)(ratio * NEC_PAYLOAD_ONE_LOW_US); in ir_builder_rmt_new_nec()
192 nec_builder->ending_code_high_ticks = (uint32_t)(ratio * NEC_ENDING_CODE_HIGH_US); in ir_builder_rmt_new_nec()
Dir_parser_rmt_rc5.c156 float ratio = (float)counter_clk_hz / 1e6; in ir_parser_rmt_new_rc5() local
157 rc5_parser->pulse_duration_ticks = (uint32_t)(ratio * RC5_PULSE_DURATION_US); in ir_parser_rmt_new_rc5()
158 rc5_parser->margin_ticks = (uint32_t)(ratio * config->margin_us); in ir_parser_rmt_new_rc5()
Dir_builder_rmt_rc5.c176 float ratio = (float)counter_clk_hz / 1e6; in ir_builder_rmt_new_rc5() local
177 rc5_builder->pulse_duration_ticks = (uint32_t)(ratio * RC5_PULSE_DURATION_US); in ir_builder_rmt_new_rc5()
/hal_espressif-3.4.0/examples/common_components/led_strip/
Dled_strip_rmt_ws2812.c153 float ratio = (float)counter_clk_hz / 1e9; in led_strip_new_rmt_ws2812() local
154 ws2812_t0h_ticks = (uint32_t)(ratio * WS2812_T0H_NS); in led_strip_new_rmt_ws2812()
155 ws2812_t0l_ticks = (uint32_t)(ratio * WS2812_T0L_NS); in led_strip_new_rmt_ws2812()
156 ws2812_t1h_ticks = (uint32_t)(ratio * WS2812_T1H_NS); in led_strip_new_rmt_ws2812()
157 ws2812_t1l_ticks = (uint32_t)(ratio * WS2812_T1L_NS); in led_strip_new_rmt_ws2812()
/hal_espressif-3.4.0/components/esp_hw_support/port/esp32/
Drtc_time.c115 uint32_t ratio = (uint32_t)(ratio_64 & UINT32_MAX); in rtc_clk_cal_ratio() local
116 return ratio; in rtc_clk_cal_ratio()
/hal_espressif-3.4.0/components/esp_hw_support/port/esp32c3/
Drtc_time.c125 uint32_t ratio = (uint32_t)(ratio_64 & UINT32_MAX); in rtc_clk_cal_ratio() local
126 return ratio; in rtc_clk_cal_ratio()
/hal_espressif-3.4.0/components/esp_hw_support/port/esp32h2/
Drtc_time.c117 uint32_t ratio = (uint32_t)(ratio_64 & UINT32_MAX); in rtc_clk_cal_ratio() local
118 return ratio; in rtc_clk_cal_ratio()
/hal_espressif-3.4.0/components/esp_hw_support/port/esp32s3/
Drtc_time.c131 uint32_t ratio = (uint32_t)(ratio_64 & UINT32_MAX); in rtc_clk_cal_ratio() local
132 return ratio; in rtc_clk_cal_ratio()
/hal_espressif-3.4.0/components/esp_hw_support/port/esp32s2/
Drtc_time.c194 uint32_t ratio = (uint32_t)(ratio_64 & UINT32_MAX); in rtc_clk_cal_ratio() local
195 return ratio; in rtc_clk_cal_ratio()
/hal_espressif-3.4.0/tools/
Didf_size.py749 ratio = '' variable in get_summary.HeadLineDef
753 …def __init__(self, title: str, name: str, remain: str, ratio: str, total: str, warning_message: st…
756 self.ratio = ratio
761 …7} remain, {%s:.1%%} used)%s' % (self.title, self.name, self.remain, self.ratio, self.warning_mess…
777 …HeadLineDef('Used static DRAM', 'used_dram', remain='dram_remain', ratio='used_dram_ratio', total=…
784 …HeadLineDef('Used static IRAM', 'used_iram', remain='iram_remain', ratio='used_iram_ratio', total=…
789 …HeadLineDef('Used stat D/IRAM', 'used_diram', remain='diram_remain', ratio='used_diram_ratio', tot…
/hal_espressif-3.4.0/components/hal/esp32/include/hal/
Demac_ll.h496 static inline void emac_ll_set_priority_ratio(emac_dma_dev_t *dma_regs, uint32_t ratio) in emac_ll_set_priority_ratio() argument
498 dma_regs->dmabusmode.pri_ratio = ratio; in emac_ll_set_priority_ratio()
/hal_espressif-3.4.0/examples/peripherals/i2s/i2s_es8311/
DREADME.md15 - ADC: 100 dB signal to noise ratio, -93 dB THD+N
17 - DAC: 110 dB signal to noise ratio, -80 dB THD+N
/hal_espressif-3.4.0/docs/en/contribute/
Ddocumenting-code.rst14 * @param ratio this is oxygen to air ratio
/hal_espressif-3.4.0/tools/catch/
Dcatch.hpp9922 std::size_t ratio = total > 0 ? CATCH_CONFIG_CONSOLE_WIDTH * number/ total : 0; in makeRatio() local
9923 return ( ratio == 0 && number > 0 ) ? 1 : ratio; in makeRatio()