CLASSIC
Modul: adc
Rolle: constitutive
Konfidenz: 98%
SNIP_CLASSIC_ADC_SECTION_8_3_8_Adc_DisableHardwareTrigger
Wortlaut
8.3.8 Adc_DisableHardwareTrigger
[SWS_Adc_91002] Definition of API function Adc_DisableHardwareTrigger ⌈
Service Name
Adc_DisableHardwareTrigger
Syntax
void Adc_DisableHardwareTrigger (
Adc_GroupType Group
)
Service ID [hex]
0x06
Sync/Async
Asynchronous
Reentrancy
Reentrant
Parameters (in)
Group
Numeric ID of requested ADC Channel group.
Parameters (inout)
None
Parameters (out)
None
Return value
None
Description
Disables the hardware trigger for the requested ADC Channel group.
Available via
Adc.h
⌋
[SWS_Adc_00116]
Upstream requirements: SRS_Adc_12823
⌈The function Adc_DisableHardwareTrigger shall disable the hardware trigger for the
requested ADC Channel group.⌋
[SWS_Adc_00429] ⌈The function Adc_DisableHardwareTrigger shall remove any
queued start/restart request for the requested ADC Channel group if queuing is enabled.⌋
[SWS_Adc_00145]
Upstream requirements: SRS_Adc_12364
⌈The function Adc_DisableHardwareTrigger shall abort an ongoing conversion, if applicable (supported by the hardware).⌋
[SWS_Adc_00157]
Upstream requirements: SRS_Adc_12317, SRS_Adc_12318, SRS_Adc_12364
⌈If enabled, the function Adc_DisableHardwareTrigger shall disable the notification
mechanism for the requested group.⌋
[SWS_Adc_00361] ⌈The function Adc_DisableHardwareTrigger shall set the group
status to state ADC_IDLE.⌋
[SWS_Adc_00121]
Upstream requirements: SRS_BSW_00171
⌈The ADC module’s environment shall only call the function Adc_DisableHardware
Trigger for groups configured in hardware trigger mode (see AdcGroupTriggSrc).⌋
[SWS_Adc_00266]
Upstream requirements: SRS_BSW_00171
⌈The function Adc_DisableHardwareTrigger shall be pre-compile time configurable On/
Off by the configuration parameter AdcHwTriggerApi.⌋
[SWS_Adc_00129]
Upstream requirements: SRS_BSW_00323, SRS_BSW_00386, SRS_SPAL_12448
⌈If development error detection for the ADC module is enabled: if the channel group
ID is non-existing, the function Adc_DisableHardwareTrigger shall raise development
error ADC_E_PARAM_GROUP and return without any action.⌋
[SWS_Adc_00137]
Upstream requirements: SRS_BSW_00386, SRS_SPAL_12448
⌈If development error detection for the ADC module is enabled: if the group is configured for software API trigger mode, the function Adc_DisableHardwareTrigger shall
raise development error ADC_E_WRONG_TRIGG_SRC and return without any action.⌋
[SWS_Adc_00282]
Upstream requirements: SRS_Adc_12823
⌈If development error detection for the ADC module is enabled:if a HW group is erroneously configured for continuous conversion mode, the function Adc_DisableHardwareTrigger shall raise development error ADC_E_WRONG_CONV_MODE and return
without any action.⌋
Note: SW groups configured in continuous conversion mode shall raise development
error ADC_E_WRONG_TRIGG_SRC instead.
[SWS_Adc_00304] ⌈If the group is not enabled (with a previous call of Adc_Enable
HardwareTrigger), the function Adc_DisableHardwareTrigger shall report a runtime error ADC_E_IDLE.⌋
[SWS_Adc_00298]
Upstream requirements: SRS_BSW_00406
⌈If development error detection for the ADC module is enabled: if called prior to initializing the ADC module, Adc_DisableHardwareTrigger shall raise development error
ADC_E_UNINIT and return without any action.⌋
Note:
All groups which are enabled with Adc_EnableHardwareTrigger should also be disabled with Adc_DisableHardwareTrigger, before they are enabled again, even if they
are implicitly stopped because of the selected conversion mode (streaming buffer with
linear access mode).
Versionen & Provenienz · Zugeordnete Anforderungen
Diese Angaben zeigt der Versions-Explorer.
Begründung & Zuweisungs-Evidenz
Explicit mention of SWS_Adc_91002 in the text of document AUTOSAR_CP_SWS_ADCDriver.pdf.
Dokumenten-Herkunft & Rückverfolgbarkeit
| Spezifikations-Dokument | SWS_ADCDriver.pdf |
|---|---|
| Dokumentseite | Seite 65 |
| Ziel-Modul | adc (classic) |
| Ziel-Anforderung | SWS_Adc_91002 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.98 |