Home
last modified time | relevance | path

Searched refs:hz (Results 1 – 12 of 12) sorted by relevance

/hal_espressif-latest/components/hal/esp32/include/hal/
Dspi_ll.h563 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
569 if (hz > ((fapb / 4) * 3)) { in spi_ll_master_cal_clock()
590 pre = ((fapb / n) + (hz / 2)) / hz; in spi_ll_master_cal_clock()
597 errval = abs(spi_ll_freq_for_pre_n(fapb, pre, n) - hz); 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, &reg_val); in spi_ll_master_set_clock()
/hal_espressif-latest/components/hal/esp32s3/include/hal/
Dspi_ll.h690 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
696 if (hz > ((fapb / 4) * 3)) { in spi_ll_master_cal_clock()
717 pre = ((fapb / n) + (hz / 2)) / hz; in spi_ll_master_cal_clock()
724 errval = abs(spi_ll_freq_for_pre_n(fapb, pre, n) - hz); 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, &reg_val); in spi_ll_master_set_clock()
/hal_espressif-latest/components/hal/esp32c6/include/hal/
Dspi_ll.h680 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
686 if (hz > ((fapb / 4) * 3)) { in spi_ll_master_cal_clock()
707 pre = ((fapb / n) + (hz / 2)) / hz; in spi_ll_master_cal_clock()
714 errval = abs(spi_ll_freq_for_pre_n(fapb, pre, n) - hz); 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, &reg_val); in spi_ll_master_set_clock()
/hal_espressif-latest/components/hal/esp32c2/include/hal/
Dspi_ll.h676 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
682 if (hz > ((fapb / 4) * 3)) { in spi_ll_master_cal_clock()
703 pre = ((fapb / n) + (hz / 2)) / hz; in spi_ll_master_cal_clock()
710 errval = abs(spi_ll_freq_for_pre_n(fapb, pre, n) - hz); 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, &reg_val); in spi_ll_master_set_clock()
/hal_espressif-latest/components/hal/esp32c3/include/hal/
Dspi_ll.h676 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
682 if (hz > ((fapb / 4) * 3)) { in spi_ll_master_cal_clock()
703 pre = ((fapb / n) + (hz / 2)) / hz; in spi_ll_master_cal_clock()
710 errval = abs(spi_ll_freq_for_pre_n(fapb, pre, n) - hz); 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, &reg_val); in spi_ll_master_set_clock()
/hal_espressif-latest/components/hal/esp32h2/include/hal/
Dspi_ll.h682 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
688 if (hz > ((fapb / 4) * 3)) { in spi_ll_master_cal_clock()
709 pre = ((fapb / n) + (hz / 2)) / hz; in spi_ll_master_cal_clock()
716 errval = abs(spi_ll_freq_for_pre_n(fapb, pre, n) - hz); 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, &reg_val); in spi_ll_master_set_clock()
/hal_espressif-latest/components/hal/
Dspi_hal.c117 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()
/hal_espressif-latest/components/hal/esp32s2/include/hal/
Dspi_ll.h638 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
644 if (hz > ((fapb / 4) * 3)) { in spi_ll_master_cal_clock()
665 pre = ((fapb / n) + (hz / 2)) / hz; in spi_ll_master_cal_clock()
672 errval = abs(spi_ll_freq_for_pre_n(fapb, pre, n) - hz); 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, &reg_val); in spi_ll_master_set_clock()
/hal_espressif-latest/components/hal/include/hal/
Dspi_hal.h242 int spi_hal_master_cal_clock(int fapb, int hz, int duty_cycle);
/hal_espressif-latest/components/driver/spi/include/driver/
Dspi_master.h365 int spi_get_actual_clock(int fapb, int hz, int duty_cycle) __attribute__((deprecated("Please use sp…
/hal_espressif-latest/components/driver/spi/gpspi/
Dspi_master.c533 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/mbedtls/esp_crt_bundle/
Dcacrt_all.pem2828 DQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMPN0/y9BFPdDCA61YguBUtB9YOCfvdZn56eY+hz