Home
last modified time | relevance | path

Searched refs:CYHAL_SPI_MODE_FLAG_CPOL (Results 1 – 2 of 2) sorted by relevance

/hal_infineon-3.6.0/mtb-hal-cat1/include/
Dcyhal_spi.h178 #define CYHAL_SPI_MODE_FLAG_CPOL (0x04u) macro
180 #define CYHAL_SPI_MODE(cpol, cpha, lsb) ((((cpol) > 0) ? CYHAL_SPI_MODE_FLAG_CPOL : 0) | \
/hal_infineon-3.6.0/mtb-hal-cat1/source/
Dcyhal_spi.c395 uint8_t sclk_mode = (mode & (CYHAL_SPI_MODE_FLAG_CPOL | CYHAL_SPI_MODE_FLAG_CPHA)); in _cyhal_convert_mode_sclk()
399 case CYHAL_SPI_MODE_FLAG_CPOL | CYHAL_SPI_MODE_FLAG_CPHA: in _cyhal_convert_mode_sclk()
401 case CYHAL_SPI_MODE_FLAG_CPOL: in _cyhal_convert_mode_sclk()