L4 HAL Drivers

Embed: (wiki syntax)

« Back to documentation index

Initialization and de-initialization functions

Initialization and de-initialization functions
[OPAMP Exported Functions]

Initialization and Configuration functions. More...

Functions

HAL_StatusTypeDef HAL_OPAMP_Init (OPAMP_HandleTypeDef *hopamp)
 Initializes the OPAMP according to the specified parameters in the OPAMP_InitTypeDef and initialize the associated handle.
HAL_StatusTypeDef HAL_OPAMP_DeInit (OPAMP_HandleTypeDef *hopamp)
 DeInitialize the OPAMP peripheral.
__weak void HAL_OPAMP_MspInit (OPAMP_HandleTypeDef *hopamp)
 Initialize the OPAMP MSP.
__weak void HAL_OPAMP_MspDeInit (OPAMP_HandleTypeDef *hopamp)
 DeInitialize OPAMP MSP.

Detailed Description

Initialization and Configuration functions.

  ==============================================================================
              ##### Initialization and de-initialization functions #####
  ==============================================================================
 

Function Documentation

HAL_StatusTypeDef HAL_OPAMP_DeInit ( OPAMP_HandleTypeDef *  hopamp )

DeInitialize the OPAMP peripheral.

Note:
Deinitialization can be performed if the OPAMP configuration is locked. (the lock is SW in L4)
Parameters:
hopamp,:OPAMP handle
Return values:
HALstatus

Definition at line 417 of file stm32l4xx_hal_opamp.c.

HAL_StatusTypeDef HAL_OPAMP_Init ( OPAMP_HandleTypeDef *  hopamp )

Initializes the OPAMP according to the specified parameters in the OPAMP_InitTypeDef and initialize the associated handle.

Note:
If the selected opamp is locked, initialization can't be performed. To unlock the configuration, perform a system reset.
Parameters:
hopamp,:OPAMP handle
Return values:
HALstatus

Definition at line 274 of file stm32l4xx_hal_opamp.c.

__weak void HAL_OPAMP_MspDeInit ( OPAMP_HandleTypeDef *  hopamp )

DeInitialize OPAMP MSP.

Parameters:
hopamp,:OPAMP handle
Return values:
None

Definition at line 469 of file stm32l4xx_hal_opamp.c.

__weak void HAL_OPAMP_MspInit ( OPAMP_HandleTypeDef *  hopamp )

Initialize the OPAMP MSP.

Parameters:
hopamp,:OPAMP handle
Return values:
None

Definition at line 457 of file stm32l4xx_hal_opamp.c.