clkmgr 2.0
Clock Manager API library to receive events from the PTP service
Loading...
Searching...
No Matches
subscription_c.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause
2 SPDX-FileCopyrightText: Copyright © 2025 Intel Corporation. */
3
12#ifndef CLKMGR_SUBSCRIPTION_C_H
13#define CLKMGR_SUBSCRIPTION_C_H
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
23
29
34
47 enum Clkmgr_ClockType clock_type, uint32_t mask);
48
58 enum Clkmgr_ClockType clock_type);
59
70 uint32_t mask);
71
78
90 enum Clkmgr_ClockType clock_type, uint32_t threshold);
91
101 enum Clkmgr_ClockType clock_type);
102
113 enum Clkmgr_ClockType clock_type);
114
125 enum Clkmgr_ClockType clock_type);
126
136 enum Clkmgr_ClockType clock_type);
137
138#ifdef __cplusplus
139}
140#endif
141
142#endif /* CLKMGR_SUBSCRIPTION_C_H */
uint32_t clkmgr_getClockOffsetThreshold(const Clkmgr_Subscription *sub_c, enum Clkmgr_ClockType clock_type)
bool clkmgr_disableSubscription(Clkmgr_Subscription *sub_c, enum Clkmgr_ClockType clock_type)
bool clkmgr_setEventMask(Clkmgr_Subscription *sub_c, enum Clkmgr_ClockType clock_type, uint32_t mask)
bool clkmgr_enableSubscription(Clkmgr_Subscription *sub_c, enum Clkmgr_ClockType clock_type)
bool clkmgr_setPtpCompositeEventMask(Clkmgr_Subscription *sub_c, uint32_t mask)
uint32_t clkmgr_getEventMask(const Clkmgr_Subscription *sub_c, enum Clkmgr_ClockType clock_type)
bool clkmgr_setClockOffsetThreshold(Clkmgr_Subscription *sub_c, enum Clkmgr_ClockType clock_type, uint32_t threshold)
Clkmgr_Subscription * clkmgr_constructSubscriptionInstance(void)
bool clkmgr_isSubscriptionEnabled(const Clkmgr_Subscription *sub_c, enum Clkmgr_ClockType clock_type)
uint32_t clkmgr_getPtpCompositeEventMask(const Clkmgr_Subscription *sub_c)
struct Clkmgr_Subscription Clkmgr_Subscription
Definition subscription_c.h:22
void clkmgr_destroySubscriptionInstance(Clkmgr_Subscription *sub_c)
Clkmgr_ClockType
Definition types_c.h:57