ADC_Private_Defines
[ADC]

Defines

#define CR1_AWDCH_Reset   ((uint32_t)0xFFFFFFE0)
#define CR1_AWDMode_Reset   ((uint32_t)0xFF3FFDFF)
#define CR1_CLEAR_Mask   ((uint32_t)0xFFF0FEFF)
#define CR1_DISCEN_Reset   ((uint32_t)0xFFFFF7FF)
#define CR1_DISCEN_Set   ((uint32_t)0x00000800)
#define CR1_DISCNUM_Reset   ((uint32_t)0xFFFF1FFF)
#define CR1_JAUTO_Reset   ((uint32_t)0xFFFFFBFF)
#define CR1_JAUTO_Set   ((uint32_t)0x00000400)
#define CR1_JDISCEN_Reset   ((uint32_t)0xFFFFEFFF)
#define CR1_JDISCEN_Set   ((uint32_t)0x00001000)
#define CR2_ADON_Reset   ((uint32_t)0xFFFFFFFE)
#define CR2_ADON_Set   ((uint32_t)0x00000001)
#define CR2_CAL_Set   ((uint32_t)0x00000004)
#define CR2_CLEAR_Mask   ((uint32_t)0xFFF1F7FD)
#define CR2_DMA_Reset   ((uint32_t)0xFFFFFEFF)
#define CR2_DMA_Set   ((uint32_t)0x00000100)
#define CR2_EXTTRIG_Reset   ((uint32_t)0xFFEFFFFF)
#define CR2_EXTTRIG_Set   ((uint32_t)0x00100000)
#define CR2_EXTTRIG_SWSTART_Reset   ((uint32_t)0xFFAFFFFF)
#define CR2_EXTTRIG_SWSTART_Set   ((uint32_t)0x00500000)
#define CR2_JEXTSEL_Reset   ((uint32_t)0xFFFF8FFF)
#define CR2_JEXTTRIG_JSWSTART_Reset   ((uint32_t)0xFFDF7FFF)
#define CR2_JEXTTRIG_JSWSTART_Set   ((uint32_t)0x00208000)
#define CR2_JEXTTRIG_Reset   ((uint32_t)0xFFFF7FFF)
#define CR2_JEXTTRIG_Set   ((uint32_t)0x00008000)
#define CR2_JSWSTART_Set   ((uint32_t)0x00200000)
#define CR2_RSTCAL_Set   ((uint32_t)0x00000008)
#define CR2_SWSTART_Set   ((uint32_t)0x00400000)
#define CR2_TSVREFE_Reset   ((uint32_t)0xFF7FFFFF)
#define CR2_TSVREFE_Set   ((uint32_t)0x00800000)
#define DR_ADDRESS   ((uint32_t)0x4001244C)
#define JDR_Offset   ((uint8_t)0x28)
#define JSQR_JL_Reset   ((uint32_t)0xFFCFFFFF)
#define JSQR_JL_Set   ((uint32_t)0x00300000)
#define JSQR_JSQ_Set   ((uint32_t)0x0000001F)
#define SMPR1_SMP_Set   ((uint32_t)0x00000007)
#define SMPR2_SMP_Set   ((uint32_t)0x00000007)
#define SQR1_CLEAR_Mask   ((uint32_t)0xFF0FFFFF)
#define SQR1_SQ_Set   ((uint32_t)0x0000001F)
#define SQR2_SQ_Set   ((uint32_t)0x0000001F)
#define SQR3_SQ_Set   ((uint32_t)0x0000001F)

Define Documentation

#define CR1_AWDCH_Reset   ((uint32_t)0xFFFFFFE0)

Definition at line 62 of file stm32f10x_adc.c.

Referenced by ADC_AnalogWatchdogSingleChannelConfig().

#define CR1_AWDMode_Reset   ((uint32_t)0xFF3FFDFF)

Definition at line 65 of file stm32f10x_adc.c.

Referenced by ADC_AnalogWatchdogCmd().

