Macros
Collaboration diagram for ADC_flags_definition:

Macros

#define ADC_FLAG_AWD   ((uint8_t)0x01)
 
#define ADC_FLAG_AWD   ((uint8_t)0x01)
 
#define ADC_FLAG_AWD1   ((uint16_t)0x0080)
 
#define ADC_FLAG_AWD2   ((uint16_t)0x0100)
 
#define ADC_FLAG_AWD3   ((uint16_t)0x0200)
 
#define ADC_FLAG_EOC   ((uint8_t)0x02)
 
#define ADC_FLAG_EOC   ((uint8_t)0x02)
 
#define ADC_FLAG_EOC   ((uint16_t)0x0004)
 
#define ADC_FLAG_EOS   ((uint16_t)0x0008)
 
#define ADC_FLAG_EOSMP   ((uint16_t)0x0002)
 
#define ADC_FLAG_JEOC   ((uint8_t)0x04)
 
#define ADC_FLAG_JEOC   ((uint8_t)0x04)
 
#define ADC_FLAG_JEOC   ((uint16_t)0x0020)
 
#define ADC_FLAG_JEOS   ((uint16_t)0x0040)
 
#define ADC_FLAG_JQOVF   ((uint16_t)0x0400)
 
#define ADC_FLAG_JSTRT   ((uint8_t)0x08)
 
#define ADC_FLAG_JSTRT   ((uint8_t)0x08)
 
#define ADC_FLAG_OVR   ((uint8_t)0x20)
 
#define ADC_FLAG_OVR   ((uint16_t)0x0010)
 
#define ADC_FLAG_RDY   ((uint16_t)0x0001)
 
#define ADC_FLAG_STRT   ((uint8_t)0x10)
 
#define ADC_FLAG_STRT   ((uint8_t)0x10)
 
#define IS_ADC_CLEAR_FLAG(FLAG)   ((((FLAG) & (uint8_t)0xE0) == 0x00) && ((FLAG) != 0x00))
 
#define IS_ADC_CLEAR_FLAG(FLAG)   ((((FLAG) & (uint8_t)0xC0) == 0x00) && ((FLAG) != 0x00))
 
#define IS_ADC_CLEAR_FLAG(FLAG)   ((((FLAG) & (uint16_t)0xF800) == 0x0000) && ((FLAG) != 0x0000))
 
#define IS_ADC_GET_FLAG(FLAG)
 
#define IS_ADC_GET_FLAG(FLAG)
 
#define IS_ADC_GET_FLAG(FLAG)
 

Detailed Description

Macro Definition Documentation

#define ADC_FLAG_AWD   ((uint8_t)0x01)

Definition at line 329 of file stm32f10x_adc.h.

#define ADC_FLAG_AWD   ((uint8_t)0x01)

Definition at line 492 of file stm32f4xx_adc.h.

#define ADC_FLAG_AWD1   ((uint16_t)0x0080)

ADC Analog watchdog 1 flag

Definition at line 594 of file stm32f30x_adc.h.

#define ADC_FLAG_AWD2   ((uint16_t)0x0100)

ADC Analog watchdog 2 flag

Definition at line 595 of file stm32f30x_adc.h.

#define ADC_FLAG_AWD3   ((uint16_t)0x0200)

ADC Analog watchdog 3 flag

Definition at line 596 of file stm32f30x_adc.h.

#define ADC_FLAG_EOC   ((uint8_t)0x02)

Definition at line 330 of file stm32f10x_adc.h.

#define ADC_FLAG_EOC   ((uint8_t)0x02)

Definition at line 493 of file stm32f4xx_adc.h.

#define ADC_FLAG_EOC   ((uint16_t)0x0004)

ADC End of Regular Conversion flag

Definition at line 589 of file stm32f30x_adc.h.

#define ADC_FLAG_EOS   ((uint16_t)0x0008)

ADC End of Regular sequence of Conversions flag

Definition at line 590 of file stm32f30x_adc.h.

#define ADC_FLAG_EOSMP   ((uint16_t)0x0002)

ADC End of Sampling flag

Definition at line 588 of file stm32f30x_adc.h.

#define ADC_FLAG_JEOC   ((uint8_t)0x04)

Definition at line 331 of file stm32f10x_adc.h.

#define ADC_FLAG_JEOC   ((uint8_t)0x04)

Definition at line 494 of file stm32f4xx_adc.h.

#define ADC_FLAG_JEOC   ((uint16_t)0x0020)

ADC End of Injected Conversion flag

Definition at line 592 of file stm32f30x_adc.h.

