STM32L4R9I_EVAL BSP User Manual: POTENTIOMETER Constants

STM32L4R9I_EVAL BSP

STM32L4R9I_EVAL BSP User Manual
POTENTIOMETER Constants

Defines

#define BSP_POTENTIOMETER_OK   0x00
 Potentiometer Status values.
#define BSP_POTENTIOMETER_ERROR   0xFF
#define ADCx   ADC1
 Definition for Potentiometer, connected to ADC1.
#define ADCx_CLK_ENABLE()   __HAL_RCC_ADC_CLK_ENABLE()
#define ADCx_CHANNEL_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOA_CLK_ENABLE()
#define ADCx_FORCE_RESET()   __HAL_RCC_ADC_FORCE_RESET()
#define ADCx_RELEASE_RESET()   __HAL_RCC_ADC_RELEASE_RESET()
#define ADCx_CHANNEL_PIN   GPIO_PIN_0
#define ADCx_CHANNEL_GPIO_PORT   GPIOA
#define ADCx_CHANNEL   ADC_CHANNEL_5
#define SAMPLINGTIME   ADC_SAMPLETIME_3CYCLES
#define ADCx_POLL_TIMEOUT   10
#define OPAMPx_INP_PIN   GPIO_PIN_0
 Definition for Potentiometer connected to OPAMP.
#define OPAMPx_INP_GPIO_PORT   GPIOA
#define OPAMPx_INM_PIN   GPIO_PIN_1
#define OPAMPx_INM_GPIO_PORT   GPIOA
#define OPAMPx_VOUT_PIN   GPIO_PIN_3
#define OPAMPx_VOUT_GPIO_PORT   GPIOA
#define OPAMPx   OPAMP
#define OPAMPx_CLK_ENABLE()   __HAL_RCC_OPAMP_CLK_ENABLE()
#define OPAMPx_CLK_DISABLE()   __HAL_RCC_OPAMP_CLK_DISABLE()
#define OPAMPx_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOA_CLK_ENABLE()
#define OPAMPx_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOA_CLK_DISABLE()
#define OPAMPx_FORCE_RESET()   __HAL_RCC_OPAMP_FORCE_RESET()
#define OPAMPx_RELEASE_RESET()   __HAL_RCC_OPAMP_RELEASE_RESET()
#define DSI_RST_PIN   IO_PIN_9
 Eval Pins definition connected to MFX.
#define EXT_RST_PIN   IO_PIN_8
#define LCD_DISP_PIN   IO_PIN_11
#define LCD_RST_PIN   IO_PIN_12
#define OTG_FS_POWER_SWITCH_PIN   IO_PIN_6
#define OTG_FS_OVER_CURRENT_PIN   IO_PIN_7
#define SD_DETECT_PIN   IO_PIN_5
#define SWIRE_PIN   IO_PIN_13

Define Documentation

#define ADCx   ADC1

Definition for Potentiometer, connected to ADC1.

Definition at line 324 of file stm32l4r9i_eval.h.

Referenced by BSP_POTENTIOMETER_Init().

#define ADCx_CHANNEL   ADC_CHANNEL_5

Definition at line 336 of file stm32l4r9i_eval.h.

Referenced by BSP_POTENTIOMETER_Init().

#define ADCx_CHANNEL_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOA_CLK_ENABLE()

Definition at line 326 of file stm32l4r9i_eval.h.

Referenced by BSP_POTENTIOMETER_Init().

#define ADCx_CHANNEL_GPIO_PORT   GPIOA

Definition at line 333 of file stm32l4r9i_eval.h.

Referenced by BSP_POTENTIOMETER_Init().

#define ADCx_CHANNEL_PIN   GPIO_PIN_0

Definition at line 332 of file stm32l4r9i_eval.h.

Referenced by BSP_POTENTIOMETER_Init().

#define ADCx_CLK_ENABLE ( )    __HAL_RCC_ADC_CLK_ENABLE()

Definition at line 325 of file stm32l4r9i_eval.h.

Referenced by BSP_POTENTIOMETER_Init().