#define CR1_CLEAR_Mask   ((uint32_t)0xFFF0FEFF)

Definition at line 68 of file stm32f10x_adc.c.

Referenced by ADC_Init(), I2C_Init(), SPI_Init(), and USART_Init().

#define CR1_DISCEN_Reset   ((uint32_t)0xFFFFF7FF)

Definition at line 51 of file stm32f10x_adc.c.

Referenced by ADC_DiscModeCmd().

#define CR1_DISCEN_Set   ((uint32_t)0x00000800)

Definition at line 50 of file stm32f10x_adc.c.

Referenced by ADC_DiscModeCmd().

#define CR1_DISCNUM_Reset   ((uint32_t)0xFFFF1FFF)

Definition at line 47 of file stm32f10x_adc.c.

Referenced by ADC_DiscModeChannelCountConfig().

#define CR1_JAUTO_Reset   ((uint32_t)0xFFFFFBFF)

Definition at line 55 of file stm32f10x_adc.c.

Referenced by ADC_AutoInjectedConvCmd().

#define CR1_JAUTO_Set   ((uint32_t)0x00000400)

Definition at line 54 of file stm32f10x_adc.c.

Referenced by ADC_AutoInjectedConvCmd().

#define CR1_JDISCEN_Reset   ((uint32_t)0xFFFFEFFF)

Definition at line 59 of file stm32f10x_adc.c.

Referenced by ADC_InjectedDiscModeCmd().

#define CR1_JDISCEN_Set   ((uint32_t)0x00001000)

Definition at line 58 of file stm32f10x_adc.c.

Referenced by ADC_InjectedDiscModeCmd().

#define CR2_ADON_Reset   ((uint32_t)0xFFFFFFFE)

Definition at line 72 of file stm32f10x_adc.c.

Referenced by ADC_Cmd().

#define CR2_ADON_Set   ((uint32_t)0x00000001)

Definition at line 71 of file stm32f10x_adc.c.

Referenced by ADC_Cmd().

#define CR2_CAL_Set   ((uint32_t)0x00000004)

Definition at line 82 of file stm32f10x_adc.c.

Referenced by ADC_GetCalibrationStatus(), and ADC_StartCalibration().

#define CR2_CLEAR_Mask   ((uint32_t)0xFFF1F7FD)

Definition at line 114 of file stm32f10x_adc.c.

Referenced by ADC_Init().

#define CR2_DMA_Reset   ((uint32_t)0xFFFFFEFF)

Definition at line 76 of file stm32f10x_adc.c.

Referenced by ADC_DMACmd().

#define CR2_DMA_Set   ((uint32_t)0x00000100)

Definition at line 75 of file stm32f10x_adc.c.

Referenced by ADC_DMACmd().

#define CR2_EXTTRIG_Reset   ((uint32_t)0xFFEFFFFF)

Definition at line 89 of file stm32f10x_adc.c.

Referenced by ADC_ExternalTrigConvCmd().

#define CR2_EXTTRIG_Set   ((uint32_t)0x00100000)

Definition at line 88 of file stm32f10x_adc.c.

Referenced by ADC_ExternalTrigConvCmd().

#define CR2_EXTTRIG_SWSTART_Reset   ((uint32_t)0xFFAFFFFF)

Definition at line 93 of file stm32f10x_adc.c.

Referenced by ADC_SoftwareStartConvCmd().

#define CR2_EXTTRIG_SWSTART_Set   ((uint32_t)0x00500000)

Definition at line 92 of file stm32f10x_adc.c.

Referenced by ADC_SoftwareStartConvCmd().

#define CR2_JEXTSEL_Reset   ((uint32_t)0xFFFF8FFF)

Definition at line 96 of file stm32f10x_adc.c.

Referenced by ADC_ExternalTrigInjectedConvConfig().

#define CR2_JEXTTRIG_JSWSTART_Reset   ((uint32_t)0xFFDF7FFF)

Definition at line 107 of file stm32f10x_adc.c.

Referenced by ADC_SoftwareStartInjectedConvCmd().

#define CR2_JEXTTRIG_JSWSTART_Set   ((uint32_t)0x00208000)

Definition at line 106 of file stm32f10x_adc.c.

Referenced by ADC_SoftwareStartInjectedConvCmd().

#define CR2_JEXTTRIG_Reset   ((uint32_t)0xFFFF7FFF)

Definition at line 100 of file stm32f10x_adc.c.

Referenced by ADC_ExternalTrigInjectedConvCmd().

#define CR2_JEXTTRIG_Set   ((uint32_t)0x00008000)

Definition at line 99 of file stm32f10x_adc.c.

Referenced by ADC_ExternalTrigInjectedConvCmd().

#define CR2_JSWSTART_Set   ((uint32_t)0x00200000)

Definition at line 103 of file stm32f10x_adc.c.

Referenced by ADC_GetSoftwareStartInjectedConvCmdStatus().

#define CR2_RSTCAL_Set   ((uint32_t)0x00000008)

Definition at line 79 of file stm32f10x_adc.c.

Referenced by ADC_GetResetCalibrationStatus(), and ADC_ResetCalibration().

#define CR2_SWSTART_Set   ((uint32_t)0x00400000)

Definition at line 85 of file stm32f10x_adc.c.

Referenced by ADC_GetSoftwareStartConvStatus().

#define CR2_TSVREFE_Reset   ((uint32_t)0xFF7FFFFF)

Definition at line 111 of file stm32f10x_adc.c.

Referenced by ADC_TempSensorVrefintCmd().

#define CR2_TSVREFE_Set   ((uint32_t)0x00800000)

Definition at line 110 of file stm32f10x_adc.c.

Referenced by ADC_TempSensorVrefintCmd().

#define DR_ADDRESS   ((uint32_t)0x4001244C)

Definition at line 139 of file stm32f10x_adc.c.

Referenced by ADC_GetDualModeConversionValue().

#define JDR_Offset   ((uint8_t)0x28)

Definition at line 136 of file stm32f10x_adc.c.

Referenced by ADC_GetInjectedConversionValue().

#define JSQR_JL_Reset   ((uint32_t)0xFFCFFFFF)

Definition at line 129 of file stm32f10x_adc.c.

Referenced by ADC_InjectedSequencerLengthConfig().

#define JSQR_JL_Set   ((uint32_t)0x00300000)

Definition at line 128 of file stm32f10x_adc.c.

Referenced by ADC_InjectedChannelConfig().

#define JSQR_JSQ_Set   ((uint32_t)0x0000001F)

Definition at line 125 of file stm32f10x_adc.c.

Referenced by ADC_InjectedChannelConfig().

#define SMPR1_SMP_Set   ((uint32_t)0x00000007)

Definition at line 132 of file stm32f10x_adc.c.

Referenced by ADC_InjectedChannelConfig(), and ADC_RegularChannelConfig().

#define SMPR2_SMP_Set   ((uint32_t)0x00000007)

Definition at line 133 of file stm32f10x_adc.c.

Referenced by ADC_InjectedChannelConfig(), and ADC_RegularChannelConfig().

#define SQR1_CLEAR_Mask   ((uint32_t)0xFF0FFFFF)

Definition at line 122 of file stm32f10x_adc.c.

Referenced by ADC_Init().

#define SQR1_SQ_Set   ((uint32_t)0x0000001F)

Definition at line 119 of file stm32f10x_adc.c.

Referenced by ADC_RegularChannelConfig().

#define SQR2_SQ_Set   ((uint32_t)0x0000001F)

Definition at line 118 of file stm32f10x_adc.c.

Referenced by ADC_RegularChannelConfig().

#define SQR3_SQ_Set   ((uint32_t)0x0000001F)

Definition at line 117 of file stm32f10x_adc.c.

Referenced by ADC_RegularChannelConfig().

STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32