spi_eeprom_init() function
Initialize the hardware.
Arguments
config
Configuration of the EEPROM
out_handle
Output context of EEPROM communication.
Return value
- ESP_OK: on success - ESP_ERR_INVALID_ARG: If the configuration in the context is incorrect. - ESP_ERR_NO_MEM: if semaphore create failed. - or other return value from `spi_bus_add_device()` or `gpio_isr_handler_add()`.