#define ADCx_FORCE_RESET ( )    __HAL_RCC_ADC_FORCE_RESET()

Definition at line 328 of file stm32l4r9i_eval.h.

#define ADCx_POLL_TIMEOUT   10

Definition at line 338 of file stm32l4r9i_eval.h.

Referenced by BSP_POTENTIOMETER_GetLevel().

#define ADCx_RELEASE_RESET ( )    __HAL_RCC_ADC_RELEASE_RESET()

Definition at line 329 of file stm32l4r9i_eval.h.

#define BSP_POTENTIOMETER_OK   0x00

Potentiometer Status values.

Definition at line 318 of file stm32l4r9i_eval.h.

Referenced by BSP_POTENTIOMETER_DeInit(), and BSP_POTENTIOMETER_Init().

#define DSI_RST_PIN   IO_PIN_9

Eval Pins definition connected to MFX.

Definition at line 366 of file stm32l4r9i_eval.h.

#define EXT_RST_PIN   IO_PIN_8

Definition at line 367 of file stm32l4r9i_eval.h.

#define LCD_DISP_PIN   IO_PIN_11

Definition at line 368 of file stm32l4r9i_eval.h.

#define LCD_RST_PIN   IO_PIN_12

Definition at line 369 of file stm32l4r9i_eval.h.

#define OPAMPx   OPAMP

Definition at line 353 of file stm32l4r9i_eval.h.

#define OPAMPx_CLK_DISABLE ( )    __HAL_RCC_OPAMP_CLK_DISABLE()

Definition at line 355 of file stm32l4r9i_eval.h.

#define OPAMPx_CLK_ENABLE ( )    __HAL_RCC_OPAMP_CLK_ENABLE()

Definition at line 354 of file stm32l4r9i_eval.h.

#define OPAMPx_FORCE_RESET ( )    __HAL_RCC_OPAMP_FORCE_RESET()

Definition at line 359 of file stm32l4r9i_eval.h.

#define OPAMPx_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOA_CLK_DISABLE()

Definition at line 357 of file stm32l4r9i_eval.h.

#define OPAMPx_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOA_CLK_ENABLE()

Definition at line 356 of file stm32l4r9i_eval.h.

#define OPAMPx_INM_GPIO_PORT   GPIOA

Definition at line 349 of file stm32l4r9i_eval.h.

#define OPAMPx_INM_PIN   GPIO_PIN_1

Definition at line 348 of file stm32l4r9i_eval.h.

#define OPAMPx_INP_GPIO_PORT   GPIOA

Definition at line 347 of file stm32l4r9i_eval.h.

#define OPAMPx_INP_PIN   GPIO_PIN_0

Definition for Potentiometer connected to OPAMP.

Definition at line 346 of file stm32l4r9i_eval.h.

#define OPAMPx_RELEASE_RESET ( )    __HAL_RCC_OPAMP_RELEASE_RESET()

Definition at line 360 of file stm32l4r9i_eval.h.

#define OPAMPx_VOUT_GPIO_PORT   GPIOA

Definition at line 351 of file stm32l4r9i_eval.h.

#define OPAMPx_VOUT_PIN   GPIO_PIN_3

Definition at line 350 of file stm32l4r9i_eval.h.

Definition at line 371 of file stm32l4r9i_eval.h.

Definition at line 370 of file stm32l4r9i_eval.h.

#define SAMPLINGTIME   ADC_SAMPLETIME_3CYCLES

Definition at line 337 of file stm32l4r9i_eval.h.

#define SD_DETECT_PIN   IO_PIN_5

Definition at line 372 of file stm32l4r9i_eval.h.

Referenced by BSP_SD_Init(), BSP_SD_IsDetected(), and BSP_SD_ITConfig().

#define SWIRE_PIN   IO_PIN_13

Definition at line 373 of file stm32l4r9i_eval.h.

Generated on Thu Oct 12 2017 10:54:00 for STM32L4R9I_EVAL BSP User Manual by   doxygen 1.7.6.1