CLASSIC
Modul: adc
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_ADC_SECTION_8_3_3_Adc_DeInit
Wortlaut
8.3.3 Adc_DeInit
[SWS_Adc_00366] Definition of API function Adc_DeInit ⌈
Service Name
Adc_DeInit
Syntax
void Adc_DeInit (
void
)
Service ID [hex]
0x01
Sync/Async
Synchronous
Reentrancy
Non Reentrant
Parameters (in)
None
Parameters (inout)
None
Parameters (out)
None
Return value
None
Description
Returns all ADC HW Units to a state comparable to their power on reset state.
Available via
Adc.h
⌋
[SWS_Adc_00110]
Upstream requirements: SRS_SPAL_12163
⌈The function Adc_DeInit shall return all ADC HW Units to a state comparable to their
power on reset state. Values of registers which are not writeable are excluded. It’s the
responsibility of the hardware design that this state does not lead to undefined activities
in the µC.⌋
[SWS_Adc_00111]
Upstream requirements: SRS_BSW_00336, SRS_SPAL_12163
⌈The function Adc_DeInit shall disable all used interrupts and notifications.⌋
[SWS_Adc_00358] ⌈The ADC module’s environment shall not call the function Adc_
DeInit while any group is not in state ADC_IDLE.⌋
[SWS_Adc_00228]
Upstream requirements: SRS_BSW_00171
⌈The function Adc_DeInit shall be pre compile time configurable On/Off by the configuration parameter: AdcDeInitApi.⌋
[SWS_Adc_00112] ⌈If calledwhile not all groups are either in state ADC_IDLE or state
ADC_STREAM_COMPLETED, while no conversion is ongoing (ADC groups which are
implicitly stopped), the function Adc_DeInit shall report a runtime error.⌋
[SWS_Adc_00154]
Upstream requirements: SRS_BSW_00406, SRS_BSW_00386, SRS_SPAL_12448
⌈If development error detection for the ADC module is enabled: if called before the
module has been initialized, the function Adc_DeInit shall raise development error
ADC_E_UNINIT and return without any action.⌋
Versionen & Provenienz · Zugeordnete Anforderungen
Diese Angaben zeigt der Versions-Explorer.
Begründung & Zuweisungs-Evidenz
Cited verbatim in the snippet (deterministic citation).
Dokumenten-Herkunft & Rückverfolgbarkeit
| Spezifikations-Dokument | SWS_ADCDriver.pdf |
|---|---|
| Dokumentseite | Seite 59 |
| Ziel-Modul | adc (classic) |
| Ziel-Anforderung | SWS_Adc_00366 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |