Definition at line 34 of file OVTCustomInterface.hpp.
◆ ~OvtDefaultCustomInterface()
| nvsipl::OvtDefaultCustomInterface::~OvtDefaultCustomInterface |
( |
| ) |
|
|
protecteddefault |
◆ getClassInterfaceID()
| static const UUID& nvsipl::OvtDefaultCustomInterface::getClassInterfaceID |
( |
| ) |
|
|
inlinestatic |
Get Sensor OX5B class custom interface ID.
This function is used by application to get sensor's custom interface ID. Application can use this ID to get the interface of the class.
- Precondition
- None.
- Return values
-
Usage considerations
- Allowed context for the API call
- Interrupt handler: No
- Signal handler: No
- Thread-safe: No
- Re-entrant: No
- Async/Sync: Sync
- Required privileges: Yes, with the following conditions:
- Grants: nonroot, allow
- Abilities: public_channel
- Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
- Allowed execution state
- Initialization: No
- Operational: Yes
- Reinit/Deinit Preparation: No
- Maturity: GA
Definition at line 71 of file OVTCustomInterface.hpp.
References nvsipl::OVT_DEFAULT_CUSTOM_INTERFACE_ID.
◆ getInstanceInterfaceID()
| const UUID& nvsipl::OvtDefaultCustomInterface::getInstanceInterfaceID |
( |
| ) |
const |
|
inlineoverridevirtualnoexcept |
Get Sensor OX5B instance custom interface ID.
This function is used by application to get sensor's custom interface ID. Application can use this ID to get the interface of the instance.
- Precondition
- None.
- Return values
-
Usage considerations
- Allowed context for the API call
- Interrupt handler: No
- Signal handler: No
- Thread-safe: No
- Re-entrant: No
- Async/Sync: Sync
- Required privileges: Yes, with the following conditions:
- Grants: nonroot, allow
- Abilities: public_channel
- Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
- Allowed execution state
- Initialization: No
- Operational: Yes
- Reinit/Deinit Preparation: No
- Maturity: GA
Implements nvsipl::Interface.
Definition at line 109 of file OVTCustomInterface.hpp.
References nvsipl::OVT_DEFAULT_CUSTOM_INTERFACE_ID.
◆ GetSerializerVideoStatus()
Get serializer's video status.
This function is used to get serializer's video status by reading OVERFLOW bit, TUN_FIFO_OVERFLOW bit and PCLK detected (PCLKDET) bit status which are related to the health of the video transmitted from the serializer. This API is virtual function and will be overridden by other implementation.
- Precondition
- The serializer should be in streaming state for video input.
- Parameters
-
| [out] | customErrInfo | Pointer to struct MAX96717FVideoStatus which contains status of serializer OVERFLOW bit, TUN_FIFO_OVERFLOW bit and PCLKDET bit. Valid range : [non-NULL]. |
- Return values
-
| NVSIPL_STATUS_OK | If the video transmitted from the serializer is healthy. |
| NVSIPL_STATUS_BAD_ARGUMENT | Input parameter validation failed. |
| (SIPLStatus) | Any errors from dependencies. |
Usage considerations
- Allowed context for the API call
- Interrupt handler: No
- Signal handler: No
- Thread-safe: No
- Re-entrant: No
- Async/Sync: Sync
- Required privileges: Yes, with the following conditions:
- Grants: nonroot, allow
- Abilities: public_channel
- Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
- Allowed execution state
- Initialization: No
- Operational: Yes
- Reinit/Deinit Preparation: No
- Maturity: GA
◆ MAX25614GetADCStatus()
Read custom info values for MAX25614 LED Driver.
This function reads input/output voltages and output channel current for a given MAX25614 based on the mask specified by statusInfo. This API is virtual function and will be overridden by other implementation.
The user needs to invoke this function for getting ADC status information from LED Driver device to detect errors of Camera modules using MAX25614. This API needs to be invoked with periodicity of <= 100ms.
- Precondition
- Serializer and MAX25614 must be powered on.
- Parameters
-
| [in,out] | statusInfo | Pointer to struct MAX25614ADCStatus which contains information need to be filled by driver, bit field indicating the info flags set is indexed by enum MAX25614ADCStatusType. Valid range : [non-NULL]. |
- Return values
-
| NVSIPL_STATUS_OK | If successfully able to read Input/Output voltages and Current values. |
| NVSIPL_STATUS_BAD_ARGUMENT | Input parameter validation failed. |
| (SIPLStatus) | Any errors from dependencies. |
Usage considerations
- Allowed context for the API call
- Interrupt handler: No
- Signal handler: No
- Thread-safe: No
- Re-entrant: No
- Async/Sync: Sync
- Required privileges: Yes, with the following conditions:
- Grants: nonroot, allow
- Abilities: public_channel
- Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
- Allowed execution state
- Initialization: No
- Operational: Yes
- Reinit/Deinit Preparation: No
- Maturity: GA
◆ MAX25614GetErrorInfo()
Get error info for MAX25614 LED Driver.
This function is used to get information about error bits in the relevant ACK registers, which are set in case of interrupt faults. This API is virtual function and will be overridden by other implementation.
The user needs to invoke this function for getting detailed error information from the LED Driver device in the event of error from Camera modules using MAX25614.
- Precondition
- Serializer and MAX25614 must be powered on.
- Parameters
-
| [out] | customErrInfo | Pointer to struct MAX25614CustomErrInfo which contains error information filled by driver, bit field indicating the error flags set is indexed by enum MAX25614CustomErrType. Valid range : [non-NULL]. |
- Return values
-
| NVSIPL_STATUS_OK | If successfully able to get error info for MAX25614 LED Driver. |
| NVSIPL_STATUS_NOT_SUPPORTED | If MAX25614 LED Driver GetErrorInfo function is not supported. |
| NVSIPL_STATUS_BAD_ARGUMENT | Input parameter validation failed. |
| (SIPLStatus) | Any errors from dependencies. |
Usage considerations
- Allowed context for the API call
- Interrupt handler: No
- Signal handler: No
- Thread-safe: No
- Re-entrant: No
- Async/Sync: Sync
- Required privileges: Yes, with the following conditions:
- Grants: nonroot, allow
- Abilities: public_channel
- Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
- Allowed execution state
- Initialization: No
- Operational: Yes
- Reinit/Deinit Preparation: No
- Maturity: GA
◆ MAX25614IsFLTLow()
| virtual SIPLStatus nvsipl::OvtDefaultCustomInterface::MAX25614IsFLTLow |
( |
bool *const |
fltStatus | ) |
|
|
pure virtual |
Read custom info values for MAX25614 LED Driver.
This function reads FLT status and fills true or false in fltStatus. This API is virtual function and will be overridden by other implementation.
The user needs to invoke this function for getting the FLT status information from LED Driver device to detect faults for Camera modules using MAX25614.
- Precondition
- Serializer and MAX25614 must be powered on.
- Parameters
-
| [out] | fltStatus | Pointer to boolean variable which contains information need to be filled by driver, true or false returns whether FLT flags is set or not. Valid range : [non-NULL]. |
- Return values
-
| NVSIPL_STATUS_OK | If successfully able to read Input/Output voltages and Current values. |
| NVSIPL_STATUS_BAD_ARGUMENT | Input parameter validation failed. |
| (SIPLStatus) | Any errors from dependencies. |
Usage considerations
- Allowed context for the API call
- Interrupt handler: No
- Signal handler: No
- Thread-safe: No
- Re-entrant: No
- Async/Sync: Sync
- Required privileges: Yes, with the following conditions:
- Grants: nonroot, allow
- Abilities: public_channel
- Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
- Allowed execution state
- Initialization: No
- Operational: Yes
- Reinit/Deinit Preparation: No
- Maturity: GA
◆ PSCheckIsetComparator()
| virtual SIPLStatus nvsipl::OvtDefaultCustomInterface::PSCheckIsetComparator |
( |
uint8_t *const |
dataBuff | ) |
const |
|
pure virtual |
Read ISET(Current-Limit Setting) value from Power Switch (PS) Status register.
This function reads the ISET value for the link specified by linkIndex and stores it in the data pointer. ISET value of 0 means no error. When ISET pin is open or shorted, ISET value of 1 is reported. This API is virtual function and will be overridden by other implementation.
- Precondition
- Power Switch must be powered on using GPIO control.
- Parameters
-
| [out] | dataBuff | Buffer pointer to output (ISET) value from Power Switch (PS) status register. Valid range : [non-NULL]. |
- Return values
-
| NVSIPL_STATUS_OK | If successfully able to read ISET value. |
| NVSIPL_STATUS_BAD_ARGUMENT | Input parameter validation failed. |
| (SIPLStatus) | Any errors from dependencies. |
Usage considerations
- Allowed context for the API call
- Interrupt handler: No
- Signal handler: No
- Thread-safe: No
- Re-entrant: No
- Async/Sync: Sync
- Required privileges: Yes, with the following conditions:
- Grants: nonroot, allow
- Abilities: public_channel
- Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
- Allowed execution state
- Initialization: No
- Operational: Yes
- Reinit/Deinit Preparation: No
- Maturity: GA
◆ PSReadVoltageAndCurrentValues()
| virtual SIPLStatus nvsipl::OvtDefaultCustomInterface::PSReadVoltageAndCurrentValues |
( |
uint8_t const |
dataBuff_size, |
|
|
uint16_t *const |
dataBuff |
|
) |
| const |
|
pure virtual |
Reads the voltage and current values for a Power Switch link/channel.
This function reads input/output voltages and output channel current for a given Power Switch link/channel. This API is virtual function and will be overridden by other implementation.
- Precondition
- Power Switch must be powered on using GPIO control.
- Parameters
-
| [in] | dataBuff_size | Value is fixed to 5. Calling function needs to allocate space for the 5 values specified below in dataBuff. Valid range : [5] |
| [out] | dataBuff | pointer to the array Voltage/Current values for specified linkIndex. Index 0: Output Voltage. Index 1: Vin. Index 2: Vdd. Index 3: VISET. Index 4: Output Channel Current. Valid range : [non-NULL]. |
- Return values
-
| NVSIPL_STATUS_OK | If successfully able to read Input/Output voltages and Current values. |
| NVSIPL_STATUS_BAD_ARGUMENT | Input parameter validation failed. |
| (SIPLStatus) | Any errors from dependencies. |
Usage considerations
- Allowed context for the API call
- Interrupt handler: No
- Signal handler: No
- Thread-safe: No
- Re-entrant: No
- Async/Sync: Sync
- Required privileges: Yes, with the following conditions:
- Grants: nonroot, allow
- Abilities: public_channel
- Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
- Allowed execution state
- Initialization: No
- Operational: Yes
- Reinit/Deinit Preparation: No
- Maturity: GA
◆ VerifySerGPIOReadBackStatus()
| virtual SIPLStatus nvsipl::OvtDefaultCustomInterface::VerifySerGPIOReadBackStatus |
( |
void |
| ) |
const |
|
pure virtual |
Verify Serializer GPIO Readback Status.
This function is used to perform run-time GPIO readback verification test on applicable GPIO pins. This API is virtual function and will be overridden by other implementation.
- Precondition
- A valid serializer object must be created and powered on. Also camera needs to be in streaming state.
- Return values
-
| NVSIPL_STATUS_OK | If Serializer GPIO Readback Status works normally. |
| NVSIPL_STATUS_BAD_ARGUMENT | Input parameter validation failed. |
| (SIPLStatus) | Any errors from dependencies. |
Usage considerations
- Allowed context for the API call
- Interrupt handler: No
- Signal handler: No
- Thread-safe: No
- Re-entrant: No
- Async/Sync: Sync
- Required privileges: Yes, with the following conditions:
- Grants: nonroot, allow
- Abilities: public_channel
- Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
- Allowed execution state
- Initialization: No
- Operational: Yes
- Reinit/Deinit Preparation: No
- Maturity: GA
The documentation for this class was generated from the following file: