SNIP_CLASSIC_OS_SECTION_8_4_29_ReadPeripheral8_ReadPeripheral16_ReadPeripheral32
Wortlaut
8.4.29 ReadPeripheral8, ReadPeripheral16, ReadPeripheral32
[SWS_Os_91013] Definition of API function ReadPeripheral8
Upstream requirements: SRS_Os_11005
⌈
Service Name
ReadPeripheral8
Syntax
StatusType ReadPeripheral8 (
AreaIdType Area,
const uint8* Address,
uint8* ReadValue
)
Service ID [hex]
0x28
Sync/Async
Synchronous
Reentrancy
Reentrant
Area
hardware peripheral area reference
Parameters (in)
Address
memory address
Parameters (inout)
None
Parameters (out)
ReadValue
content of the given memory location (<Address>)
Return value
StatusType
E_OK No error
E_OS_ID Area id is out of range (EXTENDED status)
E_OS_VALUE Address does not belong to given Area
(EXTENDED status)
E_OS_CALLEVEL Wrong call context of the API function
(EXTENDED status)
E_OS_ACCESS The calling task or ISR is not allowed to access
the given
Description
This service returns the content of a given memory location (<Address>).
Available via
Os.h
⌋
[SWS_Os_91015] Definition of API function ReadPeripheral16
Upstream requirements: SRS_Os_11005
⌈
Service Name
ReadPeripheral16
Syntax
StatusType ReadPeripheral16 (
AreaIdType Area,
const uint16* Address,
uint16* ReadValue
)
Service ID [hex]
0x29
Sync/Async
Synchronous
Reentrancy
Reentrant
Area
hardware peripheral area reference
Parameters (in)
Address
memory address
Parameters (inout)
None
Parameters (out)
ReadValue
content of the given memory location (<Address>)
▽
△
Return value
StatusType
E_OK No error
E_OS_ID Area id is out of range (EXTENDED status)
E_OS_VALUE Address does not belong to given Area
(EXTENDED status)
E_OS_CALLEVEL Wrong call context of the API function
(EXTENDED status)
E_OS_ACCESS The calling task or ISR is not allowed to access
the given
Description
This service returns the content of a given memory location (<Address>).
Available via
Os.h
⌋
[SWS_Os_91014] Definition of API function ReadPeripheral32
Upstream requirements: SRS_Os_11005
⌈
Service Name
ReadPeripheral32
Syntax
StatusType ReadPeripheral32 (
AreaIdType Area,
const uint32* Address,
uint32* ReadValue
)
Service ID [hex]
0x2a
Sync/Async
Synchronous
Reentrancy
Reentrant
Area
hardware peripheral area reference
Parameters (in)
Address
memory address
Parameters (inout)
None
Parameters (out)
ReadValue
content of the given memory location (<Address>)
Return value
StatusType
E_OK No error
E_OS_ID Area id is out of range (EXTENDED status)
E_OS_VALUE Address does not belong to given Area
(EXTENDED status)
E_OS_CALLEVEL Wrong call context of the API function
(EXTENDED status)
E_OS_ACCESS The calling task or ISR is not allowed to access
the given
Description
This service returns the content of a given memory location (<Address>).
Available via
Os.h
⌋
Versionen & Provenienz · Zugeordnete Anforderungen
Diese Angaben zeigt der Versions-Explorer.
Begründung & Zuweisungs-Evidenz
Explicit mention of SWS_Os_91015 in the text of document AUTOSAR_CP_SWS_OS.pdf.
Dokumenten-Herkunft & Rückverfolgbarkeit
| Spezifikations-Dokument | SWS_OS.pdf |
|---|---|
| Dokumentseite | Seite 205 |
| Ziel-Modul | os (classic) |
| Ziel-Anforderung | SWS_Os_91015 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.98 |