STM32H735xx HAL User Manual
|
Defines | |
#define | ADC_CLOCK_RATIO_VS_CPU_HIGHEST (512UL * 16UL * 4UL) |
#define | ADC_TIMEOUT_DISABLE_CPU_CYCLES (ADC_CLOCK_RATIO_VS_CPU_HIGHEST * 1UL) |
#define | ADC_TIMEOUT_STOP_CONVERSION_CPU_CYCLES (ADC_CLOCK_RATIO_VS_CPU_HIGHEST * 1UL) |
#define | ADC_CALIB_FACTOR_OFFSET_REGOFFSET (0x00000000UL) /* Register CALFACT defined as reference register */ |
#define | ADC_CALIB_FACTOR_LINEARITY_REGOFFSET (0x00000001UL) /* Register CALFACT2 offset vs register CALFACT */ |
#define | ADC_CALIB_FACTOR_REGOFFSET_MASK (ADC_CALIB_FACTOR_OFFSET_REGOFFSET | ADC_CALIB_FACTOR_LINEARITY_REGOFFSET) |
#define | ADC_CALIB_MODE_MASK (ADC_CR_ADCALLIN) |
#define | ADC_CALIB_MODE_BINARY_MASK (ADC_CALIB_FACTOR_REGOFFSET_MASK) /* Mask to get binary value of calibration mode: 0 for offset, 1 for linearity */ |
#define | ADC_SQR1_REGOFFSET (0x00000000UL) |
#define | ADC_SQR2_REGOFFSET (0x00000100UL) |
#define | ADC_SQR3_REGOFFSET (0x00000200UL) |
#define | ADC_SQR4_REGOFFSET (0x00000300UL) |
#define | ADC_REG_SQRX_REGOFFSET_MASK (ADC_SQR1_REGOFFSET | ADC_SQR2_REGOFFSET | ADC_SQR3_REGOFFSET | ADC_SQR4_REGOFFSET) |
#define | ADC_SQRX_REGOFFSET_POS (8UL) /* Position of bits ADC_SQRx_REGOFFSET in ADC_REG_SQRX_REGOFFSET_MASK */ |
#define | ADC_REG_RANK_ID_SQRX_MASK (ADC_CHANNEL_ID_NUMBER_MASK_POSBIT0) |
#define | ADC_REG_RANK_1_SQRX_BITOFFSET_POS ( 6UL) /* Value equivalent to bitfield "ADC_SQR1_SQ1" position in register */ |
#define | ADC_REG_RANK_2_SQRX_BITOFFSET_POS (12UL) /* Value equivalent to bitfield "ADC_SQR1_SQ2" position in register */ |
#define | ADC_REG_RANK_3_SQRX_BITOFFSET_POS (18UL) /* Value equivalent to bitfield "ADC_SQR1_SQ3" position in register */ |
#define | ADC_REG_RANK_4_SQRX_BITOFFSET_POS (24UL) /* Value equivalent to bitfield "ADC_SQR1_SQ4" position in register */ |
#define | ADC_REG_RANK_5_SQRX_BITOFFSET_POS ( 0UL) /* Value equivalent to bitfield "ADC_SQR2_SQ5" position in register */ |
#define | ADC_REG_RANK_6_SQRX_BITOFFSET_POS ( 6UL) /* Value equivalent to bitfield "ADC_SQR2_SQ6" position in register */ |
#define | ADC_REG_RANK_7_SQRX_BITOFFSET_POS (12UL) /* Value equivalent to bitfield "ADC_SQR2_SQ7" position in register */ |
#define | ADC_REG_RANK_8_SQRX_BITOFFSET_POS (18UL) /* Value equivalent to bitfield "ADC_SQR2_SQ8" position in register */ |
#define | ADC_REG_RANK_9_SQRX_BITOFFSET_POS (24UL) /* Value equivalent to bitfield "ADC_SQR2_SQ9" position in register */ |
#define | ADC_REG_RANK_10_SQRX_BITOFFSET_POS ( 0UL) /* Value equivalent to bitfield "ADC_SQR3_SQ10" position in register */ |
#define | ADC_REG_RANK_11_SQRX_BITOFFSET_POS ( 6UL) /* Value equivalent to bitfield "ADC_SQR3_SQ11" position in register */ |
#define | ADC_REG_RANK_12_SQRX_BITOFFSET_POS (12UL) /* Value equivalent to bitfield "ADC_SQR3_SQ12" position in register */ |
#define | ADC_REG_RANK_13_SQRX_BITOFFSET_POS (18UL) /* Value equivalent to bitfield "ADC_SQR3_SQ13" position in register */ |
#define | ADC_REG_RANK_14_SQRX_BITOFFSET_POS (24UL) /* Value equivalent to bitfield "ADC_SQR3_SQ14" position in register */ |
#define | ADC_REG_RANK_15_SQRX_BITOFFSET_POS ( 0UL) /* Value equivalent to bitfield "ADC_SQR4_SQ15" position in register */ |
#define | ADC_REG_RANK_16_SQRX_BITOFFSET_POS ( 6UL) /* Value equivalent to bitfield "ADC_SQR4_SQ16" position in register */ |
#define | ADC_JDR1_REGOFFSET (0x00000000UL) |
#define | ADC_JDR2_REGOFFSET (0x00000100UL) |
#define | ADC_JDR3_REGOFFSET (0x00000200UL) |
#define | ADC_JDR4_REGOFFSET (0x00000300UL) |
#define | ADC_INJ_JDRX_REGOFFSET_MASK (ADC_JDR1_REGOFFSET | ADC_JDR2_REGOFFSET | ADC_JDR3_REGOFFSET | ADC_JDR4_REGOFFSET) |
#define | ADC_INJ_RANK_ID_JSQR_MASK (ADC_CHANNEL_ID_NUMBER_MASK_POSBIT0) |
#define | ADC_JDRX_REGOFFSET_POS (8UL) /* Position of bits ADC_JDRx_REGOFFSET in ADC_INJ_JDRX_REGOFFSET_MASK */ |
#define | ADC_INJ_RANK_1_JSQR_BITOFFSET_POS (ADC_JSQR_JSQ1_Pos) |
#define | ADC_INJ_RANK_2_JSQR_BITOFFSET_POS (ADC_JSQR_JSQ2_Pos) |
#define | ADC_INJ_RANK_3_JSQR_BITOFFSET_POS (ADC_JSQR_JSQ3_Pos) |
#define | ADC_INJ_RANK_4_JSQR_BITOFFSET_POS (ADC_JSQR_JSQ4_Pos) |
#define | ADC_REG_TRIG_EXT_EDGE_DEFAULT (ADC_CFGR_EXTEN_0) /* Trigger edge set to rising edge (default setting for compatibility with some ADC on other STM32 families having this setting set by HW default value) */ |
#define | ADC_REG_TRIG_SOURCE_MASK |
#define | ADC_REG_TRIG_EDGE_MASK |
#define | ADC_REG_TRIG_EXTSEL_BITOFFSET_POS ( 6UL) /* Value equivalent to bitfield "ADC_CFGR_EXTSEL" position in register */ |
#define | ADC_REG_TRIG_EXTEN_BITOFFSET_POS (10UL) /* Value equivalent to bitfield "ADC_CFGR_EXTEN" position in register */ |
#define | ADC_INJ_TRIG_EXT_EDGE_DEFAULT (ADC_JSQR_JEXTEN_0) /* Trigger edge set to rising edge (default setting for compatibility with some ADC on other STM32 families having this setting set by HW default value) */ |
#define | ADC_INJ_TRIG_SOURCE_MASK |
#define | ADC_INJ_TRIG_EDGE_MASK |
#define | ADC_INJ_TRIG_EXTSEL_BITOFFSET_POS ( 2UL) /* Value equivalent to bitfield "ADC_JSQR_JEXTSEL" position in register */ |
#define | ADC_INJ_TRIG_EXTEN_BITOFFSET_POS ( 6UL) /* Value equivalent to bitfield "ADC_JSQR_JEXTEN" position in register */ |
#define | ADC_CHANNEL_ID_NUMBER_MASK (ADC_CFGR_AWD1CH) |
#define | ADC_CHANNEL_ID_BITFIELD_MASK (ADC_AWD2CR_AWD2CH) |
#define | ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS (26UL)/* Value equivalent to bitfield "ADC_CHANNEL_ID_NUMBER_MASK" position in register */ |
#define | ADC_CHANNEL_ID_MASK (ADC_CHANNEL_ID_NUMBER_MASK | ADC_CHANNEL_ID_BITFIELD_MASK | ADC_CHANNEL_ID_INTERNAL_CH_MASK) |
#define | ADC_CHANNEL_ID_NUMBER_MASK_POSBIT0 (ADC_SQR2_SQ5) /* Equivalent to shift: (ADC_CHANNEL_NUMBER_MASK >> [Position of bitfield "ADC_CHANNEL_NUMBER_MASK" in register]) */ |
#define | ADC_CHANNEL_ID_INTERNAL_CH (0x80000000UL) /* Marker of internal channel */ |
#define | ADC_CHANNEL_ID_INTERNAL_CH_MASK (ADC_CHANNEL_ID_INTERNAL_CH) |
#define | ADC_SMPR1_REGOFFSET (0x00000000UL) |
#define | ADC_SMPR2_REGOFFSET (0x02000000UL) |
#define | ADC_CHANNEL_SMPRX_REGOFFSET_MASK (ADC_SMPR1_REGOFFSET | ADC_SMPR2_REGOFFSET) |
#define | ADC_SMPRX_REGOFFSET_POS (25UL) /* Position of bits ADC_SMPRx_REGOFFSET in ADC_CHANNEL_SMPRX_REGOFFSET_MASK */ |
#define | ADC_CHANNEL_SMPx_BITOFFSET_MASK (0x01F00000UL) |
#define | ADC_CHANNEL_SMPx_BITOFFSET_POS (20UL) /* Value equivalent to bitfield "ADC_CHANNEL_SMPx_BITOFFSET_MASK" position in register */ |
#define | ADC_CHANNEL_0_NUMBER (0x00000000UL) |
#define | ADC_CHANNEL_1_NUMBER ( ADC_CFGR_AWD1CH_0) |
#define | ADC_CHANNEL_2_NUMBER ( ADC_CFGR_AWD1CH_1 ) |
#define | ADC_CHANNEL_3_NUMBER ( ADC_CFGR_AWD1CH_1 | ADC_CFGR_AWD1CH_0) |
#define | ADC_CHANNEL_4_NUMBER ( ADC_CFGR_AWD1CH_2 ) |
#define | ADC_CHANNEL_5_NUMBER ( ADC_CFGR_AWD1CH_2 | ADC_CFGR_AWD1CH_0) |
#define | ADC_CHANNEL_6_NUMBER ( ADC_CFGR_AWD1CH_2 | ADC_CFGR_AWD1CH_1 ) |
#define | ADC_CHANNEL_7_NUMBER ( ADC_CFGR_AWD1CH_2 | ADC_CFGR_AWD1CH_1 | ADC_CFGR_AWD1CH_0) |
#define | ADC_CHANNEL_8_NUMBER ( ADC_CFGR_AWD1CH_3 ) |
#define | ADC_CHANNEL_9_NUMBER ( ADC_CFGR_AWD1CH_3 | ADC_CFGR_AWD1CH_0) |
#define | ADC_CHANNEL_10_NUMBER ( ADC_CFGR_AWD1CH_3 | ADC_CFGR_AWD1CH_1 ) |
#define | ADC_CHANNEL_11_NUMBER ( ADC_CFGR_AWD1CH_3 | ADC_CFGR_AWD1CH_1 | ADC_CFGR_AWD1CH_0) |
#define | ADC_CHANNEL_12_NUMBER ( ADC_CFGR_AWD1CH_3 | ADC_CFGR_AWD1CH_2 ) |
#define | ADC_CHANNEL_13_NUMBER ( ADC_CFGR_AWD1CH_3 | ADC_CFGR_AWD1CH_2 | ADC_CFGR_AWD1CH_0) |
#define | ADC_CHANNEL_14_NUMBER ( ADC_CFGR_AWD1CH_3 | ADC_CFGR_AWD1CH_2 | ADC_CFGR_AWD1CH_1 ) |
#define | ADC_CHANNEL_15_NUMBER ( ADC_CFGR_AWD1CH_3 | ADC_CFGR_AWD1CH_2 | ADC_CFGR_AWD1CH_1 | ADC_CFGR_AWD1CH_0) |
#define | ADC_CHANNEL_16_NUMBER (ADC_CFGR_AWD1CH_4 ) |
#define | ADC_CHANNEL_17_NUMBER (ADC_CFGR_AWD1CH_4 | ADC_CFGR_AWD1CH_0) |
#define | ADC_CHANNEL_18_NUMBER (ADC_CFGR_AWD1CH_4 | ADC_CFGR_AWD1CH_1 ) |
#define | ADC_CHANNEL_19_NUMBER (ADC_CFGR_AWD1CH_4 | ADC_CFGR_AWD1CH_1 | ADC_CFGR_AWD1CH_0) |
#define | ADC_CHANNEL_0_BITFIELD (ADC_AWD2CR_AWD2CH_0) |
#define | ADC_CHANNEL_1_BITFIELD (ADC_AWD2CR_AWD2CH_1) |
#define | ADC_CHANNEL_2_BITFIELD (ADC_AWD2CR_AWD2CH_2) |
#define | ADC_CHANNEL_3_BITFIELD (ADC_AWD2CR_AWD2CH_3) |
#define | ADC_CHANNEL_4_BITFIELD (ADC_AWD2CR_AWD2CH_4) |
#define | ADC_CHANNEL_5_BITFIELD (ADC_AWD2CR_AWD2CH_5) |
#define | ADC_CHANNEL_6_BITFIELD (ADC_AWD2CR_AWD2CH_6) |
#define | ADC_CHANNEL_7_BITFIELD (ADC_AWD2CR_AWD2CH_7) |
#define | ADC_CHANNEL_8_BITFIELD (ADC_AWD2CR_AWD2CH_8) |
#define | ADC_CHANNEL_9_BITFIELD (ADC_AWD2CR_AWD2CH_9) |
#define | ADC_CHANNEL_10_BITFIELD (ADC_AWD2CR_AWD2CH_10) |
#define | ADC_CHANNEL_11_BITFIELD (ADC_AWD2CR_AWD2CH_11) |
#define | ADC_CHANNEL_12_BITFIELD (ADC_AWD2CR_AWD2CH_12) |
#define | ADC_CHANNEL_13_BITFIELD (ADC_AWD2CR_AWD2CH_13) |
#define | ADC_CHANNEL_14_BITFIELD (ADC_AWD2CR_AWD2CH_14) |
#define | ADC_CHANNEL_15_BITFIELD (ADC_AWD2CR_AWD2CH_15) |
#define | ADC_CHANNEL_16_BITFIELD (ADC_AWD2CR_AWD2CH_16) |
#define | ADC_CHANNEL_17_BITFIELD (ADC_AWD2CR_AWD2CH_17) |
#define | ADC_CHANNEL_18_BITFIELD (ADC_AWD2CR_AWD2CH_18) |
#define | ADC_CHANNEL_19_BITFIELD (ADC_AWD2CR_AWD2CH_19) |
#define | ADC_CHANNEL_0_SMP (ADC_SMPR1_REGOFFSET | (( 0UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR1_SMP0" position in register */ |
#define | ADC_CHANNEL_1_SMP (ADC_SMPR1_REGOFFSET | (( 3UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR1_SMP1" position in register */ |
#define | ADC_CHANNEL_2_SMP (ADC_SMPR1_REGOFFSET | (( 6UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR1_SMP2" position in register */ |
#define | ADC_CHANNEL_3_SMP (ADC_SMPR1_REGOFFSET | (( 9UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR1_SMP3" position in register */ |
#define | ADC_CHANNEL_4_SMP (ADC_SMPR1_REGOFFSET | ((12UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR1_SMP4" position in register */ |
#define | ADC_CHANNEL_5_SMP (ADC_SMPR1_REGOFFSET | ((15UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR1_SMP5" position in register */ |
#define | ADC_CHANNEL_6_SMP (ADC_SMPR1_REGOFFSET | ((18UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR1_SMP6" position in register */ |
#define | ADC_CHANNEL_7_SMP (ADC_SMPR1_REGOFFSET | ((21UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR1_SMP7" position in register */ |
#define | ADC_CHANNEL_8_SMP (ADC_SMPR1_REGOFFSET | ((24UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR1_SMP8" position in register */ |
#define | ADC_CHANNEL_9_SMP (ADC_SMPR1_REGOFFSET | ((27UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR1_SMP9" position in register */ |
#define | ADC_CHANNEL_10_SMP (ADC_SMPR2_REGOFFSET | (( 0UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR2_SMP10" position in register */ |
#define | ADC_CHANNEL_11_SMP (ADC_SMPR2_REGOFFSET | (( 3UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR2_SMP11" position in register */ |
#define | ADC_CHANNEL_12_SMP (ADC_SMPR2_REGOFFSET | (( 6UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR2_SMP12" position in register */ |
#define | ADC_CHANNEL_13_SMP (ADC_SMPR2_REGOFFSET | (( 9UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR2_SMP13" position in register */ |
#define | ADC_CHANNEL_14_SMP (ADC_SMPR2_REGOFFSET | ((12UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR2_SMP14" position in register */ |
#define | ADC_CHANNEL_15_SMP (ADC_SMPR2_REGOFFSET | ((15UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR2_SMP15" position in register */ |
#define | ADC_CHANNEL_16_SMP (ADC_SMPR2_REGOFFSET | ((18UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR2_SMP16" position in register */ |
#define | ADC_CHANNEL_17_SMP (ADC_SMPR2_REGOFFSET | ((21UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR2_SMP17" position in register */ |
#define | ADC_CHANNEL_18_SMP (ADC_SMPR2_REGOFFSET | ((24UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR2_SMP18" position in register */ |
#define | ADC_CHANNEL_19_SMP (ADC_SMPR2_REGOFFSET | ((27UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR2_SMP19" position in register */ |
#define | ADC_SINGLEDIFF_CALIB_START_MASK (ADC_CR_ADCALDIF) |
#define | ADC_SINGLEDIFF_CALIB_FACTOR_MASK (ADC_CALFACT_CALFACT_D | ADC_CALFACT_CALFACT_S) |
#define | ADC_SINGLEDIFF_CHANNEL_MASK (ADC_CHANNEL_ID_BITFIELD_MASK) /* Equivalent to ADC_DIFSEL_DIFSEL */ |
#define | ADC_SINGLEDIFF_CHANNEL_SHIFT_MASK (ADC_CALFACT_CALFACT_S_4 | ADC_CALFACT_CALFACT_S_3) /* Bits chosen to perform of shift when single mode is selected, shift value out of channels bits range. */ |
#define | ADC_SINGLEDIFF_CALIB_F_BIT_D_MASK (0x00010000UL) /* Selection of 1 bit to discriminate differential mode: mask of bit */ |
#define | ADC_SINGLEDIFF_CALIB_F_BIT_D_POS (16UL) /* Selection of 1 bit to discriminate differential mode: position of bit */ |
#define | ADC_SINGLEDIFF_CALIB_F_BIT_D_SHIFT4 (ADC_SINGLEDIFF_CALIB_F_BIT_D_POS - 4UL) /* Shift of bit ADC_SINGLEDIFF_CALIB_F_BIT_D to position to perform a shift of 4 ranks */ |
#define | ADC_AWD_CR1_REGOFFSET (0x00000000UL) |
#define | ADC_AWD_CR2_REGOFFSET (0x00100000UL) |
#define | ADC_AWD_CR3_REGOFFSET (0x00200000UL) |
#define | ADC_AWD_CR12_REGOFFSETGAP_MASK (ADC_AWD2CR_AWD2CH_0) |
#define | ADC_AWD_CR12_REGOFFSETGAP_VAL (0x00000024UL) |
#define | ADC_AWD_CRX_REGOFFSET_MASK (ADC_AWD_CR1_REGOFFSET | ADC_AWD_CR2_REGOFFSET | ADC_AWD_CR3_REGOFFSET) |
#define | ADC_AWD_CR1_CHANNEL_MASK (ADC_CFGR_AWD1CH | ADC_CFGR_JAWD1EN | ADC_CFGR_AWD1EN | ADC_CFGR_AWD1SGL) |
#define | ADC_AWD_CR23_CHANNEL_MASK (ADC_AWD2CR_AWD2CH) |
#define | ADC_AWD_CR_ALL_CHANNEL_MASK (ADC_AWD_CR1_CHANNEL_MASK | ADC_AWD_CR23_CHANNEL_MASK) |
#define | ADC_AWD_CRX_REGOFFSET_POS (20UL) /* Position of bits ADC_AWD_CRx_REGOFFSET in ADC_AWD_CRX_REGOFFSET_MASK */ |
#define | ADC_AWD_TR1_REGOFFSET (ADC_AWD_CR1_REGOFFSET) |
#define | ADC_AWD_TR2_REGOFFSET (ADC_AWD_CR2_REGOFFSET) |
#define | ADC_AWD_TR3_REGOFFSET (ADC_AWD_CR3_REGOFFSET) |
#define | ADC_AWD_TRX_REGOFFSET_MASK (ADC_AWD_TR1_REGOFFSET | ADC_AWD_TR2_REGOFFSET | ADC_AWD_TR3_REGOFFSET) |
#define | ADC_AWD_TRX_REGOFFSET_POS (ADC_AWD_CRX_REGOFFSET_POS) /* Position of bits ADC_TRx_REGOFFSET in ADC_AWD_TRX_REGOFFSET_MASK */ |
#define | ADC_AWD_TRX_BIT_HIGH_MASK (0x00010000UL) /* Selection of 1 bit to discriminate threshold high: mask of bit */ |
#define | ADC_AWD_TRX_BIT_HIGH_POS (16UL) /* Selection of 1 bit to discriminate threshold high: position of bit */ |
#define | ADC_AWD_TRX_BIT_HIGH_SHIFT4 (ADC_AWD_TRX_BIT_HIGH_POS - 4UL) /* Shift of bit ADC_AWD_TRX_BIT_HIGH to position to perform a shift of 4 ranks */ |
#define | ADC_AWD_TR12_REGOFFSETGAP_MASK (ADC_AWD2CR_AWD2CH_0) |
#define | ADC_AWD_TR12_REGOFFSETGAP_VAL (0x00000022UL) |
#define | LL_ADC_AWD1_TR LL_ADC_AWD1 |
#define | LL_ADC_AWD2_TR LL_ADC_AWD2 |
#define | LL_ADC_AWD3_TR LL_ADC_AWD3 |
#define | ADC_OFR1_REGOFFSET (0x00000000UL) |
#define | ADC_OFR2_REGOFFSET (0x00000001UL) |
#define | ADC_OFR3_REGOFFSET (0x00000002UL) |
#define | ADC_OFR4_REGOFFSET (0x00000003UL) |
#define | ADC_OFRx_REGOFFSET_MASK (ADC_OFR1_REGOFFSET | ADC_OFR2_REGOFFSET | ADC_OFR3_REGOFFSET | ADC_OFR4_REGOFFSET) |
#define | ADC_CFGR_RES_BITOFFSET_POS (ADC_CFGR_RES_Pos) |
#define | ADC_CFGR_AWD1SGL_BITOFFSET_POS (ADC_CFGR_AWD1SGL_Pos) |
#define | ADC_CFGR_AWD1EN_BITOFFSET_POS (ADC_CFGR_AWD1EN_Pos) |
#define | ADC_CFGR_JAWD1EN_BITOFFSET_POS (ADC_CFGR_JAWD1EN_Pos) |
#define | ADC_CFGR_RES_BITOFFSET_POS_ADC3 (ADC3_CFGR_RES_Pos) |
#define | ADC_CR_BITS_PROPERTY_RS (ADC_CR_ADCAL | ADC_CR_JADSTP | ADC_CR_ADSTP | ADC_CR_JADSTART | ADC_CR_ADSTART | ADC_CR_ADDIS | ADC_CR_ADEN) /* ADC register CR bits with HW property "rs": Software can read as well as set this bit. Writing '0' has no effect on the bit value. */ |
#define | VREFINT_CAL_ADDR ((uint16_t*) (0x1FF1E860UL)) /* Internal voltage reference, address of parameter VREFINT_CAL: VrefInt ADC raw data acquired at temperature 30 DegC (tolerance: +-5 DegC), Vref+ = 3.3 V (tolerance: +-10 mV). */ |
#define | VREFINT_CAL_VREF (3300UL) /* Analog voltage reference (Vref+) value with which temperature sensor has been calibrated in production (tolerance: +-10 mV) (unit: mV). */ |
#define | TEMPSENSOR_CAL1_ADDR ((uint16_t*) (0x1FF1E820UL)) /* Internal temperature sensor, address of parameter TS_CAL1: On STM32H7, temperature sensor ADC raw data acquired at temperature 30 DegC (tolerance: +-5 DegC), Vref+ = 3.3 V (tolerance: +-10 mV). */ |
#define | TEMPSENSOR_CAL2_ADDR ((uint16_t*) (0x1FF1E840UL)) /* Internal temperature sensor, address of parameter TS_CAL2: On STM32H7, temperature sensor ADC raw data acquired at temperature 110 DegC (tolerance: +-5 DegC), Vref+ = 3.3 V (tolerance: +-10 mV). */ |
#define | TEMPSENSOR_CAL1_TEMP (30L) /* Internal temperature sensor, temperature at which temperature sensor has been calibrated in production for data into TEMPSENSOR_CAL1_ADDR (tolerance: +-5 DegC) (unit: DegC). */ |
#define | TEMPSENSOR_CAL2_TEMP (110L) /* Internal temperature sensor, temperature at which temperature sensor has been calibrated in production for data into TEMPSENSOR_CAL2_ADDR (tolerance: +-5 DegC) (unit: DegC). */ |
#define | TEMPSENSOR_CAL_VREFANALOG (3300UL) /* Analog voltage reference (Vref+) voltage with which temperature sensor has been calibrated in production (+-10 mV) (unit: mV). */ |
#define | ADC_LINEAR_CALIB_REG_1_ADDR ((uint32_t*) (0x1FF1EC00UL)) |
#define | ADC_LINEAR_CALIB_REG_2_ADDR ((uint32_t*) (0x1FF1EC04UL)) |
#define | ADC_LINEAR_CALIB_REG_3_ADDR ((uint32_t*) (0x1FF1EC08UL)) |
#define | ADC_LINEAR_CALIB_REG_4_ADDR ((uint32_t*) (0x1FF1EC0CUL)) |
#define | ADC_LINEAR_CALIB_REG_5_ADDR ((uint32_t*) (0x1FF1EC10UL)) |
#define | ADC_LINEAR_CALIB_REG_6_ADDR ((uint32_t*) (0x1FF1EC14UL)) |
#define | ADC_LINEAR_CALIB_REG_COUNT (6UL) |
#define ADC_AWD_CR12_REGOFFSETGAP_MASK (ADC_AWD2CR_AWD2CH_0) |
Definition at line 313 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_GetAnalogWDMonitChannels(), and LL_ADC_SetAnalogWDMonitChannels().
#define ADC_AWD_CR12_REGOFFSETGAP_VAL (0x00000024UL) |
Definition at line 314 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_GetAnalogWDMonitChannels(), and LL_ADC_SetAnalogWDMonitChannels().
#define ADC_AWD_CR1_CHANNEL_MASK (ADC_CFGR_AWD1CH | ADC_CFGR_JAWD1EN | ADC_CFGR_AWD1EN | ADC_CFGR_AWD1SGL) |
Definition at line 318 of file stm32h7xx_ll_adc.h.
#define ADC_AWD_CR1_REGOFFSET (0x00000000UL) |
Definition at line 307 of file stm32h7xx_ll_adc.h.
#define ADC_AWD_CR23_CHANNEL_MASK (ADC_AWD2CR_AWD2CH) |
Definition at line 319 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_GetAnalogWDMonitChannels().
#define ADC_AWD_CR2_REGOFFSET (0x00100000UL) |
Definition at line 308 of file stm32h7xx_ll_adc.h.
#define ADC_AWD_CR3_REGOFFSET (0x00200000UL) |
Definition at line 309 of file stm32h7xx_ll_adc.h.
Definition at line 320 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_GetAnalogWDMonitChannels(), and LL_ADC_SetAnalogWDMonitChannels().
#define ADC_AWD_CRX_REGOFFSET_MASK (ADC_AWD_CR1_REGOFFSET | ADC_AWD_CR2_REGOFFSET | ADC_AWD_CR3_REGOFFSET) |
Definition at line 316 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_GetAnalogWDMonitChannels(), and LL_ADC_SetAnalogWDMonitChannels().
#define ADC_AWD_CRX_REGOFFSET_POS (20UL) /* Position of bits ADC_AWD_CRx_REGOFFSET in ADC_AWD_CRX_REGOFFSET_MASK */ |
Definition at line 322 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_GetAnalogWDMonitChannels(), and LL_ADC_SetAnalogWDMonitChannels().
#define ADC_AWD_TR12_REGOFFSETGAP_MASK (ADC_AWD2CR_AWD2CH_0) |
Definition at line 338 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_ConfigAnalogWDThresholds(), LL_ADC_GetAnalogWDThresholds(), and LL_ADC_SetAnalogWDThresholds().
#define ADC_AWD_TR12_REGOFFSETGAP_VAL (0x00000022UL) |
Definition at line 339 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_ConfigAnalogWDThresholds(), LL_ADC_GetAnalogWDThresholds(), and LL_ADC_SetAnalogWDThresholds().
#define ADC_AWD_TR1_REGOFFSET (ADC_AWD_CR1_REGOFFSET) |
Definition at line 325 of file stm32h7xx_ll_adc.h.
#define ADC_AWD_TR2_REGOFFSET (ADC_AWD_CR2_REGOFFSET) |
Definition at line 326 of file stm32h7xx_ll_adc.h.
#define ADC_AWD_TR3_REGOFFSET (ADC_AWD_CR3_REGOFFSET) |
Definition at line 327 of file stm32h7xx_ll_adc.h.
#define ADC_AWD_TRX_BIT_HIGH_MASK (0x00010000UL) /* Selection of 1 bit to discriminate threshold high: mask of bit */ |
Definition at line 331 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_SetAnalogWDThresholds().
#define ADC_AWD_TRX_BIT_HIGH_POS (16UL) /* Selection of 1 bit to discriminate threshold high: position of bit */ |
Definition at line 332 of file stm32h7xx_ll_adc.h.
#define ADC_AWD_TRX_BIT_HIGH_SHIFT4 (ADC_AWD_TRX_BIT_HIGH_POS - 4UL) /* Shift of bit ADC_AWD_TRX_BIT_HIGH to position to perform a shift of 4 ranks */ |
Definition at line 333 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_SetAnalogWDThresholds().
#define ADC_AWD_TRX_REGOFFSET_MASK (ADC_AWD_TR1_REGOFFSET | ADC_AWD_TR2_REGOFFSET | ADC_AWD_TR3_REGOFFSET) |
Definition at line 328 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_ConfigAnalogWDThresholds(), LL_ADC_GetAnalogWDThresholds(), and LL_ADC_SetAnalogWDThresholds().
#define ADC_AWD_TRX_REGOFFSET_POS (ADC_AWD_CRX_REGOFFSET_POS) /* Position of bits ADC_TRx_REGOFFSET in ADC_AWD_TRX_REGOFFSET_MASK */ |
Definition at line 329 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_ConfigAnalogWDThresholds(), LL_ADC_GetAnalogWDThresholds(), and LL_ADC_SetAnalogWDThresholds().
#define ADC_CALIB_FACTOR_LINEARITY_REGOFFSET (0x00000001UL) /* Register CALFACT2 offset vs register CALFACT */ |
Definition at line 57 of file stm32h7xx_ll_adc.h.
#define ADC_CALIB_FACTOR_OFFSET_REGOFFSET (0x00000000UL) /* Register CALFACT defined as reference register */ |
Definition at line 56 of file stm32h7xx_ll_adc.h.
#define ADC_CALIB_FACTOR_REGOFFSET_MASK (ADC_CALIB_FACTOR_OFFSET_REGOFFSET | ADC_CALIB_FACTOR_LINEARITY_REGOFFSET) |
Definition at line 58 of file stm32h7xx_ll_adc.h.
#define ADC_CALIB_MODE_BINARY_MASK (ADC_CALIB_FACTOR_REGOFFSET_MASK) /* Mask to get binary value of calibration mode: 0 for offset, 1 for linearity */ |
Definition at line 60 of file stm32h7xx_ll_adc.h.
#define ADC_CALIB_MODE_MASK (ADC_CR_ADCALLIN) |
Definition at line 59 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_StartCalibration().
#define ADC_CFGR_AWD1EN_BITOFFSET_POS (ADC_CFGR_AWD1EN_Pos) |
Definition at line 358 of file stm32h7xx_ll_adc.h.
#define ADC_CFGR_AWD1SGL_BITOFFSET_POS (ADC_CFGR_AWD1SGL_Pos) |
Definition at line 357 of file stm32h7xx_ll_adc.h.
#define ADC_CFGR_JAWD1EN_BITOFFSET_POS (ADC_CFGR_JAWD1EN_Pos) |
Definition at line 359 of file stm32h7xx_ll_adc.h.
#define ADC_CFGR_RES_BITOFFSET_POS (ADC_CFGR_RES_Pos) |
Definition at line 356 of file stm32h7xx_ll_adc.h.
#define ADC_CFGR_RES_BITOFFSET_POS_ADC3 (ADC3_CFGR_RES_Pos) |
Definition at line 361 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_0_BITFIELD (ADC_AWD2CR_AWD2CH_0) |
Definition at line 238 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_0_NUMBER (0x00000000UL) |
Definition at line 215 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_0_SMP (ADC_SMPR1_REGOFFSET | (( 0UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR1_SMP0" position in register */ |
Definition at line 261 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_10_BITFIELD (ADC_AWD2CR_AWD2CH_10) |
Definition at line 248 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_10_NUMBER ( ADC_CFGR_AWD1CH_3 | ADC_CFGR_AWD1CH_1 ) |
Definition at line 225 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_10_SMP (ADC_SMPR2_REGOFFSET | (( 0UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR2_SMP10" position in register */ |
Definition at line 271 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_11_BITFIELD (ADC_AWD2CR_AWD2CH_11) |
Definition at line 249 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_11_NUMBER ( ADC_CFGR_AWD1CH_3 | ADC_CFGR_AWD1CH_1 | ADC_CFGR_AWD1CH_0) |
Definition at line 226 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_11_SMP (ADC_SMPR2_REGOFFSET | (( 3UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR2_SMP11" position in register */ |
Definition at line 272 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_12_BITFIELD (ADC_AWD2CR_AWD2CH_12) |
Definition at line 250 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_12_NUMBER ( ADC_CFGR_AWD1CH_3 | ADC_CFGR_AWD1CH_2 ) |
Definition at line 227 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_12_SMP (ADC_SMPR2_REGOFFSET | (( 6UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR2_SMP12" position in register */ |
Definition at line 273 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_13_BITFIELD (ADC_AWD2CR_AWD2CH_13) |
Definition at line 251 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_13_NUMBER ( ADC_CFGR_AWD1CH_3 | ADC_CFGR_AWD1CH_2 | ADC_CFGR_AWD1CH_0) |
Definition at line 228 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_13_SMP (ADC_SMPR2_REGOFFSET | (( 9UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR2_SMP13" position in register */ |
Definition at line 274 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_14_BITFIELD (ADC_AWD2CR_AWD2CH_14) |
Definition at line 252 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_14_NUMBER ( ADC_CFGR_AWD1CH_3 | ADC_CFGR_AWD1CH_2 | ADC_CFGR_AWD1CH_1 ) |
Definition at line 229 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_14_SMP (ADC_SMPR2_REGOFFSET | ((12UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR2_SMP14" position in register */ |
Definition at line 275 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_15_BITFIELD (ADC_AWD2CR_AWD2CH_15) |
Definition at line 253 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_15_NUMBER ( ADC_CFGR_AWD1CH_3 | ADC_CFGR_AWD1CH_2 | ADC_CFGR_AWD1CH_1 | ADC_CFGR_AWD1CH_0) |
Definition at line 230 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_15_SMP (ADC_SMPR2_REGOFFSET | ((15UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR2_SMP15" position in register */ |
Definition at line 276 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_16_BITFIELD (ADC_AWD2CR_AWD2CH_16) |
Definition at line 254 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_16_NUMBER (ADC_CFGR_AWD1CH_4 ) |
Definition at line 231 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_16_SMP (ADC_SMPR2_REGOFFSET | ((18UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR2_SMP16" position in register */ |
Definition at line 277 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_17_BITFIELD (ADC_AWD2CR_AWD2CH_17) |
Definition at line 255 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_17_NUMBER (ADC_CFGR_AWD1CH_4 | ADC_CFGR_AWD1CH_0) |
Definition at line 232 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_17_SMP (ADC_SMPR2_REGOFFSET | ((21UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR2_SMP17" position in register */ |
Definition at line 278 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_18_BITFIELD (ADC_AWD2CR_AWD2CH_18) |
Definition at line 256 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_18_NUMBER (ADC_CFGR_AWD1CH_4 | ADC_CFGR_AWD1CH_1 ) |
Definition at line 233 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_18_SMP (ADC_SMPR2_REGOFFSET | ((24UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR2_SMP18" position in register */ |
Definition at line 279 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_19_BITFIELD (ADC_AWD2CR_AWD2CH_19) |
Definition at line 257 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_19_NUMBER (ADC_CFGR_AWD1CH_4 | ADC_CFGR_AWD1CH_1 | ADC_CFGR_AWD1CH_0) |
Definition at line 234 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_19_SMP (ADC_SMPR2_REGOFFSET | ((27UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR2_SMP19" position in register */ |
Definition at line 280 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_1_BITFIELD (ADC_AWD2CR_AWD2CH_1) |
Definition at line 239 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_1_NUMBER ( ADC_CFGR_AWD1CH_0) |
Definition at line 216 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_1_SMP (ADC_SMPR1_REGOFFSET | (( 3UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR1_SMP1" position in register */ |
Definition at line 262 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_2_BITFIELD (ADC_AWD2CR_AWD2CH_2) |
Definition at line 240 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_2_NUMBER ( ADC_CFGR_AWD1CH_1 ) |
Definition at line 217 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_2_SMP (ADC_SMPR1_REGOFFSET | (( 6UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR1_SMP2" position in register */ |
Definition at line 263 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_3_BITFIELD (ADC_AWD2CR_AWD2CH_3) |
Definition at line 241 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_3_NUMBER ( ADC_CFGR_AWD1CH_1 | ADC_CFGR_AWD1CH_0) |
Definition at line 218 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_3_SMP (ADC_SMPR1_REGOFFSET | (( 9UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR1_SMP3" position in register */ |
Definition at line 264 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_4_BITFIELD (ADC_AWD2CR_AWD2CH_4) |
Definition at line 242 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_4_NUMBER ( ADC_CFGR_AWD1CH_2 ) |
Definition at line 219 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_4_SMP (ADC_SMPR1_REGOFFSET | ((12UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR1_SMP4" position in register */ |
Definition at line 265 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_5_BITFIELD (ADC_AWD2CR_AWD2CH_5) |
Definition at line 243 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_5_NUMBER ( ADC_CFGR_AWD1CH_2 | ADC_CFGR_AWD1CH_0) |
Definition at line 220 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_5_SMP (ADC_SMPR1_REGOFFSET | ((15UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR1_SMP5" position in register */ |
Definition at line 266 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_6_BITFIELD (ADC_AWD2CR_AWD2CH_6) |
Definition at line 244 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_6_NUMBER ( ADC_CFGR_AWD1CH_2 | ADC_CFGR_AWD1CH_1 ) |
Definition at line 221 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_6_SMP (ADC_SMPR1_REGOFFSET | ((18UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR1_SMP6" position in register */ |
Definition at line 267 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_7_BITFIELD (ADC_AWD2CR_AWD2CH_7) |
Definition at line 245 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_7_NUMBER ( ADC_CFGR_AWD1CH_2 | ADC_CFGR_AWD1CH_1 | ADC_CFGR_AWD1CH_0) |
Definition at line 222 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_7_SMP (ADC_SMPR1_REGOFFSET | ((21UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR1_SMP7" position in register */ |
Definition at line 268 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_8_BITFIELD (ADC_AWD2CR_AWD2CH_8) |
Definition at line 246 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_8_NUMBER ( ADC_CFGR_AWD1CH_3 ) |
Definition at line 223 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_8_SMP (ADC_SMPR1_REGOFFSET | ((24UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR1_SMP8" position in register */ |
Definition at line 269 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_9_BITFIELD (ADC_AWD2CR_AWD2CH_9) |
Definition at line 247 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_9_NUMBER ( ADC_CFGR_AWD1CH_3 | ADC_CFGR_AWD1CH_0) |
Definition at line 224 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_9_SMP (ADC_SMPR1_REGOFFSET | ((27UL) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) /* Value shifted is equivalent to bitfield "ADC_SMPR1_SMP9" position in register */ |
Definition at line 270 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_ID_BITFIELD_MASK (ADC_AWD2CR_AWD2CH) |
Definition at line 193 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_ID_INTERNAL_CH (0x80000000UL) /* Marker of internal channel */ |
Definition at line 200 of file stm32h7xx_ll_adc.h.
Definition at line 201 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_ID_MASK (ADC_CHANNEL_ID_NUMBER_MASK | ADC_CHANNEL_ID_BITFIELD_MASK | ADC_CHANNEL_ID_INTERNAL_CH_MASK) |
Definition at line 195 of file stm32h7xx_ll_adc.h.
#define ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS (26UL)/* Value equivalent to bitfield "ADC_CHANNEL_ID_NUMBER_MASK" position in register */ |
Definition at line 194 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_INJ_ConfigQueueContext(), LL_ADC_INJ_GetSequencerRanks(), LL_ADC_INJ_SetSequencerRanks(), LL_ADC_REG_GetSequencerRanks(), and LL_ADC_REG_SetSequencerRanks().
#define ADC_CHANNEL_ID_NUMBER_MASK (ADC_CFGR_AWD1CH) |
Definition at line 192 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_INJ_ConfigQueueContext(), LL_ADC_INJ_GetSequencerRanks(), LL_ADC_INJ_SetSequencerRanks(), LL_ADC_REG_SetSequencerRanks(), and LL_ADC_SetOffset().
#define ADC_CHANNEL_ID_NUMBER_MASK_POSBIT0 (ADC_SQR2_SQ5) /* Equivalent to shift: (ADC_CHANNEL_NUMBER_MASK >> [Position of bitfield "ADC_CHANNEL_NUMBER_MASK" in register]) */ |
Definition at line 197 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_REG_GetSequencerRanks(), and LL_ADC_REG_SetSequencerRanks().
Definition at line 207 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_GetChannelSamplingTime(), and LL_ADC_SetChannelSamplingTime().
#define ADC_CHANNEL_SMPx_BITOFFSET_MASK (0x01F00000UL) |
Definition at line 210 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_GetChannelSamplingTime(), and LL_ADC_SetChannelSamplingTime().
#define ADC_CHANNEL_SMPx_BITOFFSET_POS (20UL) /* Value equivalent to bitfield "ADC_CHANNEL_SMPx_BITOFFSET_MASK" position in register */ |
Definition at line 211 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_GetChannelSamplingTime(), and LL_ADC_SetChannelSamplingTime().
#define ADC_CLOCK_RATIO_VS_CPU_HIGHEST (512UL * 16UL * 4UL) |
Definition at line 65 of file stm32h7xx_ll_adc.c.
#define ADC_CR_BITS_PROPERTY_RS (ADC_CR_ADCAL | ADC_CR_JADSTP | ADC_CR_ADSTP | ADC_CR_JADSTART | ADC_CR_ADSTART | ADC_CR_ADDIS | ADC_CR_ADEN) /* ADC register CR bits with HW property "rs": Software can read as well as set this bit. Writing '0' has no effect on the bit value. */ |
Definition at line 366 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_Disable(), LL_ADC_DisableDeepPowerDown(), LL_ADC_DisableInternalRegulator(), LL_ADC_Enable(), LL_ADC_EnableDeepPowerDown(), LL_ADC_EnableInternalRegulator(), LL_ADC_INJ_StartConversion(), LL_ADC_INJ_StopConversion(), LL_ADC_REG_StartConversion(), LL_ADC_REG_StopConversion(), and LL_ADC_StartCalibration().
#define ADC_INJ_JDRX_REGOFFSET_MASK (ADC_JDR1_REGOFFSET | ADC_JDR2_REGOFFSET | ADC_JDR3_REGOFFSET | ADC_JDR4_REGOFFSET) |
Definition at line 112 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_INJ_ReadConversionData10(), LL_ADC_INJ_ReadConversionData12(), LL_ADC_INJ_ReadConversionData14(), LL_ADC_INJ_ReadConversionData16(), LL_ADC_INJ_ReadConversionData32(), and LL_ADC_INJ_ReadConversionData8().
#define ADC_INJ_RANK_1_JSQR_BITOFFSET_POS (ADC_JSQR_JSQ1_Pos) |
Definition at line 118 of file stm32h7xx_ll_adc.h.
#define ADC_INJ_RANK_2_JSQR_BITOFFSET_POS (ADC_JSQR_JSQ2_Pos) |
Definition at line 119 of file stm32h7xx_ll_adc.h.
#define ADC_INJ_RANK_3_JSQR_BITOFFSET_POS (ADC_JSQR_JSQ3_Pos) |
Definition at line 120 of file stm32h7xx_ll_adc.h.
#define ADC_INJ_RANK_4_JSQR_BITOFFSET_POS (ADC_JSQR_JSQ4_Pos) |
Definition at line 121 of file stm32h7xx_ll_adc.h.
Definition at line 113 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_INJ_ConfigQueueContext(), LL_ADC_INJ_GetSequencerRanks(), and LL_ADC_INJ_SetSequencerRanks().
#define ADC_INJ_TRIG_EDGE_MASK |
(((LL_ADC_INJ_TRIG_SOFTWARE & ADC_JSQR_JEXTEN) << (4U * 0UL)) | \ ((ADC_INJ_TRIG_EXT_EDGE_DEFAULT) << (4U * 1UL)) | \ ((ADC_INJ_TRIG_EXT_EDGE_DEFAULT) << (4U * 2UL)) | \ ((ADC_INJ_TRIG_EXT_EDGE_DEFAULT) << (4U * 3UL)) )
Definition at line 170 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_INJ_GetTriggerSource().
#define ADC_INJ_TRIG_EXT_EDGE_DEFAULT (ADC_JSQR_JEXTEN_0) /* Trigger edge set to rising edge (default setting for compatibility with some ADC on other STM32 families having this setting set by HW default value) */ |
Definition at line 157 of file stm32h7xx_ll_adc.h.
#define ADC_INJ_TRIG_EXTEN_BITOFFSET_POS ( 6UL) /* Value equivalent to bitfield "ADC_JSQR_JEXTEN" position in register */ |
Definition at line 177 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_INJ_GetTriggerSource().
#define ADC_INJ_TRIG_EXTSEL_BITOFFSET_POS ( 2UL) /* Value equivalent to bitfield "ADC_JSQR_JEXTSEL" position in register */ |
Definition at line 176 of file stm32h7xx_ll_adc.h.
#define ADC_INJ_TRIG_SOURCE_MASK |
(((LL_ADC_INJ_TRIG_SOFTWARE & ADC_JSQR_JEXTSEL) << (4U * 0UL)) | \ ((ADC_JSQR_JEXTSEL) << (4U * 1UL)) | \ ((ADC_JSQR_JEXTSEL) << (4U * 2UL)) | \ ((ADC_JSQR_JEXTSEL) << (4U * 3UL)) )
Definition at line 162 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_INJ_GetTriggerSource().
#define ADC_JDR1_REGOFFSET (0x00000000UL) |
Definition at line 107 of file stm32h7xx_ll_adc.h.
#define ADC_JDR2_REGOFFSET (0x00000100UL) |
Definition at line 108 of file stm32h7xx_ll_adc.h.
#define ADC_JDR3_REGOFFSET (0x00000200UL) |
Definition at line 109 of file stm32h7xx_ll_adc.h.
#define ADC_JDR4_REGOFFSET (0x00000300UL) |
Definition at line 110 of file stm32h7xx_ll_adc.h.
#define ADC_JDRX_REGOFFSET_POS (8UL) /* Position of bits ADC_JDRx_REGOFFSET in ADC_INJ_JDRX_REGOFFSET_MASK */ |
Definition at line 114 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_INJ_ReadConversionData10(), LL_ADC_INJ_ReadConversionData12(), LL_ADC_INJ_ReadConversionData14(), LL_ADC_INJ_ReadConversionData16(), LL_ADC_INJ_ReadConversionData32(), and LL_ADC_INJ_ReadConversionData8().
#define ADC_LINEAR_CALIB_REG_1_ADDR ((uint32_t*) (0x1FF1EC00UL)) |
Definition at line 393 of file stm32h7xx_ll_adc.h.
Referenced by HAL_ADCEx_LinearCalibration_FactorLoad().
#define ADC_LINEAR_CALIB_REG_2_ADDR ((uint32_t*) (0x1FF1EC04UL)) |
Definition at line 394 of file stm32h7xx_ll_adc.h.
#define ADC_LINEAR_CALIB_REG_3_ADDR ((uint32_t*) (0x1FF1EC08UL)) |
Definition at line 395 of file stm32h7xx_ll_adc.h.
#define ADC_LINEAR_CALIB_REG_4_ADDR ((uint32_t*) (0x1FF1EC0CUL)) |
Definition at line 396 of file stm32h7xx_ll_adc.h.
#define ADC_LINEAR_CALIB_REG_5_ADDR ((uint32_t*) (0x1FF1EC10UL)) |
Definition at line 397 of file stm32h7xx_ll_adc.h.
#define ADC_LINEAR_CALIB_REG_6_ADDR ((uint32_t*) (0x1FF1EC14UL)) |
Definition at line 398 of file stm32h7xx_ll_adc.h.
#define ADC_LINEAR_CALIB_REG_COUNT (6UL) |
Definition at line 399 of file stm32h7xx_ll_adc.h.
Referenced by HAL_ADCEx_LinearCalibration_FactorLoad(), HAL_ADCEx_LinearCalibration_GetValue(), and HAL_ADCEx_LinearCalibration_SetValue().
#define ADC_OFR1_REGOFFSET (0x00000000UL) |
Definition at line 348 of file stm32h7xx_ll_adc.h.
#define ADC_OFR2_REGOFFSET (0x00000001UL) |
Definition at line 349 of file stm32h7xx_ll_adc.h.
#define ADC_OFR3_REGOFFSET (0x00000002UL) |
Definition at line 350 of file stm32h7xx_ll_adc.h.
#define ADC_OFR4_REGOFFSET (0x00000003UL) |
Definition at line 351 of file stm32h7xx_ll_adc.h.
#define ADC_OFRx_REGOFFSET_MASK (ADC_OFR1_REGOFFSET | ADC_OFR2_REGOFFSET | ADC_OFR3_REGOFFSET | ADC_OFR4_REGOFFSET) |
Definition at line 352 of file stm32h7xx_ll_adc.h.
#define ADC_REG_RANK_10_SQRX_BITOFFSET_POS ( 0UL) /* Value equivalent to bitfield "ADC_SQR3_SQ10" position in register */ |
Definition at line 90 of file stm32h7xx_ll_adc.h.
#define ADC_REG_RANK_11_SQRX_BITOFFSET_POS ( 6UL) /* Value equivalent to bitfield "ADC_SQR3_SQ11" position in register */ |
Definition at line 91 of file stm32h7xx_ll_adc.h.
#define ADC_REG_RANK_12_SQRX_BITOFFSET_POS (12UL) /* Value equivalent to bitfield "ADC_SQR3_SQ12" position in register */ |
Definition at line 92 of file stm32h7xx_ll_adc.h.
#define ADC_REG_RANK_13_SQRX_BITOFFSET_POS (18UL) /* Value equivalent to bitfield "ADC_SQR3_SQ13" position in register */ |
Definition at line 93 of file stm32h7xx_ll_adc.h.
#define ADC_REG_RANK_14_SQRX_BITOFFSET_POS (24UL) /* Value equivalent to bitfield "ADC_SQR3_SQ14" position in register */ |
Definition at line 94 of file stm32h7xx_ll_adc.h.
#define ADC_REG_RANK_15_SQRX_BITOFFSET_POS ( 0UL) /* Value equivalent to bitfield "ADC_SQR4_SQ15" position in register */ |
Definition at line 95 of file stm32h7xx_ll_adc.h.
#define ADC_REG_RANK_16_SQRX_BITOFFSET_POS ( 6UL) /* Value equivalent to bitfield "ADC_SQR4_SQ16" position in register */ |
Definition at line 96 of file stm32h7xx_ll_adc.h.
#define ADC_REG_RANK_1_SQRX_BITOFFSET_POS ( 6UL) /* Value equivalent to bitfield "ADC_SQR1_SQ1" position in register */ |
Definition at line 81 of file stm32h7xx_ll_adc.h.
#define ADC_REG_RANK_2_SQRX_BITOFFSET_POS (12UL) /* Value equivalent to bitfield "ADC_SQR1_SQ2" position in register */ |
Definition at line 82 of file stm32h7xx_ll_adc.h.
#define ADC_REG_RANK_3_SQRX_BITOFFSET_POS (18UL) /* Value equivalent to bitfield "ADC_SQR1_SQ3" position in register */ |
Definition at line 83 of file stm32h7xx_ll_adc.h.
#define ADC_REG_RANK_4_SQRX_BITOFFSET_POS (24UL) /* Value equivalent to bitfield "ADC_SQR1_SQ4" position in register */ |
Definition at line 84 of file stm32h7xx_ll_adc.h.
#define ADC_REG_RANK_5_SQRX_BITOFFSET_POS ( 0UL) /* Value equivalent to bitfield "ADC_SQR2_SQ5" position in register */ |
Definition at line 85 of file stm32h7xx_ll_adc.h.
#define ADC_REG_RANK_6_SQRX_BITOFFSET_POS ( 6UL) /* Value equivalent to bitfield "ADC_SQR2_SQ6" position in register */ |
Definition at line 86 of file stm32h7xx_ll_adc.h.
#define ADC_REG_RANK_7_SQRX_BITOFFSET_POS (12UL) /* Value equivalent to bitfield "ADC_SQR2_SQ7" position in register */ |
Definition at line 87 of file stm32h7xx_ll_adc.h.
#define ADC_REG_RANK_8_SQRX_BITOFFSET_POS (18UL) /* Value equivalent to bitfield "ADC_SQR2_SQ8" position in register */ |
Definition at line 88 of file stm32h7xx_ll_adc.h.
#define ADC_REG_RANK_9_SQRX_BITOFFSET_POS (24UL) /* Value equivalent to bitfield "ADC_SQR2_SQ9" position in register */ |
Definition at line 89 of file stm32h7xx_ll_adc.h.
Definition at line 77 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_REG_GetSequencerRanks(), and LL_ADC_REG_SetSequencerRanks().
#define ADC_REG_SQRX_REGOFFSET_MASK (ADC_SQR1_REGOFFSET | ADC_SQR2_REGOFFSET | ADC_SQR3_REGOFFSET | ADC_SQR4_REGOFFSET) |
Definition at line 75 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_REG_GetSequencerRanks(), and LL_ADC_REG_SetSequencerRanks().
#define ADC_REG_TRIG_EDGE_MASK |
(((LL_ADC_REG_TRIG_SOFTWARE & ADC_CFGR_EXTEN) << (4U * 0UL)) | \ ((ADC_REG_TRIG_EXT_EDGE_DEFAULT) << (4U * 1UL)) | \ ((ADC_REG_TRIG_EXT_EDGE_DEFAULT) << (4U * 2UL)) | \ ((ADC_REG_TRIG_EXT_EDGE_DEFAULT) << (4U * 3UL)) )
Definition at line 142 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_REG_GetTriggerSource().
#define ADC_REG_TRIG_EXT_EDGE_DEFAULT (ADC_CFGR_EXTEN_0) /* Trigger edge set to rising edge (default setting for compatibility with some ADC on other STM32 families having this setting set by HW default value) */ |
Definition at line 129 of file stm32h7xx_ll_adc.h.
#define ADC_REG_TRIG_EXTEN_BITOFFSET_POS (10UL) /* Value equivalent to bitfield "ADC_CFGR_EXTEN" position in register */ |
Definition at line 149 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_REG_GetTriggerSource().
#define ADC_REG_TRIG_EXTSEL_BITOFFSET_POS ( 6UL) /* Value equivalent to bitfield "ADC_CFGR_EXTSEL" position in register */ |
Definition at line 148 of file stm32h7xx_ll_adc.h.
#define ADC_REG_TRIG_SOURCE_MASK |
(((LL_ADC_REG_TRIG_SOFTWARE & ADC_CFGR_EXTSEL) << (4U * 0UL)) | \ ((ADC_CFGR_EXTSEL) << (4U * 1UL)) | \ ((ADC_CFGR_EXTSEL) << (4U * 2UL)) | \ ((ADC_CFGR_EXTSEL) << (4U * 3UL)) )
Definition at line 134 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_REG_GetTriggerSource().
#define ADC_SINGLEDIFF_CALIB_F_BIT_D_MASK (0x00010000UL) /* Selection of 1 bit to discriminate differential mode: mask of bit */ |
Definition at line 293 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_GetCalibrationOffsetFactor(), and LL_ADC_SetCalibrationOffsetFactor().
#define ADC_SINGLEDIFF_CALIB_F_BIT_D_POS (16UL) /* Selection of 1 bit to discriminate differential mode: position of bit */ |
Definition at line 294 of file stm32h7xx_ll_adc.h.
#define ADC_SINGLEDIFF_CALIB_F_BIT_D_SHIFT4 (ADC_SINGLEDIFF_CALIB_F_BIT_D_POS - 4UL) /* Shift of bit ADC_SINGLEDIFF_CALIB_F_BIT_D to position to perform a shift of 4 ranks */ |
Definition at line 295 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_GetCalibrationOffsetFactor(), and LL_ADC_SetCalibrationOffsetFactor().
#define ADC_SINGLEDIFF_CALIB_FACTOR_MASK (ADC_CALFACT_CALFACT_D | ADC_CALFACT_CALFACT_S) |
Definition at line 290 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_GetCalibrationOffsetFactor(), and LL_ADC_SetCalibrationOffsetFactor().
#define ADC_SINGLEDIFF_CALIB_START_MASK (ADC_CR_ADCALDIF) |
Definition at line 289 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_StartCalibration().
#define ADC_SINGLEDIFF_CHANNEL_MASK (ADC_CHANNEL_ID_BITFIELD_MASK) /* Equivalent to ADC_DIFSEL_DIFSEL */ |
Definition at line 291 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_GetChannelSingleDiff(), and LL_ADC_SetChannelSingleDiff().
#define ADC_SINGLEDIFF_CHANNEL_SHIFT_MASK (ADC_CALFACT_CALFACT_S_4 | ADC_CALFACT_CALFACT_S_3) /* Bits chosen to perform of shift when single mode is selected, shift value out of channels bits range. */ |
Definition at line 292 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_SetChannelSingleDiff().
#define ADC_SMPR1_REGOFFSET (0x00000000UL) |
Definition at line 205 of file stm32h7xx_ll_adc.h.
#define ADC_SMPR2_REGOFFSET (0x02000000UL) |
Definition at line 206 of file stm32h7xx_ll_adc.h.
#define ADC_SMPRX_REGOFFSET_POS (25UL) /* Position of bits ADC_SMPRx_REGOFFSET in ADC_CHANNEL_SMPRX_REGOFFSET_MASK */ |
Definition at line 208 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_GetChannelSamplingTime(), and LL_ADC_SetChannelSamplingTime().
#define ADC_SQR1_REGOFFSET (0x00000000UL) |
Definition at line 70 of file stm32h7xx_ll_adc.h.
#define ADC_SQR2_REGOFFSET (0x00000100UL) |
Definition at line 71 of file stm32h7xx_ll_adc.h.
#define ADC_SQR3_REGOFFSET (0x00000200UL) |
Definition at line 72 of file stm32h7xx_ll_adc.h.
#define ADC_SQR4_REGOFFSET (0x00000300UL) |
Definition at line 73 of file stm32h7xx_ll_adc.h.
#define ADC_SQRX_REGOFFSET_POS (8UL) /* Position of bits ADC_SQRx_REGOFFSET in ADC_REG_SQRX_REGOFFSET_MASK */ |
Definition at line 76 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_REG_GetSequencerRanks(), and LL_ADC_REG_SetSequencerRanks().
#define ADC_TIMEOUT_DISABLE_CPU_CYCLES (ADC_CLOCK_RATIO_VS_CPU_HIGHEST * 1UL) |
Definition at line 66 of file stm32h7xx_ll_adc.c.
Referenced by LL_ADC_DeInit().
#define ADC_TIMEOUT_STOP_CONVERSION_CPU_CYCLES (ADC_CLOCK_RATIO_VS_CPU_HIGHEST * 1UL) |
Definition at line 67 of file stm32h7xx_ll_adc.c.
Referenced by LL_ADC_DeInit().
#define LL_ADC_AWD1_TR LL_ADC_AWD1 |
Definition at line 342 of file stm32h7xx_ll_adc.h.
#define LL_ADC_AWD2_TR LL_ADC_AWD2 |
Definition at line 343 of file stm32h7xx_ll_adc.h.
#define LL_ADC_AWD3_TR LL_ADC_AWD3 |
Definition at line 344 of file stm32h7xx_ll_adc.h.
#define TEMPSENSOR_CAL1_ADDR ((uint16_t*) (0x1FF1E820UL)) /* Internal temperature sensor, address of parameter TS_CAL1: On STM32H7, temperature sensor ADC raw data acquired at temperature 30 DegC (tolerance: +-5 DegC), Vref+ = 3.3 V (tolerance: +-10 mV). */ |
Definition at line 384 of file stm32h7xx_ll_adc.h.
#define TEMPSENSOR_CAL1_TEMP (30L) /* Internal temperature sensor, temperature at which temperature sensor has been calibrated in production for data into TEMPSENSOR_CAL1_ADDR (tolerance: +-5 DegC) (unit: DegC). */ |
Definition at line 388 of file stm32h7xx_ll_adc.h.
#define TEMPSENSOR_CAL2_ADDR ((uint16_t*) (0x1FF1E840UL)) /* Internal temperature sensor, address of parameter TS_CAL2: On STM32H7, temperature sensor ADC raw data acquired at temperature 110 DegC (tolerance: +-5 DegC), Vref+ = 3.3 V (tolerance: +-10 mV). */ |
Definition at line 385 of file stm32h7xx_ll_adc.h.
#define TEMPSENSOR_CAL2_TEMP (110L) /* Internal temperature sensor, temperature at which temperature sensor has been calibrated in production for data into TEMPSENSOR_CAL2_ADDR (tolerance: +-5 DegC) (unit: DegC). */ |
Definition at line 389 of file stm32h7xx_ll_adc.h.
#define TEMPSENSOR_CAL_VREFANALOG (3300UL) /* Analog voltage reference (Vref+) voltage with which temperature sensor has been calibrated in production (+-10 mV) (unit: mV). */ |
Definition at line 390 of file stm32h7xx_ll_adc.h.
#define VREFINT_CAL_ADDR ((uint16_t*) (0x1FF1E860UL)) /* Internal voltage reference, address of parameter VREFINT_CAL: VrefInt ADC raw data acquired at temperature 30 DegC (tolerance: +-5 DegC), Vref+ = 3.3 V (tolerance: +-10 mV). */ |
Definition at line 375 of file stm32h7xx_ll_adc.h.
#define VREFINT_CAL_VREF (3300UL) /* Analog voltage reference (Vref+) value with which temperature sensor has been calibrated in production (tolerance: +-10 mV) (unit: mV). */ |
Definition at line 377 of file stm32h7xx_ll_adc.h.