STM32F37 Standard Peripheral bibliotheek
1.0
ST Microelectronics bibliotheek documentatie voor de STM32F37 Standard Peripheral Library
|
Regular/Injected Channels DMA Configuration functions. More...
Functions | |
void | SDADC_DMAConfig (SDADC_TypeDef *SDADCx, uint32_t SDADC_DMATransfer, FunctionalState NewState) |
Configures the DMA transfer for regular/injected conversions. More... | |
Regular/Injected Channels DMA Configuration functions.
=============================================================================== ##### Regular Channels DMA Configuration functions ##### =============================================================================== [..] This section provides functions allowing to configure the DMA for SDADC regular or injected channels. [..] Since converted value is stored into a unique data register, it is useful to use DMA for conversion of more than one channel. This avoids the loss of the data already stored in the SDADC Data register. When the DMA is enabled for regular/injected channel (using the SDADC_DMAConfig() function), after each conversion of a regular/injected channel, a DMA request is generated.
void SDADC_DMAConfig | ( | SDADC_TypeDef * | SDADCx, |
uint32_t | SDADC_DMATransfer, | ||
FunctionalState | NewState | ||
) |
Configures the DMA transfer for regular/injected conversions.
SDADCx,: | where x can be 1, 2 or 3 to select the SDADC peripheral. |
SDADC_DMATransfer,: | Specifies the SDADC DMA transfer. This parameter can be one of the following values:
|
NewState | Indicates the new state of the SDADC DMA interface. This parameter can be: ENABLE or DISABLE. |
None |