feat: added deinit

This commit is contained in:
2025-12-21 09:10:43 +03:00
parent d2b5dd7120
commit 364622ff58
3 changed files with 47 additions and 1 deletions

View File

@@ -112,6 +112,15 @@ extern "C"
*/
esp_err_t zh_pcf8574_init(const zh_pcf8574_init_config_t *config, zh_pcf8574_handle_t *handle);
/**
* @brief Deinitialize PCF8574 expander.
*
* @param[in] handle Pointer to unique PCF8574 handle.
*
* @return ESP_OK if success or an error code otherwise.
*/
esp_err_t zh_pcf8574_deinit(zh_pcf8574_handle_t *handle);
/**
* @brief Read PCF8574 all GPIO's status.
*