Searched refs:polarity (Results 1 – 9 of 9) sorted by relevance
/hal_infineon-3.5.0/mtb-pdl-cat1/drivers/include/ |
D | cy_scb_spi.h | 655 cy_en_scb_spi_polarity_t polarity); 900 #define CY_SCB_SPI_IS_POLARITY_VALID(polarity) ( (CY_SCB_SPI_ACTIVE_LOW == (polarity)) || \ argument 901 (CY_SCB_SPI_ACTIVE_HIGH == (polarity)) ) 910 #define CY_SCB_SPI_IS_SS_POLARITY_VALID(polarity) ( (0UL == ((polarity) & (~0x0FUL))) ) argument 1031 cy_en_scb_spi_polarity_t polarity) in Cy_SCB_SPI_SetActiveSlaveSelectPolarity() argument 1036 CY_ASSERT_L3(CY_SCB_SPI_IS_POLARITY_VALID (polarity)); in Cy_SCB_SPI_SetActiveSlaveSelectPolarity() 1038 if (CY_SCB_SPI_ACTIVE_HIGH == polarity) in Cy_SCB_SPI_SetActiveSlaveSelectPolarity()
|
D | cy_lpcomp.h | 433 cy_en_lpcomp_trim_polarity_t polarity; /**< Defines the low-power comparator trim polarity */ member 486 #define CY_LPCOMP_IS_TRIM_VALID(trim) (((((trim)->polarity) == CY_LPCOMP_TRIM_NEGATIVE) ||… 487 … (((trim)->polarity) == CY_LPCOMP_TRIM_POSITIVE)) && \
|
D | cy_syspm.h | 1712 #define CY_SYSPM_IS_POLARITY_VALID(polarity) (((polarity) == CY_SYSPM_PMIC_POLARITY_LOW)… argument 1713 … ((polarity) == CY_SYSPM_PMIC_POLARITY_HIGH)) 5588 void Cy_SysPm_ReghcEnablePmicEnableOutput(bool polarity); 5604 void Cy_SysPm_ReghcEnablePmicStatusInput(bool polarity); 8086 void Cy_SysPm_PmicDisable(cy_en_syspm_pmic_wakeup_polarity_t polarity);
|
D | cy_scb_uart.h | 942 #define CY_SCB_UART_IS_POLARITY_VALID(polarity) ( (CY_SCB_UART_ACTIVE_LOW == (polarity)) || \ argument 943 (CY_SCB_UART_ACTIVE_HIGH == (polarity)) )
|
/hal_infineon-3.5.0/mtb-pdl-cat1/drivers/source/ |
D | cy_lpcomp.c | 999 … trim->polarity = _FLD2VAL(LPCOMP_CMP0_OFFSET_TRIM_CMP0_POLARITY, LPCOMP_CMP0_OFFSET_TRIM(base)); in Cy_LPComp_GetTrim() 1007 … trim->polarity = _FLD2VAL(LPCOMP_CMP1_OFFSET_TRIM_CMP1_POLARITY, LPCOMP_CMP1_OFFSET_TRIM(base)); in Cy_LPComp_GetTrim() 1041 … _VAL2FLD(LPCOMP_CMP0_OFFSET_TRIM_CMP0_POLARITY, trim->polarity) | in Cy_LPComp_SetTrim() 1047 … _VAL2FLD(LPCOMP_CMP1_OFFSET_TRIM_CMP1_POLARITY, trim->polarity) | in Cy_LPComp_SetTrim()
|
D | cy_syspm_v3.c | 1372 void Cy_SysPm_PmicDisable(cy_en_syspm_pmic_wakeup_polarity_t polarity) in Cy_SysPm_PmicDisable() argument 1378 _CLR_SET_FLD32U(BACKUP_PMIC_CTL, BACKUP_PMIC_CTL_POLARITY, polarity)) & in Cy_SysPm_PmicDisable() 1693 void Cy_SysPm_ReghcEnablePmicEnableOutput(bool polarity) in Cy_SysPm_ReghcEnablePmicEnableOutput() argument 1697 if(polarity) in Cy_SysPm_ReghcEnablePmicEnableOutput() 1707 void Cy_SysPm_ReghcEnablePmicStatusInput(bool polarity) in Cy_SysPm_ReghcEnablePmicStatusInput() argument 1711 if(polarity) in Cy_SysPm_ReghcEnablePmicStatusInput()
|
D | cy_syspm.c | 2525 void Cy_SysPm_PmicDisable(cy_en_syspm_pmic_wakeup_polarity_t polarity) in Cy_SysPm_PmicDisable() argument 2527 CY_ASSERT_L3(CY_SYSPM_IS_POLARITY_VALID(polarity)); in Cy_SysPm_PmicDisable() 2533 _CLR_SET_FLD32U(BACKUP_PMIC_CTL, BACKUP_PMIC_CTL_POLARITY, (uint32_t) polarity)) & in Cy_SysPm_PmicDisable()
|
/hal_infineon-3.5.0/mtb-hal-cat1/source/ |
D | cyhal_spi.c | 494 cyhal_spi_ssel_polarity_t polarity, bool reserve_n_connect) in _cyhal_spi_ssel_config() argument 515 … (polarity == CYHAL_SPI_SSEL_ACTIVE_LOW) ? true : false) : CY_RSLT_SUCCESS; in _cyhal_spi_ssel_config() 541 obj->ssel_pol[found_idx] = _cyhal_spi_pol_from_hal_to_pdl(polarity); in _cyhal_spi_ssel_config() 1233 …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 1236 return _cyhal_spi_ssel_config(obj, ssel, polarity, true); in cyhal_spi_slave_select_config()
|
/hal_infineon-3.5.0/mtb-hal-cat1/include/ |
D | cyhal_spi.h | 284 …l_spi_slave_select_config(cyhal_spi_t *obj, cyhal_gpio_t ssel, cyhal_spi_ssel_polarity_t polarity);
|