From 1286b543da801eb6f61b574ef62623e194cca2d0 Mon Sep 17 00:00:00 2001 From: Ihor Nehrutsa Date: Wed, 27 Nov 2024 11:10:18 +0300 Subject: [PATCH] Update gpio_hal.h --- components/hal/include/hal/gpio_hal.h | 46 --------------------------- 1 file changed, 46 deletions(-) diff --git a/components/hal/include/hal/gpio_hal.h b/components/hal/include/hal/gpio_hal.h index b052a4dd0c2f..6954fb8990fd 100644 --- a/components/hal/include/hal/gpio_hal.h +++ b/components/hal/include/hal/gpio_hal.h @@ -52,52 +52,6 @@ typedef struct { #define gpio_hal_get_io_config(hal, gpio_num, pu, pd, ie, oe, od, drv, fun_sel, sig_out, slp_sel) \ gpio_ll_get_io_config((hal)->dev, gpio_num, pu, pd, ie, oe, od, drv, fun_sel, sig_out, slp_sel) - -/** - * @brief Return pull-up status on GPIO. - * - * @param hal Context of the HAL layer - * @param gpio_num GPIO number - * @return if GPIO gpio_num`s FUN_PU is true - */ -#define gpio_hal_pullup_is_enabled(hal, gpio_num) gpio_ll_pullup_is_enabled((hal)->dev, gpio_num) - -/** - * @brief Return pull-down status on GPIO. - * - * @param hal Context of the HAL layer - * @param gpio_num GPIO number - * @return if GPIO gpio_num`s FUN_PD is true - */ -#define gpio_hal_pulldown_is_enabled(hal, gpio_num) gpio_ll_pulldown_is_enabled((hal)->dev, gpio_num) - -/** - * @brief Return slp-sel status on GPIO. - * - * @param hal Context of the HAL layer - * @param gpio_num GPIO number - * @return if GPIO gpio_num`s SLP_SEL is true - */ -#define gpio_hal_sleep_sel_is_enabled(hal, gpio_num) gpio_ll_sleep_sel_is_enabled((hal)->dev, gpio_num) - -/** - * @brief Return slp-pull-up status on GPIO. - * - * @param hal Context of the HAL layer - * @param gpio_num GPIO number - * @return if GPIO gpio_num`s SLP_PU is true - */ -#define gpio_hal_sleep_pullup_is_enabled(hal, gpio_num) gpio_ll_sleep_pullup_is_enabled((hal)->dev, gpio_num) - -/** - * @brief Return slp-pull-down status on GPIO. - * - * @param hal Context of the HAL layer - * @param gpio_num GPIO number - * @return if GPIO gpio_num`s SLP_PD is true - */ -#define gpio_hal_sleep_pulldown_is_enabled(hal, gpio_num) gpio_ll_sleep_pulldown_is_enabled((hal)->dev, gpio_num) - /** * @brief Enable pull-up on GPIO. *