Go to the source code of this file.
◆ NvPSDCtx_t
◆ NvPSDEndpoint
| Enumerator |
|---|
| NVPSD_PSS | |
| NVPSD_CLIENT | |
NvPSDEndpoint
Definition: NvPSD.h:36
@ NVPSD_CLIENT
Definition: NvPSD.h:38
@ NVPSD_PSS
Definition: NvPSD.h:37
◆ NvPSDErr
Enumeration of PSD error codes.
This enumeration defines various error codes that can occur during PSD communication.
| Enumerator |
|---|
| NVPSD_SUCCESS | Operation completed successfully.
|
| NVPSD_FAIL | Generic failure.
|
| NVPSD_NO_RSP | No response received.
|
NvPSDErr
Enumeration of PSD error codes.
Definition: NvPSD.h:29
@ NVPSD_NO_RSP
Definition: NvPSD.h:32
@ NVPSD_FAIL
Definition: NvPSD.h:31
@ NVPSD_SUCCESS
Definition: NvPSD.h:30
◆ NvPSDCreateContext()
| NvPSDCtx* NvPSDCreateContext |
( |
| ) |
|
Creates a new NvPSD context.
- Returns
- NvPSDCtx* Pointer to the newly created NvPSD context.
◆ NvPSDDestroyContext()
| void NvPSDDestroyContext |
( |
NvPSDCtx * |
ctx | ) |
|
Destroys the NvPSD context.
- Parameters
-
| [in] | ctx | Pointer to the NvPSD context to be destroyed. |
◆ NvPSDExit()
Exits NvPSD.
- Parameters
-
| [in] | ctx | Pointer to the NvPSD context. |
- Returns
- NvPSDErr Returns an error code indicating the success or failure of the operation.
◆ NvPSDInitialize()
| NvPSDErr NvPSDInitialize |
( |
NvPSDCtx * |
ctx, |
|
|
const char * |
writeChannel, |
|
|
const char * |
readChannel, |
|
|
const char * |
criticalWriteChannel, |
|
|
const char * |
criticalReadChannel, |
|
|
NvPSDEndpoint |
endpoint |
|
) |
| |
Initializes NvPSD.
This function initializes the PSD-PSS communication using the specified write and read channels.
- Parameters
-
| [in] | ctx | Pointer to the NvPSD context. |
| [in] | writeChannel | Name of the channel used for writing data. |
| [in] | readChannel | Name of the channel used for reading data. |
| [in] | criticalWriteChannel | Name of the channel used for writing CRITICAL severtity data. |
| [in] | criticalReadChannel | Name of the channel used for reading CRITICAL severity data. |
| [in] | endpoint | Param indicating whether endpoint is PSS or Client |
- Returns
- NvPSDErr Returns an error code indicating the success or failure of the initialization.
◆ NvPSDProcessDecisionRequest()
◆ NvPSDRegisterCallbacks()
Registers callbacks PSD.
Function to register the specified callbacks for PSD.
- Parameters
-
| [in] | ctx | Pointer to the NvPSD context. |
| [in] | callbacks | Pointer to the structure containing the callbacks to register. |
- Returns
- NvPSDErr Returns an error code indicating the success or failure of the registration.
◆ NvPSDStart()
Starts the PSD communication.
Function to initiate the PSD communication process.
- Parameters
-
| [in] | ctx | Pointer to the NvPSD context. |
- Returns
- NvPSDErr Returns an error code indicating the success or failure of the operation.
◆ NvPSDStop()
Stops the PSD communication.
- Parameters
-
| [in] | ctx | Pointer to the NvPSD context. |
- Returns
- NvPSDErr Returns an error code indicating the success or failure of the operation.