Home
last modified time | relevance | path

Searched refs:out_id (Results 1 – 2 of 2) sorted by relevance

/device/soc/esp/esp32/components/spi_flash/
Desp_flash_api.c236 static esp_err_t IRAM_ATTR read_id_core(esp_flash_t* chip, uint32_t* out_id, bool sanity_check) in read_id_core() argument
256 err = read_id_func(read_id_arg, out_id); in read_id_core()
262 if (err == ESP_OK && (new_id != *out_id)) { in read_id_core()
272 esp_err_t esp_flash_read_chip_id(esp_flash_t* chip, uint32_t* out_id) in esp_flash_read_chip_id() argument
274 return read_id_core(chip, out_id, true); in esp_flash_read_chip_id()
278 esp_err_t esp_flash_read_id(esp_flash_t* chip, uint32_t* out_id) in esp_flash_read_id() argument
283 if (out_id == NULL) return ESP_ERR_INVALID_ARG; in esp_flash_read_id()
285 return read_id_core(chip, out_id, false); in esp_flash_read_id()
/device/soc/esp/esp32/components/spi_flash/include/
Desp_flash.h145 esp_err_t esp_flash_read_id(esp_flash_t *chip, uint32_t *out_id);