feat: added deinit

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

No files matched your search

+9
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.
*