STM8L15x Standard Peripherals Drivers
|
Defines | |
#define | IS_REMAP_DMACHANNEL(MAP) |
Macro used by the assert function in order to check the different values of the REMAP_DMAChannel_TypeDef enum. | |
#define | IS_REMAP_PIN(PIN) |
Macro used by the assert function in order to check the different values of REMAP_Pin_TypeDef enum. | |
#define | IS_RI_ANALOGSWITCH(RI_ANALOGSWITCH) |
Macro used by the assert function in order to check the different values of RI_AnalogSwitch_TypeDef enum. | |
#define | IS_RI_INPUTCAPTURE(RI_IC) |
Macro used by the assert function in order to check the different values of RI_InputCaptureTypeDef enum. | |
#define | IS_RI_INPUTCAPTUREROUTING(RI_IC_ROUTING) |
Macro used by the assert function in order to check the different values of RI_InputCaptureRoutingTypeDef enum. | |
#define | IS_RI_IOSWITCH(RI_IOSWITCH) |
Macro used by the assert function in order to check the different values of RI_IOSwitch_TypeDef enum. | |
#define | IS_RI_RESISTOR(RI_RESISTOR) |
Macro used by the assert function in order to check the different values of RI_ResistorTypeDef enum. |
Define Documentation
#define IS_REMAP_DMACHANNEL | ( | MAP | ) |
(((MAP) == REMAP_DMA1Channel_ADC1ToChannel0) || \ ((MAP) == REMAP_DMA1Channel_ADC1ToChannel1) || \ ((MAP) == REMAP_DMA1Channel_ADC1ToChannel2) || \ ((MAP) == REMAP_DMA1Channel_ADC1ToChannel3) || \ ((MAP) == REMAP_DMA1Channel_TIM4ToChannel0) || \ ((MAP) == REMAP_DMA1Channel_TIM4ToChannel1) || \ ((MAP) == REMAP_DMA1Channel_TIM4ToChannel2) || \ ((MAP) == REMAP_DMA1Channel_TIM4ToChannel3))
Macro used by the assert function in order to check the different values of the REMAP_DMAChannel_TypeDef enum.
Definition at line 381 of file stm8l15x_syscfg.h.
Referenced by SYSCFG_REMAPDMAChannelConfig().
#define IS_REMAP_PIN | ( | PIN | ) |
(((PIN) == REMAP_Pin_USART1TxRxPortA) || \ ((PIN) == REMAP_Pin_USART1TxRxPortC) || \ ((PIN) == REMAP_Pin_USART1Clk) || \ ((PIN) == REMAP_Pin_SPI1Full) || \ ((PIN) == REMAP_Pin_ADC1ExtTRIG1) || \ ((PIN) == REMAP_Pin_TIM2TRIGPortA) || \ ((PIN) == REMAP_Pin_TIM3TRIGPortA) || \ ((PIN) == REMAP_Pin_TIM2TRIGLSE) || \ ((PIN) == REMAP_Pin_TIM3TRIGLSE) || \ ((PIN) == REMAP_Pin_SPI2Full) || \ ((PIN) == REMAP_Pin_TIM3TRIGPortG) || \ ((PIN) == REMAP_Pin_TIM23BKIN) || \ ((PIN) == REMAP_Pin_SPI1PortF) || \ ((PIN) == REMAP_Pin_USART3TxRxPortF) || \ ((PIN) == REMAP_Pin_USART3Clk) || \ ((PIN) == REMAP_Pin_TIM3Channel1) || \ ((PIN) == REMAP_Pin_TIM3Channel2) || \ ((PIN) == REMAP_Pin_CCO) || \ ((PIN) == REMAP_Pin_TIM2Channel1) || \ ((PIN) == REMAP_Pin_TIM2Channel2))
Macro used by the assert function in order to check the different values of REMAP_Pin_TypeDef enum.
Definition at line 355 of file stm8l15x_syscfg.h.
Referenced by SYSCFG_REMAPPinConfig().
#define IS_RI_ANALOGSWITCH | ( | RI_ANALOGSWITCH | ) |
(((RI_ANALOGSWITCH) == RI_AnalogSwitch_0) || \ ((RI_ANALOGSWITCH) == RI_AnalogSwitch_1) || \ ((RI_ANALOGSWITCH) == RI_AnalogSwitch_2) || \ ((RI_ANALOGSWITCH) == RI_AnalogSwitch_3) || \ ((RI_ANALOGSWITCH) == RI_AnalogSwitch_4) || \ ((RI_ANALOGSWITCH) == RI_AnalogSwitch_5) || \ ((RI_ANALOGSWITCH) == RI_AnalogSwitch_6) || \ ((RI_ANALOGSWITCH) == RI_AnalogSwitch_7) || \ ((RI_ANALOGSWITCH) == RI_AnalogSwitch_8) || \ ((RI_ANALOGSWITCH) == RI_AnalogSwitch_9) || \ ((RI_ANALOGSWITCH) == RI_AnalogSwitch_10)|| \ ((RI_ANALOGSWITCH) == RI_AnalogSwitch_11)|| \ ((RI_ANALOGSWITCH) == RI_AnalogSwitch_14))
Macro used by the assert function in order to check the different values of RI_AnalogSwitch_TypeDef enum.
Definition at line 296 of file stm8l15x_syscfg.h.
Referenced by SYSCFG_RIAnalogSwitchConfig().
#define IS_RI_INPUTCAPTURE | ( | RI_IC | ) |
(((RI_IC) == RI_InputCapture_IC2) || \ ((RI_IC) == RI_InputCapture_IC3))
Macro used by the assert function in order to check the different values of RI_InputCaptureTypeDef enum.
Definition at line 261 of file stm8l15x_syscfg.h.
Referenced by SYSCFG_RITIMInputCaptureConfig().
#define IS_RI_INPUTCAPTUREROUTING | ( | RI_IC_ROUTING | ) |
(((RI_IC_ROUTING) == RI_InputCaptureRouting_0) || \ ((RI_IC_ROUTING) == RI_InputCaptureRouting_1) || \ ((RI_IC_ROUTING) == RI_InputCaptureRouting_2) || \ ((RI_IC_ROUTING) == RI_InputCaptureRouting_3) || \ ((RI_IC_ROUTING) == RI_InputCaptureRouting_4) || \ ((RI_IC_ROUTING) == RI_InputCaptureRouting_5) || \ ((RI_IC_ROUTING) == RI_InputCaptureRouting_6) || \ ((RI_IC_ROUTING) == RI_InputCaptureRouting_7) || \ ((RI_IC_ROUTING) == RI_InputCaptureRouting_8) || \ ((RI_IC_ROUTING) == RI_InputCaptureRouting_9) || \ ((RI_IC_ROUTING) == RI_InputCaptureRouting_10) || \ ((RI_IC_ROUTING) == RI_InputCaptureRouting_11) || \ ((RI_IC_ROUTING) == RI_InputCaptureRouting_12) || \ ((RI_IC_ROUTING) == RI_InputCaptureRouting_13) || \ ((RI_IC_ROUTING) == RI_InputCaptureRouting_14) || \ ((RI_IC_ROUTING) == RI_InputCaptureRouting_15) || \ ((RI_IC_ROUTING) == RI_InputCaptureRouting_16) || \ ((RI_IC_ROUTING) == RI_InputCaptureRouting_17) || \ ((RI_IC_ROUTING) == RI_InputCaptureRouting_18) || \ ((RI_IC_ROUTING) == RI_InputCaptureRouting_19) || \ ((RI_IC_ROUTING) == RI_InputCaptureRouting_20) || \ ((RI_IC_ROUTING) == RI_InputCaptureRouting_21) || \ ((RI_IC_ROUTING) == RI_InputCaptureRouting_22))
Macro used by the assert function in order to check the different values of RI_InputCaptureRoutingTypeDef enum.
Definition at line 268 of file stm8l15x_syscfg.h.
Referenced by SYSCFG_RITIMInputCaptureConfig().
#define IS_RI_IOSWITCH | ( | RI_IOSWITCH | ) |
(((RI_IOSWITCH) == RI_IOSwitch_1) || \ ((RI_IOSWITCH) == RI_IOSwitch_2) || \ ((RI_IOSWITCH) == RI_IOSwitch_3) || \ ((RI_IOSWITCH) == RI_IOSwitch_4) || \ ((RI_IOSWITCH) == RI_IOSwitch_5) || \ ((RI_IOSWITCH) == RI_IOSwitch_6) || \ ((RI_IOSWITCH) == RI_IOSwitch_7) || \ ((RI_IOSWITCH) == RI_IOSwitch_8) || \ ((RI_IOSWITCH) == RI_IOSwitch_9) || \ ((RI_IOSWITCH) == RI_IOSwitch_10) || \ ((RI_IOSWITCH) == RI_IOSwitch_11) || \ ((RI_IOSWITCH) == RI_IOSwitch_12) || \ ((RI_IOSWITCH) == RI_IOSwitch_13) || \ ((RI_IOSWITCH) == RI_IOSwitch_14) || \ ((RI_IOSWITCH) == RI_IOSwitch_15) || \ ((RI_IOSWITCH) == RI_IOSwitch_16) || \ ((RI_IOSWITCH) == RI_IOSwitch_17) || \ ((RI_IOSWITCH) == RI_IOSwitch_18) || \ ((RI_IOSWITCH) == RI_IOSwitch_19) || \ ((RI_IOSWITCH) == RI_IOSwitch_20) || \ ((RI_IOSWITCH) == RI_IOSwitch_21) || \ ((RI_IOSWITCH) == RI_IOSwitch_22) || \ ((RI_IOSWITCH) == RI_IOSwitch_23) || \ ((RI_IOSWITCH) == RI_IOSwitch_24) || \ ((RI_IOSWITCH) == RI_IOSwitch_26) || \ ((RI_IOSWITCH) == RI_IOSwitch_27) || \ ((RI_IOSWITCH) == RI_IOSwitch_28) || \ ((RI_IOSWITCH) == RI_IOSwitch_29))
Macro used by the assert function in order to check the different values of RI_IOSwitch_TypeDef enum.
Definition at line 314 of file stm8l15x_syscfg.h.
Referenced by SYSCFG_RIIOSwitchConfig().
#define IS_RI_RESISTOR | ( | RI_RESISTOR | ) |
(((RI_RESISTOR) == RI_Resistor_10KPU) || \ ((RI_RESISTOR) == RI_Resistor_400KPU) || \ ((RI_RESISTOR) == RI_Resistor_10KPD) || \ ((RI_RESISTOR) == RI_Resistor_400KPD))
Macro used by the assert function in order to check the different values of RI_ResistorTypeDef enum.
Definition at line 347 of file stm8l15x_syscfg.h.
Referenced by SYSCFG_RIResistorConfig().