RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Macros

Macros

#define IS_OPAMP_FUNCTIONAL_NORMALMODE(INPUT)
 
#define IS_OPAMP_INVERTING_INPUT_STANDALONE(INPUT)
 
#define IS_OPAMP_NONINVERTING_INPUT(INPUT)
 
#define IS_OPAMP_PGACONNECT(CONNECT)
 
#define IS_OPAMP_PGA_GAIN(GAIN)
 
#define IS_OPAMP_VREF(VREF)
 
#define IS_OPAMP_POWERMODE(TRIMMING)
 
#define IS_OPAMP_TRIMMING(TRIMMING)
 
#define IS_OPAMP_TRIMMINGVALUE(TRIMMINGVALUE)   ((TRIMMINGVALUE) <= 0x1FU)
 
#define IS_OPAMP_FACTORYTRIMMING(TRIMMING)
 

Detailed Description

Macro Definition Documentation

◆ IS_OPAMP_FACTORYTRIMMING

#define IS_OPAMP_FACTORYTRIMMING (   TRIMMING)
Value:
(((TRIMMING) == OPAMP_FACTORYTRIMMING_N) || \
((TRIMMING) == OPAMP_FACTORYTRIMMING_P))
#define OPAMP_FACTORYTRIMMING_N
Definition: stm32h7xx_hal_opamp.h:287
#define OPAMP_FACTORYTRIMMING_P
Definition: stm32h7xx_hal_opamp.h:288

◆ IS_OPAMP_FUNCTIONAL_NORMALMODE

#define IS_OPAMP_FUNCTIONAL_NORMALMODE (   INPUT)
Value:
(((INPUT) == OPAMP_STANDALONE_MODE) || \
((INPUT) == OPAMP_PGA_MODE) || \
((INPUT) == OPAMP_FOLLOWER_MODE))
#define OPAMP_PGA_MODE
Definition: stm32h7xx_hal_opamp.h:180
#define OPAMP_STANDALONE_MODE
Definition: stm32h7xx_hal_opamp.h:179
#define OPAMP_FOLLOWER_MODE
Definition: stm32h7xx_hal_opamp.h:181

◆ IS_OPAMP_INVERTING_INPUT_STANDALONE

#define IS_OPAMP_INVERTING_INPUT_STANDALONE (   INPUT)
Value:
(((INPUT) == OPAMP_INVERTINGINPUT_IO0) || \
#define OPAMP_INVERTINGINPUT_IO1
Definition: stm32h7xx_hal_opamp.h:208
#define OPAMP_INVERTINGINPUT_IO0
Definition: stm32h7xx_hal_opamp.h:207

◆ IS_OPAMP_NONINVERTING_INPUT

#define IS_OPAMP_NONINVERTING_INPUT (   INPUT)
Value:
(((INPUT) == OPAMP_NONINVERTINGINPUT_IO0) || \
#define OPAMP_NONINVERTINGINPUT_IO0
Definition: stm32h7xx_hal_opamp.h:192
#define OPAMP_NONINVERTINGINPUT_DAC_CH
Definition: stm32h7xx_hal_opamp.h:193

◆ IS_OPAMP_PGA_GAIN

#define IS_OPAMP_PGA_GAIN (   GAIN)
Value:
(((GAIN) == OPAMP_PGA_GAIN_2_OR_MINUS_1) || \
((GAIN) == OPAMP_PGA_GAIN_4_OR_MINUS_3) || \
((GAIN) == OPAMP_PGA_GAIN_8_OR_MINUS_7) || \
#define OPAMP_PGA_GAIN_8_OR_MINUS_7
Definition: stm32h7xx_hal_opamp.h:236
#define OPAMP_PGA_GAIN_16_OR_MINUS_15
Definition: stm32h7xx_hal_opamp.h:237
#define OPAMP_PGA_GAIN_4_OR_MINUS_3
Definition: stm32h7xx_hal_opamp.h:235
#define OPAMP_PGA_GAIN_2_OR_MINUS_1
Definition: stm32h7xx_hal_opamp.h:234

◆ IS_OPAMP_PGACONNECT

#define IS_OPAMP_PGACONNECT (   CONNECT)
Value:
#define OPAMP_PGA_CONNECT_INVERTINGINPUT_IO0_IO1_BIAS
Definition: stm32h7xx_hal_opamp.h:222
#define OPAMP_PGA_CONNECT_INVERTINGINPUT_NO
Definition: stm32h7xx_hal_opamp.h:219
#define OPAMP_PGA_CONNECT_INVERTINGINPUT_IO0_BIAS
Definition: stm32h7xx_hal_opamp.h:221
#define OPAMP_PGA_CONNECT_INVERTINGINPUT_IO0
Definition: stm32h7xx_hal_opamp.h:220

◆ IS_OPAMP_POWERMODE

#define IS_OPAMP_POWERMODE (   TRIMMING)
Value:
(((TRIMMING) == OPAMP_POWERMODE_NORMAL) || \
((TRIMMING) == OPAMP_POWERMODE_HIGHSPEED) )

◆ IS_OPAMP_TRIMMING

#define IS_OPAMP_TRIMMING (   TRIMMING)
Value:
(((TRIMMING) == OPAMP_TRIMMING_FACTORY) || \
((TRIMMING) == OPAMP_TRIMMING_USER))
#define OPAMP_TRIMMING_FACTORY
Definition: stm32h7xx_hal_opamp.h:273
#define OPAMP_TRIMMING_USER
Definition: stm32h7xx_hal_opamp.h:274

◆ IS_OPAMP_VREF

#define IS_OPAMP_VREF (   VREF)
Value:
(((VREF) == OPAMP_VREF_3VDDA) || \
((VREF) == OPAMP_VREF_10VDDA) || \
((VREF) == OPAMP_VREF_50VDDA) || \
((VREF) == OPAMP_VREF_90VDDA))
#define OPAMP_VREF_50VDDA
Definition: stm32h7xx_hal_opamp.h:262
#define OPAMP_VREF_10VDDA
Definition: stm32h7xx_hal_opamp.h:261
#define OPAMP_VREF_90VDDA
Definition: stm32h7xx_hal_opamp.h:263
#define OPAMP_VREF_3VDDA
Definition: stm32h7xx_hal_opamp.h:260