/hal_espressif-latest/components/hal/ |
D | spi_hal.c | 91 …k(timing_param->clk_src_hz, timing_param->expected_freq, timing_param->duty_cycle, &temp_conf.cloc… in spi_hal_cal_clock_conf() 117 int spi_hal_master_cal_clock(int fapb, int hz, int duty_cycle) in spi_hal_master_cal_clock() argument 119 return spi_ll_master_cal_clock(fapb, hz, duty_cycle, NULL); in spi_hal_master_cal_clock()
|
D | ledc_hal_iram.c | 48 …d ledc_hal_set_duty_cycle(ledc_hal_context_t *hal, ledc_channel_t channel_num, uint32_t duty_cycle) in ledc_hal_set_duty_cycle() argument 50 ledc_ll_set_duty_cycle(hal->dev, hal->speed_mode, channel_num, duty_cycle); in ledc_hal_set_duty_cycle()
|
/hal_espressif-latest/components/hal/include/hal/ |
D | spi_hal.h | 43 uint32_t duty_cycle; ///< Expected duty cycle of SPI clock member 242 int spi_hal_master_cal_clock(int fapb, int hz, int duty_cycle);
|
D | ledc_hal.h | 328 … ledc_hal_set_duty_cycle(ledc_hal_context_t *hal, ledc_channel_t channel_num, uint32_t duty_cycle);
|
/hal_espressif-latest/components/hal/esp32s3/include/hal/ |
D | ledc_ll.h | 376 …duty_cycle(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channel_num, uint32_t duty_cycle) in ledc_ll_set_duty_cycle() argument 378 hw->channel_group[speed_mode].channel[channel_num].conf1.duty_cycle = duty_cycle; in ledc_ll_set_duty_cycle()
|
D | spi_ll.h | 690 static inline int spi_ll_master_cal_clock(int fapb, int hz, int duty_cycle, spi_ll_clock_val_t *out… in spi_ll_master_cal_clock() argument 736 h = (duty_cycle * n + 127) / 256; in spi_ll_master_cal_clock() 769 static inline int spi_ll_master_set_clock(spi_dev_t *hw, int fapb, int hz, int duty_cycle) in spi_ll_master_set_clock() argument 772 int freq = spi_ll_master_cal_clock(fapb, hz, duty_cycle, ®_val); in spi_ll_master_set_clock()
|
/hal_espressif-latest/components/hal/esp32/include/hal/ |
D | ledc_ll.h | 373 …duty_cycle(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channel_num, uint32_t duty_cycle) in ledc_ll_set_duty_cycle() argument 375 hw->channel_group[speed_mode].channel[channel_num].conf1.duty_cycle = duty_cycle; in ledc_ll_set_duty_cycle()
|
D | spi_ll.h | 563 static inline int spi_ll_master_cal_clock(int fapb, int hz, int duty_cycle, spi_ll_clock_val_t *out… in spi_ll_master_cal_clock() argument 609 h = (duty_cycle * n + 127) / 256; in spi_ll_master_cal_clock() 642 static inline int spi_ll_master_set_clock(spi_dev_t *hw, int fapb, int hz, int duty_cycle) in spi_ll_master_set_clock() argument 645 int freq = spi_ll_master_cal_clock(fapb, hz, duty_cycle, ®_val); in spi_ll_master_set_clock()
|
/hal_espressif-latest/components/hal/esp32c2/include/hal/ |
D | ledc_ll.h | 375 …duty_cycle(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channel_num, uint32_t duty_cycle) in ledc_ll_set_duty_cycle() argument 377 hw->channel_group[speed_mode].channel[channel_num].conf1.duty_cycle = duty_cycle; in ledc_ll_set_duty_cycle()
|
D | spi_ll.h | 676 static inline int spi_ll_master_cal_clock(int fapb, int hz, int duty_cycle, spi_ll_clock_val_t *out… in spi_ll_master_cal_clock() argument 722 h = (duty_cycle * n + 127) / 256; in spi_ll_master_cal_clock() 755 static inline int spi_ll_master_set_clock(spi_dev_t *hw, int fapb, int hz, int duty_cycle) in spi_ll_master_set_clock() argument 758 int freq = spi_ll_master_cal_clock(fapb, hz, duty_cycle, ®_val); in spi_ll_master_set_clock()
|
/hal_espressif-latest/components/hal/esp32c3/include/hal/ |
D | ledc_ll.h | 375 …duty_cycle(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channel_num, uint32_t duty_cycle) in ledc_ll_set_duty_cycle() argument 377 hw->channel_group[speed_mode].channel[channel_num].conf1.duty_cycle = duty_cycle; in ledc_ll_set_duty_cycle()
|
D | spi_ll.h | 676 static inline int spi_ll_master_cal_clock(int fapb, int hz, int duty_cycle, spi_ll_clock_val_t *out… in spi_ll_master_cal_clock() argument 722 h = (duty_cycle * n + 127) / 256; in spi_ll_master_cal_clock() 755 static inline int spi_ll_master_set_clock(spi_dev_t *hw, int fapb, int hz, int duty_cycle) in spi_ll_master_set_clock() argument 758 int freq = spi_ll_master_cal_clock(fapb, hz, duty_cycle, ®_val); in spi_ll_master_set_clock()
|
/hal_espressif-latest/components/hal/esp32s2/include/hal/ |
D | ledc_ll.h | 390 …duty_cycle(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channel_num, uint32_t duty_cycle) in ledc_ll_set_duty_cycle() argument 392 hw->channel_group[speed_mode].channel[channel_num].conf1.duty_cycle = duty_cycle; in ledc_ll_set_duty_cycle()
|
D | spi_ll.h | 638 static inline int spi_ll_master_cal_clock(int fapb, int hz, int duty_cycle, spi_ll_clock_val_t *out… in spi_ll_master_cal_clock() argument 684 h = (duty_cycle * n + 127) / 256; in spi_ll_master_cal_clock() 717 static inline int spi_ll_master_set_clock(spi_dev_t *hw, int fapb, int hz, int duty_cycle) in spi_ll_master_set_clock() argument 720 int freq = spi_ll_master_cal_clock(fapb, hz, duty_cycle, ®_val); in spi_ll_master_set_clock()
|
/hal_espressif-latest/components/driver/spi/gpspi/ |
D | spi_master.c | 398 int duty_cycle = (dev_config->duty_cycle_pos == 0) ? 128 : dev_config->duty_cycle_pos; in spi_bus_add_device() local 405 .duty_cycle = duty_cycle, in spi_bus_add_device() 440 dev->cfg.duty_cycle_pos = duty_cycle; in spi_bus_add_device() 533 int spi_get_actual_clock(int fapb, int hz, int duty_cycle) in spi_get_actual_clock() argument 535 return spi_hal_master_cal_clock(fapb, hz, duty_cycle); in spi_get_actual_clock()
|
/hal_espressif-latest/components/driver/spi/include/driver/ |
D | spi_master.h | 365 int spi_get_actual_clock(int fapb, int hz, int duty_cycle) __attribute__((deprecated("Please use sp…
|
/hal_espressif-latest/components/hal/esp32c6/include/hal/ |
D | spi_ll.h | 680 static inline int spi_ll_master_cal_clock(int fapb, int hz, int duty_cycle, spi_ll_clock_val_t *out… in spi_ll_master_cal_clock() argument 726 h = (duty_cycle * n + 127) / 256; in spi_ll_master_cal_clock() 759 static inline int spi_ll_master_set_clock(spi_dev_t *hw, int fapb, int hz, int duty_cycle) in spi_ll_master_set_clock() argument 762 int freq = spi_ll_master_cal_clock(fapb, hz, duty_cycle, ®_val); in spi_ll_master_set_clock()
|
D | ledc_ll.h | 396 …duty_cycle(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channel_num, uint32_t duty_cycle) in ledc_ll_set_duty_cycle() argument 398 hw->channel_gamma_group[speed_mode].channel[channel_num].wr.gamma_duty_cycle = duty_cycle; in ledc_ll_set_duty_cycle()
|
/hal_espressif-latest/components/hal/esp32h2/include/hal/ |
D | spi_ll.h | 682 static inline int spi_ll_master_cal_clock(int fapb, int hz, int duty_cycle, spi_ll_clock_val_t *out… in spi_ll_master_cal_clock() argument 728 h = (duty_cycle * n + 127) / 256; in spi_ll_master_cal_clock() 761 static inline int spi_ll_master_set_clock(spi_dev_t *hw, int fapb, int hz, int duty_cycle) in spi_ll_master_set_clock() argument 764 int freq = spi_ll_master_cal_clock(fapb, hz, duty_cycle, ®_val); in spi_ll_master_set_clock()
|
D | ledc_ll.h | 377 …duty_cycle(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channel_num, uint32_t duty_cycle) in ledc_ll_set_duty_cycle() argument 379 hw->channel_gamma_group[speed_mode].channel[channel_num].wr.gamma_duty_cycle = duty_cycle; in ledc_ll_set_duty_cycle()
|
/hal_espressif-latest/components/soc/esp32c3/include/soc/ |
D | ledc_struct.h | 46 uint32_t duty_cycle: 10; member
|
/hal_espressif-latest/components/soc/esp32s3/include/soc/ |
D | ledc_struct.h | 57 uint32_t duty_cycle: 10; member
|
/hal_espressif-latest/components/soc/esp32c2/include/soc/ |
D | ledc_struct.h | 73 uint32_t duty_cycle:10; member
|
/hal_espressif-latest/components/soc/esp32s2/include/soc/ |
D | ledc_struct.h | 48 uint32_t duty_cycle: 10; member
|
/hal_espressif-latest/components/soc/esp32/include/soc/ |
D | ledc_struct.h | 54 …uint32_t duty_cycle:10; /*This register is used to increase or decrease the duty ever… member
|