NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
NvCamFsync.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2022-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 
21 #ifndef LIB_CAM_FSYNC_H
22 #define LIB_CAM_FSYNC_H
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
38 typedef enum CAM_FSYNC_STATUS
39 {
59 
60 
98 CAM_FSYNC_STATUS cam_fsync_program_abs_start_value(uint32_t group_id, uint64_t start_time_in_tsc_ticks);
99 
134 CAM_FSYNC_STATUS cam_fsync_stop_group(uint32_t group_id);
135 
187  uint32_t generator_id,
188  uint32_t frequency_hz,
189  uint32_t duty_cycle,
190  uint32_t offset_ms);
191 
194 #ifdef __cplusplus
195 }
196 #endif
197 
198 #endif
cam_fsync_stop_group
CAM_FSYNC_STATUS cam_fsync_stop_group(uint32_t group_id)
Stop all generators in the requested group.
CAM_FSYNC_ERROR
@ CAM_FSYNC_ERROR
A generic error occured during the operation.
Definition: NvCamFsync.h:49
cam_fsync_program_abs_start_value
CAM_FSYNC_STATUS cam_fsync_program_abs_start_value(uint32_t group_id, uint64_t start_time_in_tsc_ticks)
Program and start generators in group with absolute start time in TSC ticks.
CAM_FSYNC_UNSUPPORTED
@ CAM_FSYNC_UNSUPPORTED
The requested operation is not supported.
Definition: NvCamFsync.h:51
CAM_FSYNC_GROUP_FAULT
@ CAM_FSYNC_GROUP_FAULT
The operation encountered fault.
Definition: NvCamFsync.h:47
cam_fsync_reconfigure_generator
CAM_FSYNC_STATUS cam_fsync_reconfigure_generator(uint32_t group_id, uint32_t generator_id, uint32_t frequency_hz, uint32_t duty_cycle, uint32_t offset_ms)
Reconfigure the period, duty cycle, and relative offset of a given generator.
CAM_FSYNC_STATUS
CAM_FSYNC_STATUS
Status codes for fsync group program start time operation.
Definition: NvCamFsync.h:38
CAM_FSYNC_OK
@ CAM_FSYNC_OK
The operation was successful.
Definition: NvCamFsync.h:41
CAM_FSYNC_GROUP_NOT_FOUND
@ CAM_FSYNC_GROUP_NOT_FOUND
Group not found for specified group id.
Definition: NvCamFsync.h:45
CAM_FSYNC_GENERATOR_NOT_FOUND
@ CAM_FSYNC_GENERATOR_NOT_FOUND
Generator not found for specified generator id.
Definition: NvCamFsync.h:57
CAM_FSYNC_GROUP_IDLE
@ CAM_FSYNC_GROUP_IDLE
Group is idle.
Definition: NvCamFsync.h:53
CAM_FSYNC_GROUP_BUSY
@ CAM_FSYNC_GROUP_BUSY
Group is busy.
Definition: NvCamFsync.h:43
CAM_FSYNC_INVALID_CONFIG
@ CAM_FSYNC_INVALID_CONFIG
The generator configuration is invalid.
Definition: NvCamFsync.h:55