#define ADC_FLAG_JEOS   ((uint16_t)0x0040)

ADC End of Injected sequence of Conversions flag

Definition at line 593 of file stm32f30x_adc.h.

#define ADC_FLAG_JQOVF   ((uint16_t)0x0400)

ADC Injected Context Queue Overflow flag

Definition at line 597 of file stm32f30x_adc.h.

#define ADC_FLAG_JSTRT   ((uint8_t)0x08)

Definition at line 332 of file stm32f10x_adc.h.

#define ADC_FLAG_JSTRT   ((uint8_t)0x08)

Definition at line 495 of file stm32f4xx_adc.h.

#define ADC_FLAG_OVR   ((uint8_t)0x20)

Definition at line 497 of file stm32f4xx_adc.h.

#define ADC_FLAG_OVR   ((uint16_t)0x0010)

ADC overrun flag

Definition at line 591 of file stm32f30x_adc.h.

#define ADC_FLAG_RDY   ((uint16_t)0x0001)

ADC Ready (ADRDY) flag

Definition at line 587 of file stm32f30x_adc.h.

#define ADC_FLAG_STRT   ((uint8_t)0x10)

Definition at line 333 of file stm32f10x_adc.h.

#define ADC_FLAG_STRT   ((uint8_t)0x10)

Definition at line 496 of file stm32f4xx_adc.h.

#define IS_ADC_CLEAR_FLAG (   FLAG)    ((((FLAG) & (uint8_t)0xE0) == 0x00) && ((FLAG) != 0x00))

Definition at line 334 of file stm32f10x_adc.h.

#define IS_ADC_CLEAR_FLAG (   FLAG)    ((((FLAG) & (uint8_t)0xC0) == 0x00) && ((FLAG) != 0x00))

Definition at line 499 of file stm32f4xx_adc.h.

#define IS_ADC_CLEAR_FLAG (   FLAG)    ((((FLAG) & (uint16_t)0xF800) == 0x0000) && ((FLAG) != 0x0000))

Definition at line 599 of file stm32f30x_adc.h.

#define IS_ADC_GET_FLAG (   FLAG)
Value:
(((FLAG) == ADC_FLAG_AWD) || ((FLAG) == ADC_FLAG_EOC) || \
((FLAG) == ADC_FLAG_JEOC) || ((FLAG)== ADC_FLAG_JSTRT) || \
((FLAG) == ADC_FLAG_STRT))
#define ADC_FLAG_STRT
#define ADC_FLAG_EOC
#define ADC_FLAG_AWD
#define ADC_FLAG_JSTRT
#define ADC_FLAG_JEOC

Definition at line 335 of file stm32f10x_adc.h.

#define IS_ADC_GET_FLAG (   FLAG)
Value:
(((FLAG) == ADC_FLAG_AWD) || \
((FLAG) == ADC_FLAG_EOC) || \
((FLAG) == ADC_FLAG_JEOC) || \
((FLAG)== ADC_FLAG_JSTRT) || \
((FLAG) == ADC_FLAG_STRT) || \
((FLAG)== ADC_FLAG_OVR))
#define ADC_FLAG_STRT
#define ADC_FLAG_EOC
#define ADC_FLAG_AWD
#define ADC_FLAG_OVR
#define ADC_FLAG_JSTRT
#define ADC_FLAG_JEOC

Definition at line 500 of file stm32f4xx_adc.h.

#define IS_ADC_GET_FLAG (   FLAG)
Value:
(((FLAG) == ADC_FLAG_RDY) || ((FLAG) == ADC_FLAG_EOSMP) || \
((FLAG) == ADC_FLAG_EOC) || ((FLAG) == ADC_FLAG_EOS) || \
((FLAG) == ADC_FLAG_OVR) || ((FLAG) == ADC_FLAG_JEOC) || \
((FLAG) == ADC_FLAG_JEOS) || ((FLAG) == ADC_FLAG_AWD1) || \
((FLAG) == ADC_FLAG_AWD2) || ((FLAG) == ADC_FLAG_AWD3) || \
((FLAG) == ADC_FLAG_JQOVF))
#define ADC_FLAG_AWD1
#define ADC_FLAG_EOC
#define ADC_FLAG_AWD3
#define ADC_FLAG_JQOVF
#define ADC_FLAG_EOS
#define ADC_FLAG_OVR
#define ADC_FLAG_JEOS
#define ADC_FLAG_EOSMP
#define ADC_FLAG_RDY
#define ADC_FLAG_JEOC
#define ADC_FLAG_AWD2

Definition at line 600 of file stm32f30x_adc.h.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:28