/hal_espressif-3.4.0/components/hal/esp32/include/hal/ |
D | spi_flash_ll.h | 395 static inline void spi_flash_ll_set_dummy(spi_dev_t *dev, uint32_t dummy_n) in spi_flash_ll_set_dummy() argument 397 dev->user.usr_dummy = dummy_n ? 1 : 0; in spi_flash_ll_set_dummy() 398 HAL_FORCE_MODIFY_U32_REG_FIELD(dev->user1, usr_dummy_cyclelen, dummy_n - 1); in spi_flash_ll_set_dummy()
|
D | spi_ll.h | 705 static inline void spi_ll_set_dummy(spi_dev_t *hw, int dummy_n) in spi_ll_set_dummy() argument 707 hw->user.usr_dummy = dummy_n ? 1 : 0; in spi_ll_set_dummy() 708 HAL_FORCE_MODIFY_U32_REG_FIELD(hw->user1, usr_dummy_cyclelen, dummy_n - 1); in spi_ll_set_dummy()
|
/hal_espressif-3.4.0/components/hal/esp32c3/include/hal/ |
D | gpspi_flash_ll.h | 365 static inline void gpspi_flash_ll_set_dummy(spi_dev_t *dev, uint32_t dummy_n) in gpspi_flash_ll_set_dummy() argument 367 dev->user.usr_dummy = dummy_n ? 1 : 0; in gpspi_flash_ll_set_dummy() 368 HAL_FORCE_MODIFY_U32_REG_FIELD(dev->user1, usr_dummy_cyclelen, dummy_n - 1); in gpspi_flash_ll_set_dummy()
|
D | spimem_flash_ll.h | 521 static inline void spimem_flash_ll_set_dummy(spi_mem_dev_t *dev, uint32_t dummy_n) in spimem_flash_ll_set_dummy() argument 523 dev->user.usr_dummy = dummy_n ? 1 : 0; in spimem_flash_ll_set_dummy() 524 dev->user1.usr_dummy_cyclelen = dummy_n - 1; in spimem_flash_ll_set_dummy()
|
D | spi_ll.h | 920 static inline void spi_ll_set_dummy(spi_dev_t *hw, int dummy_n) in spi_ll_set_dummy() argument 922 hw->user.usr_dummy = dummy_n ? 1 : 0; in spi_ll_set_dummy() 923 HAL_FORCE_MODIFY_U32_REG_FIELD(hw->user1, usr_dummy_cyclelen, dummy_n - 1); in spi_ll_set_dummy()
|
/hal_espressif-3.4.0/components/hal/esp32h2/include/hal/ |
D | gpspi_flash_ll.h | 365 static inline void gpspi_flash_ll_set_dummy(spi_dev_t *dev, uint32_t dummy_n) in gpspi_flash_ll_set_dummy() argument 367 dev->user.usr_dummy = dummy_n ? 1 : 0; in gpspi_flash_ll_set_dummy() 368 HAL_FORCE_MODIFY_U32_REG_FIELD(dev->user1, usr_dummy_cyclelen, dummy_n - 1); in gpspi_flash_ll_set_dummy()
|
D | spimem_flash_ll.h | 521 static inline void spimem_flash_ll_set_dummy(spi_mem_dev_t *dev, uint32_t dummy_n) in spimem_flash_ll_set_dummy() argument 523 dev->user.usr_dummy = dummy_n ? 1 : 0; in spimem_flash_ll_set_dummy() 524 dev->user1.usr_dummy_cyclelen = dummy_n - 1; in spimem_flash_ll_set_dummy()
|
D | spi_ll.h | 923 static inline void spi_ll_set_dummy(spi_dev_t *hw, int dummy_n) in spi_ll_set_dummy() argument 925 hw->user.usr_dummy = dummy_n ? 1 : 0; in spi_ll_set_dummy() 926 HAL_FORCE_MODIFY_U32_REG_FIELD(hw->user1, usr_dummy_cyclelen, dummy_n - 1); in spi_ll_set_dummy()
|
/hal_espressif-3.4.0/components/hal/esp32s2/include/hal/ |
D | gpspi_flash_ll.h | 359 static inline void gpspi_flash_ll_set_dummy(spi_dev_t *dev, uint32_t dummy_n) in gpspi_flash_ll_set_dummy() argument 361 dev->user.usr_dummy = dummy_n ? 1 : 0; in gpspi_flash_ll_set_dummy() 362 HAL_FORCE_MODIFY_U32_REG_FIELD(dev->user1, usr_dummy_cyclelen, dummy_n - 1); in gpspi_flash_ll_set_dummy()
|
D | spimem_flash_ll.h | 517 static inline void spimem_flash_ll_set_dummy(spi_mem_dev_t *dev, uint32_t dummy_n) in spimem_flash_ll_set_dummy() argument 519 dev->user.usr_dummy = dummy_n ? 1 : 0; in spimem_flash_ll_set_dummy() 520 HAL_FORCE_MODIFY_U32_REG_FIELD(dev->user1, usr_dummy_cyclelen, dummy_n - 1); in spimem_flash_ll_set_dummy()
|
D | spi_ll.h | 731 static inline void spi_ll_set_dummy(spi_dev_t *hw, int dummy_n) in spi_ll_set_dummy() argument 733 hw->user.usr_dummy = dummy_n ? 1 : 0; in spi_ll_set_dummy() 734 HAL_FORCE_MODIFY_U32_REG_FIELD(hw->user1, usr_dummy_cyclelen, dummy_n - 1); in spi_ll_set_dummy()
|
/hal_espressif-3.4.0/components/hal/esp32s3/include/hal/ |
D | gpspi_flash_ll.h | 371 static inline void gpspi_flash_ll_set_dummy(spi_dev_t *dev, uint32_t dummy_n) in gpspi_flash_ll_set_dummy() argument 373 dev->user.usr_dummy = dummy_n ? 1 : 0; in gpspi_flash_ll_set_dummy() 374 HAL_FORCE_MODIFY_U32_REG_FIELD(dev->user1, usr_dummy_cyclelen, dummy_n - 1) in gpspi_flash_ll_set_dummy()
|
D | spimem_flash_ll.h | 531 static inline void spimem_flash_ll_set_dummy(spi_mem_dev_t *dev, uint32_t dummy_n) in spimem_flash_ll_set_dummy() argument 533 dev->user.usr_dummy = dummy_n ? 1 : 0; in spimem_flash_ll_set_dummy() 534 dev->user1.usr_dummy_cyclelen = dummy_n - 1; in spimem_flash_ll_set_dummy()
|
D | spi_ll.h | 931 static inline void spi_ll_set_dummy(spi_dev_t *hw, int dummy_n) in spi_ll_set_dummy() argument 933 hw->user.usr_dummy = dummy_n ? 1 : 0; in spi_ll_set_dummy() 934 HAL_FORCE_MODIFY_U32_REG_FIELD(hw->user1, usr_dummy_cyclelen, dummy_n - 1); in spi_ll_set_dummy()
|
/hal_espressif-3.4.0/components/hal/ |
D | spi_hal.c | 119 void spi_hal_cal_timing(int eff_clk, bool gpio_is_used, int input_delay_ns, int *dummy_n, int *miso… in spi_hal_cal_timing() argument 145 *dummy_n = dummy_required; in spi_hal_cal_timing()
|
/hal_espressif-3.4.0/components/hal/include/hal/ |
D | spi_hal.h | 261 void spi_hal_cal_timing(int eff_clk, bool gpio_is_used, int input_delay_ns, int *dummy_n, int *miso…
|
/hal_espressif-3.4.0/components/driver/test/ |
D | test_spi_master.c | 945 void test_dummy(spi_device_handle_t spi, int dummy_n, uint8_t *data_to_send, int len) in test_dummy() argument 947 ESP_LOGI(TAG, "testing dummy n=%d", dummy_n); in test_dummy() 948 WORD_ALIGNED_ATTR uint8_t slave_buffer[len + (dummy_n + 7) / 8]; in test_dummy() 952 ….length = len * 8 + ((dummy_n + 7) & (~8)) + 32, //receive more bytes to avoid slave discarding da… in test_dummy() 964 .dummy_bits = dummy_n, in test_dummy() 973 int skip_cnt = dummy_n / 8; in test_dummy() 974 int dummy_remain = dummy_n % 8; in test_dummy()
|