Home
last modified time | relevance | path

Searched refs:driveMode (Results 1 – 3 of 3) sorted by relevance

/hal_infineon-3.7.0/mtb-pdl-cat1/drivers/include/
Dcy_gpio.h348 uint32_t driveMode; /**< Drive mode */ member
485 #define CY_GPIO_IS_DM_VALID(driveMode) (((0U == ((driveMode) & (uint32_t)~CY_GPIO_CFG_DM_MA… argument
486 … ((driveMode) == CY_GPIO_DM_CFGOUT3_STRONG_PULLUP_HIGHZ)) && \
487 ((driveMode) != CY_GPIO_DM_INVALID_IN_OFF) && \
488 ((driveMode) != CY_GPIO_DM_INVALID))
490 #define CY_GPIO_IS_DM_VALID(driveMode) ((0U == ((driveMode) & (uint32_t)~CY_GPIO_CFG_DM_MAS… argument
491 ((driveMode) != CY_GPIO_DM_INVALID_IN_OFF) && \
492 ((driveMode) != CY_GPIO_DM_INVALID))
799 void Cy_GPIO_Pin_FastInit(GPIO_PRT_Type* base, uint32_t pinNum, uint32_t driveMode, uint32_t outVal…
805 void Cy_GPIO_Pin_SecFastInit(GPIO_PRT_Type* base, uint32_t pinNum, uint32_t driveMode, uint32_t out…
/hal_infineon-3.7.0/mtb-pdl-cat1/drivers/source/
Dcy_gpio.c96 CY_ASSERT_L2(CY_GPIO_IS_DM_VALID(config->driveMode)); in Cy_GPIO_Pin_Init()
167 Cy_GPIO_SetDrivemode(base, pinNum, config->driveMode); in Cy_GPIO_Pin_Init()
412 void Cy_GPIO_Pin_FastInit(GPIO_PRT_Type* base, uint32_t pinNum, uint32_t driveMode, in Cy_GPIO_Pin_FastInit() argument
420 CY_ASSERT_L2(CY_GPIO_IS_DM_VALID(driveMode)); in Cy_GPIO_Pin_FastInit()
450 …Y_PRA_GET_PORT_REG_INDEX(base, CY_PRA_SUB_INDEX_PORT_CFG), (tempReg | ((driveMode & CY_GPIO_CFG_DM… in Cy_GPIO_Pin_FastInit()
458 …GPIO_PRT_CFG(base) = tempReg | ((driveMode & CY_GPIO_CFG_DM_MASK) << (pinNum << CY_GPIO_DRIVE_MODE… in Cy_GPIO_Pin_FastInit()
473 if(CY_GPIO_DM_CFGOUT3_STRONG_PULLUP_HIGHZ == driveMode) in Cy_GPIO_Pin_FastInit()
477 …GPIO_PRT_CFG_OUT3(base) = tempRegCfg3 | (((driveMode >> CY_GPIO_EXT_DM_SHIFT) & CY_GPIO_CFG_DM_MAS… in Cy_GPIO_Pin_FastInit()
483 …GPIO_PRT_CFG(base) = tempReg | ((driveMode & CY_GPIO_CFG_DM_MASK) << (pinNum << CY_GPIO_DRIVE_MODE… in Cy_GPIO_Pin_FastInit()
487 …GPIO_PRT_CFG(base) = tempReg | ((driveMode & CY_GPIO_CFG_DM_MASK) << (pinNum << CY_GPIO_DRIVE_MODE… in Cy_GPIO_Pin_FastInit()
[all …]
/hal_infineon-3.7.0/mtb-hal-cat1/source/
Dcyhal_udb_sdio.c116 .driveMode = CY_GPIO_DM_STRONG,
133 .driveMode = CY_GPIO_DM_STRONG_IN_OFF,