Home
last modified time | relevance | path

Searched refs:polarity (Results 1 – 10 of 10) sorted by relevance

/hal_infineon-latest/mtb-pdl-cat1/drivers/include/
Dcy_scb_spi.h659 cy_en_scb_spi_polarity_t polarity);
907 #define CY_SCB_SPI_IS_POLARITY_VALID(polarity) ( (CY_SCB_SPI_ACTIVE_LOW == (polarity)) || \ argument
908 (CY_SCB_SPI_ACTIVE_HIGH == (polarity)) )
917 #define CY_SCB_SPI_IS_SS_POLARITY_VALID(polarity) ( (0UL == ((polarity) & (~0x0FUL))) ) argument
1040 cy_en_scb_spi_polarity_t polarity) in Cy_SCB_SPI_SetActiveSlaveSelectPolarity() argument
1045 CY_ASSERT_L3(CY_SCB_SPI_IS_POLARITY_VALID (polarity)); in Cy_SCB_SPI_SetActiveSlaveSelectPolarity()
1047 if (CY_SCB_SPI_ACTIVE_HIGH == polarity) in Cy_SCB_SPI_SetActiveSlaveSelectPolarity()
Dcy_lpcomp.h439 cy_en_lpcomp_trim_polarity_t polarity; /**< Defines the low-power comparator trim polarity */ member
492 #define CY_LPCOMP_IS_TRIM_VALID(trim) (((((trim)->polarity) == CY_LPCOMP_TRIM_NEGATIVE) ||…
493 … (((trim)->polarity) == CY_LPCOMP_TRIM_POSITIVE)) && \
Dcy_scb_uart.h951 #define CY_SCB_UART_IS_POLARITY_VALID(polarity) ( (CY_SCB_UART_ACTIVE_LOW == (polarity)) || \ argument
952 (CY_SCB_UART_ACTIVE_HIGH == (polarity)) )
Dcy_syspm.h1749 #define CY_SYSPM_IS_POLARITY_VALID(polarity) (((polarity) == CY_SYSPM_PMIC_POLARITY_LOW)… argument
1750 … ((polarity) == CY_SYSPM_PMIC_POLARITY_HIGH))
6021 void Cy_SysPm_ReghcEnablePmicEnableOutput(bool polarity);
6037 void Cy_SysPm_ReghcEnablePmicStatusInput(bool polarity);
8524 void Cy_SysPm_PmicDisable(cy_en_syspm_pmic_wakeup_polarity_t polarity);
/hal_infineon-latest/mtb-pdl-cat1/drivers/source/
Dcy_lpcomp.c1022 …trim->polarity = (cy_en_lpcomp_trim_polarity_t)_FLD2VAL(LPCOMP_CMP0_OFFSET_TRIM_CMP0_POLARITY, LPC… in Cy_LPComp_GetTrim()
1030 …trim->polarity = (cy_en_lpcomp_trim_polarity_t)_FLD2VAL(LPCOMP_CMP1_OFFSET_TRIM_CMP1_POLARITY, LPC… in Cy_LPComp_GetTrim()
1064 … _VAL2FLD(LPCOMP_CMP0_OFFSET_TRIM_CMP0_POLARITY, trim->polarity) | in Cy_LPComp_SetTrim()
1070 … _VAL2FLD(LPCOMP_CMP1_OFFSET_TRIM_CMP1_POLARITY, trim->polarity) | in Cy_LPComp_SetTrim()
Dcy_syspm_v3.c1821 void Cy_SysPm_PmicDisable(cy_en_syspm_pmic_wakeup_polarity_t polarity) in Cy_SysPm_PmicDisable() argument
1827 _CLR_SET_FLD32U(BACKUP_PMIC_CTL, BACKUP_PMIC_CTL_POLARITY, polarity)) & in Cy_SysPm_PmicDisable()
2146 void Cy_SysPm_ReghcEnablePmicEnableOutput(bool polarity) in Cy_SysPm_ReghcEnablePmicEnableOutput() argument
2150 if(polarity) in Cy_SysPm_ReghcEnablePmicEnableOutput()
2160 void Cy_SysPm_ReghcEnablePmicStatusInput(bool polarity) in Cy_SysPm_ReghcEnablePmicStatusInput() argument
2164 if(polarity) in Cy_SysPm_ReghcEnablePmicStatusInput()
Dcy_syspm.c2528 void Cy_SysPm_PmicDisable(cy_en_syspm_pmic_wakeup_polarity_t polarity) in Cy_SysPm_PmicDisable() argument
2530 CY_ASSERT_L3(CY_SYSPM_IS_POLARITY_VALID(polarity)); in Cy_SysPm_PmicDisable()
2536 _CLR_SET_FLD32U(BACKUP_PMIC_CTL, BACKUP_PMIC_CTL_POLARITY, (uint32_t) polarity)) & in Cy_SysPm_PmicDisable()
Dcy_syspm_v2.c2839 void Cy_SysPm_PmicDisable(cy_en_syspm_pmic_wakeup_polarity_t polarity) in Cy_SysPm_PmicDisable() argument
2841 CY_ASSERT_L3(CY_SYSPM_IS_POLARITY_VALID(polarity)); in Cy_SysPm_PmicDisable()
2847 _CLR_SET_FLD32U(BACKUP_PMIC_CTL, BACKUP_PMIC_CTL_POLARITY, (uint32_t) polarity)) & in Cy_SysPm_PmicDisable()
/hal_infineon-latest/mtb-hal-cat1/source/
Dcyhal_spi.c501 cyhal_spi_ssel_polarity_t polarity, bool reserve_n_connect) in _cyhal_spi_ssel_config() argument
522 … (polarity == CYHAL_SPI_SSEL_ACTIVE_LOW) ? true : false) : CY_RSLT_SUCCESS; in _cyhal_spi_ssel_config()
548 obj->ssel_pol[found_idx] = _cyhal_spi_pol_from_hal_to_pdl(polarity); in _cyhal_spi_ssel_config()
1240 …al_spi_slave_select_config(cyhal_spi_t *obj, cyhal_gpio_t ssel, cyhal_spi_ssel_polarity_t polarity) in cyhal_spi_slave_select_config() argument
1243 return _cyhal_spi_ssel_config(obj, ssel, polarity, true); in cyhal_spi_slave_select_config()
/hal_infineon-latest/mtb-hal-cat1/include/
Dcyhal_spi.h284 …l_spi_slave_select_config(cyhal_spi_t *obj, cyhal_gpio_t ssel, cyhal_spi_ssel_polarity_t polarity);