STM8L15x Standard Peripherals Drivers: ADC_Analog_WatchDog_Channel_selection

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

ADC_Analog_WatchDog_Channel_selection

Defines

#define IS_ADC_ANALOGWATCHDOG_SELECTION(CHANNEL)   (((CHANNEL) <= 0x1D))

Enumerations

enum  ADC_AnalogWatchdogSelection_TypeDef {
  ADC_AnalogWatchdogSelection_Channel0 = ((uint8_t)0x00), ADC_AnalogWatchdogSelection_Channel1 = ((uint8_t)0x01), ADC_AnalogWatchdogSelection_Channel2 = ((uint8_t)0x02), ADC_AnalogWatchdogSelection_Channel3 = ((uint8_t)0x03),
  ADC_AnalogWatchdogSelection_Channel4 = ((uint8_t)0x04), ADC_AnalogWatchdogSelection_Channel5 = ((uint8_t)0x05), ADC_AnalogWatchdogSelection_Channel6 = ((uint8_t)0x06), ADC_AnalogWatchdogSelection_Channel7 = ((uint8_t)0x07),
  ADC_AnalogWatchdogSelection_Channel8 = ((uint8_t)0x08), ADC_AnalogWatchdogSelection_Channel9 = ((uint8_t)0x09), ADC_AnalogWatchdogSelection_Channel10 = ((uint8_t)0x0A), ADC_AnalogWatchdogSelection_Channel11 = ((uint8_t)0x0B),
  ADC_AnalogWatchdogSelection_Channel12 = ((uint8_t)0x0C), ADC_AnalogWatchdogSelection_Channel13 = ((uint8_t)0x0D), ADC_AnalogWatchdogSelection_Channel14 = ((uint8_t)0x0E), ADC_AnalogWatchdogSelection_Channel15 = ((uint8_t)0x0F),
  ADC_AnalogWatchdogSelection_Channel16 = ((uint8_t)0x10), ADC_AnalogWatchdogSelection_Channel17 = ((uint8_t)0x11), ADC_AnalogWatchdogSelection_Channel18 = ((uint8_t)0x12), ADC_AnalogWatchdogSelection_Channel19 = ((uint8_t)0x13),
  ADC_AnalogWatchdogSelection_Channel20 = ((uint8_t)0x14), ADC_AnalogWatchdogSelection_Channel21 = ((uint8_t)0x15), ADC_AnalogWatchdogSelection_Channel22 = ((uint8_t)0x16), ADC_AnalogWatchdogSelection_Channel23 = ((uint8_t)0x17),
  ADC_AnalogWatchdogSelection_Channel24 = ((uint8_t)0x18), ADC_AnalogWatchdogSelection_Channel25 = ((uint8_t)0x19), ADC_AnalogWatchdogSelection_Channel26 = ((uint8_t)0x1A), ADC_AnalogWatchdogSelection_Channel27 = ((uint8_t)0x1B),
  ADC_AnalogWatchdogSelection_Vrefint = ((uint8_t)0x1C), ADC_AnalogWatchdogSelection_TempSensor = ((uint8_t)0x1D)
}

Define Documentation

#define IS_ADC_ANALOGWATCHDOG_SELECTION (   CHANNEL)    (((CHANNEL) <= 0x1D))

Definition at line 263 of file stm8l15x_adc.h.

Referenced by ADC_AnalogWatchdogChannelSelect(), and ADC_AnalogWatchdogConfig().


Enumeration Type Documentation

Enumerator:
ADC_AnalogWatchdogSelection_Channel0 

AWD affected to Channel 0

ADC_AnalogWatchdogSelection_Channel1 

AWD affected to Channel 1

ADC_AnalogWatchdogSelection_Channel2 

AWD affected to Channel 2

ADC_AnalogWatchdogSelection_Channel3 

AWD affected to Channel 3

ADC_AnalogWatchdogSelection_Channel4 

AWD affected to Channel 4

ADC_AnalogWatchdogSelection_Channel5 

AWD affected to Channel 5

ADC_AnalogWatchdogSelection_Channel6 

AWD affected to Channel 6

ADC_AnalogWatchdogSelection_Channel7 

AWD affected to Channel 7

ADC_AnalogWatchdogSelection_Channel8 

AWD affected to Channel 8

ADC_AnalogWatchdogSelection_Channel9 

AWD affected to Channel 9

ADC_AnalogWatchdogSelection_Channel10 

AWD affected to Channel 10

ADC_AnalogWatchdogSelection_Channel11 

AWD affected to Channel 11

ADC_AnalogWatchdogSelection_Channel12 

AWD affected to Channel 12

ADC_AnalogWatchdogSelection_Channel13 

AWD affected to Channel 13

ADC_AnalogWatchdogSelection_Channel14 

AWD affected to Channel 14

ADC_AnalogWatchdogSelection_Channel15 

AWD affected to Channel 15

ADC_AnalogWatchdogSelection_Channel16 

AWD affected to Channel 16

ADC_AnalogWatchdogSelection_Channel17 

AWD affected to Channel 17

ADC_AnalogWatchdogSelection_Channel18 

AWD affected to Channel 18

ADC_AnalogWatchdogSelection_Channel19 

AWD affected to Channel 19

ADC_AnalogWatchdogSelection_Channel20 

AWD affected to Channel 20

ADC_AnalogWatchdogSelection_Channel21 

AWD affected to Channel 21

ADC_AnalogWatchdogSelection_Channel22 

AWD affected to Channel 22

ADC_AnalogWatchdogSelection_Channel23 

AWD affected to Channel 23

ADC_AnalogWatchdogSelection_Channel24 

AWD affected to Channel 24

ADC_AnalogWatchdogSelection_Channel25 

AWD affected to Channel 25

ADC_AnalogWatchdogSelection_Channel26 

AWD affected to Channel 26

ADC_AnalogWatchdogSelection_Channel27 

AWD affected to Channel 27

ADC_AnalogWatchdogSelection_Vrefint 

AWD affected to Internal Vref Channel

ADC_AnalogWatchdogSelection_TempSensor 

AWD affected to Temperature Sensor Channel

Definition at line 227 of file stm8l15x_adc.h.

STM8S Firmware Library: Overview

 

 

 

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