@@ -948,53 +948,53 @@ extern "C" {
948948#if defined (CY_USING_HAL )
949949 #define CYBSP_BT_REG_ON_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_OPENDRAINDRIVESHIGH
950950#endif //defined (CY_USING_HAL)
951- #define CYBSP_BT_HOST_WAKE_ENABLED 1U
952- #define CYBSP_BT_HOST_WAKE_PORT GPIO_PRT3
953- #define CYBSP_BT_HOST_WAKE_PORT_NUM 3U
954- #define CYBSP_BT_HOST_WAKE_PIN 5U
955- #define CYBSP_BT_HOST_WAKE_NUM 5U
956- #define CYBSP_BT_HOST_WAKE_DRIVEMODE CY_GPIO_DM_HIGHZ
957- #define CYBSP_BT_HOST_WAKE_INIT_DRIVESTATE 0
951+ #define CYBSP_BT_DEVICE_WAKE_ENABLED 1U
952+ #define CYBSP_BT_DEVICE_WAKE_PORT GPIO_PRT3
953+ #define CYBSP_BT_DEVICE_WAKE_PORT_NUM 3U
954+ #define CYBSP_BT_DEVICE_WAKE_PIN 5U
955+ #define CYBSP_BT_DEVICE_WAKE_NUM 5U
956+ #define CYBSP_BT_DEVICE_WAKE_DRIVEMODE CY_GPIO_DM_STRONG_IN_OFF
957+ #define CYBSP_BT_DEVICE_WAKE_INIT_DRIVESTATE 0
958958#ifndef ioss_0_port_3_pin_5_HSIOM
959959 #define ioss_0_port_3_pin_5_HSIOM HSIOM_SEL_GPIO
960960#endif
961- #define CYBSP_BT_HOST_WAKE_HSIOM ioss_0_port_3_pin_5_HSIOM
962- #define CYBSP_BT_HOST_WAKE_IRQ ioss_interrupts_gpio_3_IRQn
961+ #define CYBSP_BT_DEVICE_WAKE_HSIOM ioss_0_port_3_pin_5_HSIOM
962+ #define CYBSP_BT_DEVICE_WAKE_IRQ ioss_interrupts_gpio_3_IRQn
963963#if defined (CY_USING_HAL )
964- #define CYBSP_BT_HOST_WAKE_HAL_PORT_PIN P3_5
964+ #define CYBSP_BT_DEVICE_WAKE_HAL_PORT_PIN P3_5
965965#endif //defined (CY_USING_HAL)
966966#if defined (CY_USING_HAL )
967- #define CYBSP_BT_HOST_WAKE_HAL_IRQ CYHAL_GPIO_IRQ_NONE
967+ #define CYBSP_BT_DEVICE_WAKE_HAL_IRQ CYHAL_GPIO_IRQ_NONE
968968#endif //defined (CY_USING_HAL)
969969#if defined (CY_USING_HAL )
970- #define CYBSP_BT_HOST_WAKE_HAL_DIR CYHAL_GPIO_DIR_INPUT
970+ #define CYBSP_BT_DEVICE_WAKE_HAL_DIR CYHAL_GPIO_DIR_OUTPUT
971971#endif //defined (CY_USING_HAL)
972972#if defined (CY_USING_HAL )
973- #define CYBSP_BT_HOST_WAKE_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_NONE
973+ #define CYBSP_BT_DEVICE_WAKE_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_STRONG
974974#endif //defined (CY_USING_HAL)
975- #define CYBSP_BT_DEVICE_WAKE_ENABLED 1U
976- #define CYBSP_BT_DEVICE_WAKE_PORT GPIO_PRT4
977- #define CYBSP_BT_DEVICE_WAKE_PORT_NUM 4U
978- #define CYBSP_BT_DEVICE_WAKE_PIN 0U
979- #define CYBSP_BT_DEVICE_WAKE_NUM 0U
980- #define CYBSP_BT_DEVICE_WAKE_DRIVEMODE CY_GPIO_DM_STRONG_IN_OFF
981- #define CYBSP_BT_DEVICE_WAKE_INIT_DRIVESTATE 0
975+ #define CYBSP_BT_HOST_WAKE_ENABLED 1U
976+ #define CYBSP_BT_HOST_WAKE_PORT GPIO_PRT4
977+ #define CYBSP_BT_HOST_WAKE_PORT_NUM 4U
978+ #define CYBSP_BT_HOST_WAKE_PIN 0U
979+ #define CYBSP_BT_HOST_WAKE_NUM 0U
980+ #define CYBSP_BT_HOST_WAKE_DRIVEMODE CY_GPIO_DM_HIGHZ
981+ #define CYBSP_BT_HOST_WAKE_INIT_DRIVESTATE 0
982982#ifndef ioss_0_port_4_pin_0_HSIOM
983983 #define ioss_0_port_4_pin_0_HSIOM HSIOM_SEL_GPIO
984984#endif
985- #define CYBSP_BT_DEVICE_WAKE_HSIOM ioss_0_port_4_pin_0_HSIOM
986- #define CYBSP_BT_DEVICE_WAKE_IRQ ioss_interrupts_gpio_4_IRQn
985+ #define CYBSP_BT_HOST_WAKE_HSIOM ioss_0_port_4_pin_0_HSIOM
986+ #define CYBSP_BT_HOST_WAKE_IRQ ioss_interrupts_gpio_4_IRQn
987987#if defined (CY_USING_HAL )
988- #define CYBSP_BT_DEVICE_WAKE_HAL_PORT_PIN P4_0
988+ #define CYBSP_BT_HOST_WAKE_HAL_PORT_PIN P4_0
989989#endif //defined (CY_USING_HAL)
990990#if defined (CY_USING_HAL )
991- #define CYBSP_BT_DEVICE_WAKE_HAL_IRQ CYHAL_GPIO_IRQ_NONE
991+ #define CYBSP_BT_HOST_WAKE_HAL_IRQ CYHAL_GPIO_IRQ_NONE
992992#endif //defined (CY_USING_HAL)
993993#if defined (CY_USING_HAL )
994- #define CYBSP_BT_DEVICE_WAKE_HAL_DIR CYHAL_GPIO_DIR_OUTPUT
994+ #define CYBSP_BT_HOST_WAKE_HAL_DIR CYHAL_GPIO_DIR_INPUT
995995#endif //defined (CY_USING_HAL)
996996#if defined (CY_USING_HAL )
997- #define CYBSP_BT_DEVICE_WAKE_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_STRONG
997+ #define CYBSP_BT_HOST_WAKE_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_NONE
998998#endif //defined (CY_USING_HAL)
999999#define CYBSP_BT_RST_ENABLED 1U
10001000#define CYBSP_BT_RST_PORT GPIO_PRT4
@@ -1653,14 +1653,14 @@ extern const cy_stc_gpio_pin_config_t CYBSP_BT_REG_ON_config;
16531653#if defined (CY_USING_HAL )
16541654 extern const cyhal_resource_inst_t CYBSP_BT_REG_ON_obj ;
16551655#endif //defined (CY_USING_HAL)
1656- extern const cy_stc_gpio_pin_config_t CYBSP_BT_HOST_WAKE_config ;
1657- #if defined (CY_USING_HAL )
1658- extern const cyhal_resource_inst_t CYBSP_BT_HOST_WAKE_obj ;
1659- #endif //defined (CY_USING_HAL)
16601656extern const cy_stc_gpio_pin_config_t CYBSP_BT_DEVICE_WAKE_config ;
16611657#if defined (CY_USING_HAL )
16621658 extern const cyhal_resource_inst_t CYBSP_BT_DEVICE_WAKE_obj ;
16631659#endif //defined (CY_USING_HAL)
1660+ extern const cy_stc_gpio_pin_config_t CYBSP_BT_HOST_WAKE_config ;
1661+ #if defined (CY_USING_HAL )
1662+ extern const cyhal_resource_inst_t CYBSP_BT_HOST_WAKE_obj ;
1663+ #endif //defined (CY_USING_HAL)
16641664extern const cy_stc_gpio_pin_config_t CYBSP_BT_RST_config ;
16651665#if defined (CY_USING_HAL )
16661666 extern const cyhal_resource_inst_t CYBSP_BT_RST_obj ;
0 commit comments