MG32F157 Standard Peripherals Firmware Library
Macros
SPI_Clock_Polarity
MG32F157_StdPeriph_Driver
»
SPI
»
SPI_Exported_Constants
Macros
#define
SPI_CPOL_Low
((uint16_t)0x0000)
#define
SPI_CPOL_High
((uint16_t)0x0002)
#define
IS_SPI_CPOL
(CPOL)
Detailed Description
Macro Definition Documentation
◆
IS_SPI_CPOL
#define IS_SPI_CPOL
(
CPOL
)
Value:
(((CPOL) == SPI_CPOL_Low) || \
((CPOL) == SPI_CPOL_High))
Generated by Megawin Technology (Shenzhen) Corp., Ltd. All rights reserved.