Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
cubexHal.pdf
Скачиваний:
110
Добавлен:
10.02.2016
Размер:
16.16 Mб
Скачать

HAL ADC Extension Driver

UM1725

5 HAL ADC Extension Driver

5.1ADCEx Firmware driver registers structures

5.1.1ADC_InjectionConfTypeDef

Data Fields

uint32_t InjectedChannel

uint32_t InjectedRank

uint32_t InjectedSamplingTime

uint32_t InjectedOffset

uint32_t InjectedNbrOfConversion

uint32_t AutoInjectedConv

uint32_t InjectedDiscontinuousConvMode

uint32_t ExternalTrigInjecConvEdge

uint32_t ExternalTrigInjecConv

Field Documentation

uint32_t ADC_InjectionConfTypeDef::InjectedChannel

Configure the ADC injected channel. This parameter can be a value of

ADC_channels

uint32_t ADC_InjectionConfTypeDef::InjectedRank

The rank in the injected group sequencer This parameter must be a number between Min_Data = 1 and Max_Data = 4.

uint32_t ADC_InjectionConfTypeDef::InjectedSamplingTime

The sample time value to be set for the selected channel. This parameter can be a value of ADC_sampling_times

uint32_t ADC_InjectionConfTypeDef::InjectedOffset

Defines the offset to be subtracted from the raw converted data when convert injected channels. This parameter must be a number between Min_Data = 0x000 and Max_Data = 0xFFF.

uint32_t ADC_InjectionConfTypeDef::InjectedNbrOfConversion

Specifies the number of ADC conversions that will be done using the sequencer for injected channel group. This parameter must be a number between Min_Data = 1 and Max_Data = 4.

uint32_t ADC_InjectionConfTypeDef::AutoInjectedConv

Enables or disables the selected ADC automatic injected group conversion after regular one

uint32_t ADC_InjectionConfTypeDef::InjectedDiscontinuousConvMode

Specifies whether the conversion is performed in Discontinuous mode or not for injected channels. This parameter can be set to ENABLE or DISABLE.

uint32_t ADC_InjectionConfTypeDef::ExternalTrigInjecConvEdge

Select the external trigger edge and enable the trigger of an injected channels. This parameter can be a value of ADCEx_External_trigger_edge_Injected

uint32_t ADC_InjectionConfTypeDef::ExternalTrigInjecConv

Select the external event used to trigger the start of conversion of a injected channels. This parameter can be a value of

ADCEx_External_trigger_Source_Injected

120/900

DOCID025834 Rev 2

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]