Jetson Linux API Reference

39.2 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 
13 #ifndef LIB_CAM_FSYNC_H
14 #define LIB_CAM_FSYNC_H
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
23 typedef enum CAM_FSYNC_STATUS
24 {
44 
45 
83 CAM_FSYNC_STATUS cam_fsync_program_abs_start_value(uint32_t group_id, uint64_t start_time_in_tsc_ticks);
84 
119 CAM_FSYNC_STATUS cam_fsync_stop_group(uint32_t group_id);
120 
172  uint32_t generator_id,
173  uint32_t frequency_hz,
174  uint32_t duty_cycle,
175  uint32_t offset_ms);
176 
177 #ifdef __cplusplus
178 }
179 #endif
180 
181 #endif
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_GENERATOR_NOT_FOUND
@ CAM_FSYNC_GENERATOR_NOT_FOUND
Generator not found for specified generator id.
Definition: NvCamFsync.h:42
CAM_FSYNC_UNSUPPORTED
@ CAM_FSYNC_UNSUPPORTED
The requested operation is not supported.
Definition: NvCamFsync.h:36
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_OK
@ CAM_FSYNC_OK
The operation was successful.
Definition: NvCamFsync.h:26
CAM_FSYNC_GROUP_FAULT
@ CAM_FSYNC_GROUP_FAULT
The operation encountered fault.
Definition: NvCamFsync.h:32
CAM_FSYNC_ERROR
@ CAM_FSYNC_ERROR
A generic error occured during the operation.
Definition: NvCamFsync.h:34
CAM_FSYNC_GROUP_IDLE
@ CAM_FSYNC_GROUP_IDLE
Group is idle.
Definition: NvCamFsync.h:38
CAM_FSYNC_STATUS
CAM_FSYNC_STATUS
Status codes for fsync group program start time operation.
Definition: NvCamFsync.h:23
CAM_FSYNC_GROUP_NOT_FOUND
@ CAM_FSYNC_GROUP_NOT_FOUND
Group not found for specified group id.
Definition: NvCamFsync.h:30
CAM_FSYNC_GROUP_BUSY
@ CAM_FSYNC_GROUP_BUSY
Group is busy.
Definition: NvCamFsync.h:28
CAM_FSYNC_INVALID_CONFIG
@ CAM_FSYNC_INVALID_CONFIG
The generator configuration is invalid.
Definition: NvCamFsync.h:40
cam_fsync_stop_group
CAM_FSYNC_STATUS cam_fsync_stop_group(uint32_t group_id)
Stop all generators in the requested group.