STM8L15x Standard Peripherals Drivers: ADC_External_Event_Source_Selection

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

ADC_External_Event_Source_Selection

Defines

#define IS_ADC_EXT_EVENT_SELECTION(SELECTION)

Enumerations

enum  ADC_ExtEventSelection_TypeDef { ADC_ExtEventSelection_None = ((uint8_t)0x00), ADC_ExtEventSelection_Trigger1 = ((uint8_t)0x08), ADC_ExtEventSelection_Trigger2 = ((uint8_t)0x10), ADC_ExtEventSelection_Trigger3 = ((uint8_t)0x18) }

Define Documentation

#define IS_ADC_EXT_EVENT_SELECTION (   SELECTION)
Value:
(((SELECTION) == ADC_ExtEventSelection_None) || \
                                               ((SELECTION) == ADC_ExtEventSelection_Trigger1) || \
                                               ((SELECTION) == ADC_ExtEventSelection_Trigger2) || \
                                               ((SELECTION) == ADC_ExtEventSelection_Trigger3))

Definition at line 173 of file stm8l15x_adc.h.

Referenced by ADC_ExternalTrigConfig().


Enumeration Type Documentation

Enumerator:
ADC_ExtEventSelection_None 

Conversion starts only by software start

ADC_ExtEventSelection_Trigger1 

Trigger 1 Enables conversion

ADC_ExtEventSelection_Trigger2 

Trigger 2 Enables conversion

ADC_ExtEventSelection_Trigger3 

Trigger 3 Enables conversion

Definition at line 165 of file stm8l15x_adc.h.

STM8S Firmware Library: Overview

 

 

 

For complete documentation on STM8L15x 8-bit microcontrollers platform visit www.st.com