Prusa MINI Firmware overview
|
◆ IS_ADC_MODE
#define IS_ADC_MODE |
( |
|
MODE | ) |
|
◆ IS_ADC_DMA_ACCESS_MODE
#define IS_ADC_DMA_ACCESS_MODE |
( |
|
MODE | ) |
|
◆ IS_ADC_EXT_INJEC_TRIG_EDGE
#define IS_ADC_EXT_INJEC_TRIG_EDGE |
( |
|
EDGE | ) |
|
◆ IS_ADC_EXT_INJEC_TRIG
#define IS_ADC_EXT_INJEC_TRIG |
( |
|
INJTRIG | ) |
|
◆ IS_ADC_INJECTED_LENGTH
◆ IS_ADC_INJECTED_RANK
#define IS_ADC_INJECTED_RANK |
( |
|
RANK | ) |
(((RANK) >= 1U) && ((RANK) <= 4U)) |
◆ ADC_JSQR
#define ADC_JSQR |
( |
|
_CHANNELNB_, |
|
|
|
_RANKNB_, |
|
|
|
_JSQR_JL_ |
|
) |
| (((uint32_t)((uint16_t)(_CHANNELNB_))) << (5U * (uint8_t)(((_RANKNB_) + 3U) - (_JSQR_JL_)))) |
Set the selected injected Channel rank.
- Parameters
-
<em>CHANNELNB</em> | Channel number. |
<em>RANKNB</em> | Rank number. |
<em>JSQR_JL</em> | Sequence length. |
- Return values
-
◆ ADC_COMMON_REGISTER
#define ADC_COMMON_REGISTER |
( |
|
__HANDLE__ | ) |
ADC1_COMMON |
Defines if the selected ADC is within ADC common register ADC123 or ADC1 if available (ADC2, ADC3 availability depends on STM32 product)
- Parameters
-
<strong>HANDLE</strong> | ADC handle |
- Return values
-
Common | control register ADC123 or ADC1 |
#define ADC_EXTERNALTRIGINJECCONV_T4_CC2
Definition: stm32f4xx_hal_adc_ex.h:202
#define ADC_DMAACCESSMODE_DISABLED
Definition: stm32f4xx_hal_adc_ex.h:173
#define ADC_TRIPLEMODE_REGSIMULT_INJECSIMULT
Definition: stm32f4xx_hal_adc_ex.h:160
#define ADC_DUALMODE_ALTERTRIG
Definition: stm32f4xx_hal_adc_ex.h:159
#define ADC_DUALMODE_REGSIMULT
Definition: stm32f4xx_hal_adc_ex.h:157
#define ADC_MODE_INDEPENDENT
Definition: stm32f4xx_hal_adc_ex.h:153
#define ADC_EXTERNALTRIGINJECCONV_T1_TRGO
Definition: stm32f4xx_hal_adc_ex.h:196
#define ADC_TRIPLEMODE_INTERL
Definition: stm32f4xx_hal_adc_ex.h:164
#define ADC_TRIPLEMODE_REGSIMULT
Definition: stm32f4xx_hal_adc_ex.h:163
#define ADC_EXTERNALTRIGINJECCONV_T4_CC3
Definition: stm32f4xx_hal_adc_ex.h:203
#define ADC_EXTERNALTRIGINJECCONV_T8_CC4
Definition: stm32f4xx_hal_adc_ex.h:209
#define ADC_EXTERNALTRIGINJECCONVEDGE_NONE
Definition: stm32f4xx_hal_adc_ex.h:184
#define ADC_EXTERNALTRIGINJECCONV_T5_TRGO
Definition: stm32f4xx_hal_adc_ex.h:206
#define ADC_EXTERNALTRIGINJECCONV_T3_CC4
Definition: stm32f4xx_hal_adc_ex.h:200
#define ADC_EXTERNALTRIGINJECCONV_T1_CC4
Definition: stm32f4xx_hal_adc_ex.h:195
#define ADC_INJECTED_SOFTWARE_START
Definition: stm32f4xx_hal_adc_ex.h:211
#define ADC_EXTERNALTRIGINJECCONVEDGE_RISING
Definition: stm32f4xx_hal_adc_ex.h:185
#define ADC_EXTERNALTRIGINJECCONV_T4_TRGO
Definition: stm32f4xx_hal_adc_ex.h:204
#define ADC_EXTERNALTRIGINJECCONV_T4_CC1
Definition: stm32f4xx_hal_adc_ex.h:201
#define ADC_EXTERNALTRIGINJECCONV_T5_CC4
Definition: stm32f4xx_hal_adc_ex.h:205
#define ADC_EXTERNALTRIGINJECCONV_EXT_IT15
Definition: stm32f4xx_hal_adc_ex.h:210
#define ADC_EXTERNALTRIGINJECCONVEDGE_RISINGFALLING
Definition: stm32f4xx_hal_adc_ex.h:187
#define ADC_TRIPLEMODE_INJECSIMULT
Definition: stm32f4xx_hal_adc_ex.h:162
#define ADC_EXTERNALTRIGINJECCONV_T8_CC3
Definition: stm32f4xx_hal_adc_ex.h:208
#define ADC_TRIPLEMODE_REGSIMULT_AlterTrig
Definition: stm32f4xx_hal_adc_ex.h:161
#define ADC_DUALMODE_REGSIMULT_ALTERTRIG
Definition: stm32f4xx_hal_adc_ex.h:155
#define ADC_DMAACCESSMODE_1
Definition: stm32f4xx_hal_adc_ex.h:174
#define ADC_DUALMODE_INTERL
Definition: stm32f4xx_hal_adc_ex.h:158
#define ADC_EXTERNALTRIGINJECCONV_T2_CC1
Definition: stm32f4xx_hal_adc_ex.h:197
#define ADC_EXTERNALTRIGINJECCONV_T2_TRGO
Definition: stm32f4xx_hal_adc_ex.h:198
#define ADC_DUALMODE_REGSIMULT_INJECSIMULT
Definition: stm32f4xx_hal_adc_ex.h:154
#define ADC_TRIPLEMODE_ALTERTRIG
Definition: stm32f4xx_hal_adc_ex.h:165
#define ADC_DUALMODE_INJECSIMULT
Definition: stm32f4xx_hal_adc_ex.h:156
#define ADC_EXTERNALTRIGINJECCONV_T8_CC2
Definition: stm32f4xx_hal_adc_ex.h:207
#define ADC_DMAACCESSMODE_2
Definition: stm32f4xx_hal_adc_ex.h:175
#define ADC_DMAACCESSMODE_3
Definition: stm32f4xx_hal_adc_ex.h:176
#define ADC_EXTERNALTRIGINJECCONV_T3_CC2
Definition: stm32f4xx_hal_adc_ex.h:199
#define ADC_EXTERNALTRIGINJECCONVEDGE_FALLING
Definition: stm32f4xx_hal_adc_ex.h:186