思澈科技软件开发工具包  2.20

Functions

HAL_StatusTypeDef HAL_SDADC_Init (SDADC_HandleTypeDef *hadc)
 Initializes the SDADC peripheral and regular group according to parameters specified in structure "ADC_InitTypeDef". More...
 
HAL_StatusTypeDef HAL_SDADC_DeInit (SDADC_HandleTypeDef *hadc)
 Deinitial SDADC hardware. More...
 

Detailed Description

Function Documentation

◆ HAL_SDADC_DeInit()

HAL_StatusTypeDef HAL_SDADC_DeInit ( SDADC_HandleTypeDef hadc)

Deinitial SDADC hardware.

Parameters
hadcSDADC handle.
Return values
HAL_StatusTypeDef

◆ HAL_SDADC_Init()

HAL_StatusTypeDef HAL_SDADC_Init ( SDADC_HandleTypeDef hadc)

Initializes the SDADC peripheral and regular group according to parameters specified in structure "ADC_InitTypeDef".

Note
As prerequisite, SDADC clock must be configured at RCC top level depending on both possible clock sources: APB clock of HSI clock.
Possibility to update parameters on the fly: The setting of these parameters is conditioned to ADC state. For parameters constraints, see comments of structure "ADC_InitTypeDef".
This function configures the ADC within 2 scopes: scope of entire ADC and scope of regular group. For parameters details, see comments of structure "SDADC_InitTypeDef".
Parameters
hadcSDADC handle
Return values
HALstatus