Searched refs:freq_hz (Results 1 – 13 of 13) sorted by relevance
/device/board/openvalley/niobeu4/liteos_m/hdf_drivers/pwm/ |
D | pwm_esp32u4.c | 44 int freq_hz; member 68 (resource)->freq_hz = HCS_PROP(node, freq_hz); \ 82 HDF_LOGD("freq_hz = %dHz", (resource)->freq_hz); \ 292 if (pwmDevice->ledc_timer_config.freq_hz != PERIOD2FREQUENCY(config->period)) { // 周期有频率变化 in PwmDevSetConfig() 293 pwmDevice->ledc_timer_config.freq_hz = PERIOD2FREQUENCY(config->period); in PwmDevSetConfig() 296 pwmDevice->ledc_timer_config.freq_hz, config->period); in PwmDevSetConfig()
|
/device/soc/esp/esp32/components/driver/ |
D | ledc.c | 271 …c_mode_t speed_mode, ledc_timer_t timer_num, ledc_clk_cfg_t clk_cfg, int freq_hz, int duty_resolut… in ledc_set_timer_div() argument 284 div_param = ( (uint64_t) s_ledc_slow_clk_8M << 8 ) / freq_hz / precision; in ledc_set_timer_div() 289 div_param = ( (uint64_t) LEDC_APB_CLK_HZ << 8 ) / freq_hz / precision; in ledc_set_timer_div() 293 div_param = ((uint64_t) LEDC_REF_CLK_HZ << 8) / freq_hz / precision; in ledc_set_timer_div() 302 div_param = ( (uint64_t) src_clk_freq << 8 ) / freq_hz / precision; in ledc_set_timer_div() 327 uint32_t freq_hz = timer_conf->freq_hz; in ledc_timer_config() local 334 if (freq_hz == 0 || duty_resolution == 0 || duty_resolution >= LEDC_TIMER_BIT_MAX) { in ledc_timer_config() 335 ESP_LOGE(LEDC_TAG, "freq_hz=%u duty_resolution=%u", freq_hz, duty_resolution); in ledc_timer_config() 351 return ledc_set_timer_div(speed_mode, timer_num, timer_conf->clk_cfg, freq_hz, duty_resolution); in ledc_timer_config() 525 esp_err_t ledc_set_freq(ledc_mode_t speed_mode, ledc_timer_t timer_num, uint32_t freq_hz) in ledc_set_freq() argument [all …]
|
/device/soc/winnermicro/wm800/board/src/bt/blehost/porting/w800/include/hal/ |
D | hal_timer.h | 87 int hal_timer_config(int timer_num, uint32_t freq_hz);
|
/device/soc/esp/esp32/components/esp_hw_support/port/esp32/ |
D | rtc_clk.c | 770 uint32_t freq_hz = reg_val_to_clk_val(READ_PERI_REG(RTC_APB_FREQ_REG)) << 12; in rtc_clk_apb_freq_get() local 772 freq_hz += MHZ / 2; in rtc_clk_apb_freq_get() 773 uint32_t remainder = freq_hz % MHZ; in rtc_clk_apb_freq_get() 774 return freq_hz - remainder; in rtc_clk_apb_freq_get()
|
/device/soc/esp/esp32/components/hal/include/hal/ |
D | ledc_types.h | 149 uint32_t freq_hz; /*!< LEDC timer frequency (Hz) */ member
|
/device/board/isoftstone/yangfan/kernel/src/incl/soc/ |
D | scpi.h | 19 u32 freq_hz; member
|
/device/soc/rockchip/common/sdk_linux/include/soc/rockchip/ |
D | scpi.h | 19 u32 freq_hz; member
|
/device/soc/rockchip/rk3588/kernel/include/soc/rockchip/ |
D | scpi.h | 19 u32 freq_hz; member
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/include/linux/amlogic/ |
D | scpi_protocol.h | 101 u32 freq_hz; member
|
/device/soc/amlogic/a311d/soc/include/linux/amlogic/ |
D | scpi_protocol.h | 98 u32 freq_hz; member
|
/device/soc/esp/esp32/components/driver/include/driver/ |
D | ledc.h | 116 esp_err_t ledc_set_freq(ledc_mode_t speed_mode, ledc_timer_t timer_num, uint32_t freq_hz);
|
/device/board/openvalley/niobeu4/liteos_m/hdf_config/ |
D | hdf.hcs | 75 freq_hz = 2000; // PWM周期频率(单位Hz)
|
/device/board/openvalley/niobeu4/liteos_m/hals/iot_hardware/wifiiot_lite/ |
D | hal_iot_pwm.c | 139 .freq_hz = freq, in IoTPwmStart()
|