summaryrefslogtreecommitdiff
path: root/software/octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.c
diff options
context:
space:
mode:
Diffstat (limited to 'software/octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.c')
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.c34
1 files changed, 34 insertions, 0 deletions
diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.c
index 19315f3..f72a2c4 100644
--- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.c
+++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.c
@@ -77,6 +77,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the
f_pPhasingTsstOpen Pointer to phasing TSST open structure.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100PhasingTsstOpenDef
UINT32 Oct6100PhasingTsstOpenDef(
tPOCT6100_PHASING_TSST_OPEN f_pPhasingTsstOpen )
{
@@ -91,8 +92,10 @@ UINT32 Oct6100PhasingTsstOpenDef(
return cOCT6100_ERR_OK;
}
+#endif
+#if !SKIP_Oct6100PhasingTsstOpen
UINT32 Oct6100PhasingTsstOpen(
tPOCT6100_INSTANCE_API f_pApiInstance,
tPOCT6100_PHASING_TSST_OPEN f_pPhasingTsstOpen )
@@ -132,6 +135,7 @@ UINT32 Oct6100PhasingTsstOpen(
return cOCT6100_ERR_OK;
}
+#endif
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
@@ -149,6 +153,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the
f_pPhasingTsstClose Pointer to phasing TSST close structure.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100PhasingTsstCloseDef
UINT32 Oct6100PhasingTsstCloseDef(
tPOCT6100_PHASING_TSST_CLOSE f_pPhasingTsstClose )
{
@@ -156,8 +161,10 @@ UINT32 Oct6100PhasingTsstCloseDef(
return cOCT6100_ERR_OK;
}
+#endif
+#if !SKIP_Oct6100PhasingTsstClose
UINT32 Oct6100PhasingTsstClose(
tPOCT6100_INSTANCE_API f_pApiInstance,
tPOCT6100_PHASING_TSST_CLOSE f_pPhasingTsstClose )
@@ -197,6 +204,7 @@ UINT32 Oct6100PhasingTsstClose(
return cOCT6100_ERR_OK;
}
+#endif
/**************************** PRIVATE FUNCTIONS ****************************/
@@ -215,6 +223,7 @@ f_pOpenChip Pointer to chip configuration struct.
f_pInstSizes Pointer to struct containing instance sizes.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100ApiGetPhasingTsstSwSizes
UINT32 Oct6100ApiGetPhasingTsstSwSizes(
IN tPOCT6100_CHIP_OPEN f_pOpenChip,
OUT tPOCT6100_API_INSTANCE_SIZES f_pInstSizes )
@@ -242,6 +251,7 @@ UINT32 Oct6100ApiGetPhasingTsstSwSizes(
return cOCT6100_ERR_OK;
}
+#endif
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
@@ -258,6 +268,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep
the present state of the chip and all its resources.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100ApiPhasingTsstSwInit
UINT32 Oct6100ApiPhasingTsstSwInit(
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance )
{
@@ -291,6 +302,7 @@ UINT32 Oct6100ApiPhasingTsstSwInit(
return cOCT6100_ERR_OK;
}
+#endif
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
@@ -308,6 +320,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the
f_pPhasingTsstOpen Pointer to phasing TSST open configuration structure.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100PhasingTsstOpenSer
UINT32 Oct6100PhasingTsstOpenSer(
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
IN OUT tPOCT6100_PHASING_TSST_OPEN f_pPhasingTsstOpen )
@@ -338,6 +351,7 @@ UINT32 Oct6100PhasingTsstOpenSer(
return cOCT6100_ERR_OK;
}
+#endif
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
@@ -355,6 +369,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the
f_pPhasingTsstOpen Pointer to phasing TSST open configuration structure.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100ApiCheckPhasingParams
UINT32 Oct6100ApiCheckPhasingParams(
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
IN tPOCT6100_PHASING_TSST_OPEN f_pPhasingTsstOpen )
@@ -399,6 +414,7 @@ UINT32 Oct6100ApiCheckPhasingParams(
return cOCT6100_ERR_OK;
}
+#endif
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
@@ -418,6 +434,7 @@ f_pusPhasingIndex Allocated entry in Phasing TSST API list.
f_pusTsstIndex TSST memory index of the counter.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100ApiReservePhasingResources
UINT32 Oct6100ApiReservePhasingResources(
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
IN tPOCT6100_PHASING_TSST_OPEN f_pPhasingTsstOpen,
@@ -461,6 +478,7 @@ UINT32 Oct6100ApiReservePhasingResources(
return cOCT6100_ERR_OK;
}
+#endif
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
@@ -481,6 +499,7 @@ f_usPhasingIndex Allocated entry in phasing TSST API list.
f_usTsstIndex TSST memory index of the counter.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100ApiWritePhasingStructs
UINT32 Oct6100ApiWritePhasingStructs(
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
IN tPOCT6100_PHASING_TSST_OPEN f_pPhasingTsstOpen,
@@ -529,6 +548,7 @@ UINT32 Oct6100ApiWritePhasingStructs(
return cOCT6100_ERR_OK;
}
+#endif
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
@@ -548,6 +568,7 @@ f_usPhasingIndex Allocated entry in phasing TSST API list.
f_usTsstIndex TSST memory index of the counter.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100ApiUpdatePhasingEntry
UINT32 Oct6100ApiUpdatePhasingEntry(
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
IN OUT tPOCT6100_PHASING_TSST_OPEN f_pPhasingTsstOpen,
@@ -583,6 +604,7 @@ UINT32 Oct6100ApiUpdatePhasingEntry(
return cOCT6100_ERR_OK;
}
+#endif
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
@@ -600,6 +622,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the
f_pPhasingTsstClose Pointer to phasing TSST close structure.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100PhasingTsstCloseSer
UINT32 Oct6100PhasingTsstCloseSer(
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
IN OUT tPOCT6100_PHASING_TSST_CLOSE f_pPhasingTsstClose )
@@ -627,6 +650,7 @@ UINT32 Oct6100PhasingTsstCloseSer(
return cOCT6100_ERR_OK;
}
+#endif
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
@@ -648,6 +672,7 @@ f_pusPhasingIndex Index of the phasing TSST structure in the API list.
f_pusTsstIndex Index of the entry in the TSST control memory.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100ApiAssertPhasingParams
UINT32 Oct6100ApiAssertPhasingParams(
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
IN tPOCT6100_PHASING_TSST_CLOSE f_pPhasingTsstClose,
@@ -692,6 +717,7 @@ UINT32 Oct6100ApiAssertPhasingParams(
return cOCT6100_ERR_OK;
}
+#endif
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
@@ -709,6 +735,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the
f_usTsstIndex Index of the entry in the TSST control memory.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100ApiInvalidatePhasingStructs
UINT32 Oct6100ApiInvalidatePhasingStructs(
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
IN UINT16 f_usTsstIndex )
@@ -739,6 +766,7 @@ UINT32 Oct6100ApiInvalidatePhasingStructs(
return cOCT6100_ERR_OK;
}
+#endif
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
@@ -756,6 +784,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the
f_usPhasingIndex Index of the phasing TSST in the API list.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100ApiReleasePhasingResources
UINT32 Oct6100ApiReleasePhasingResources(
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
IN UINT16 f_usPhasingIndex )
@@ -804,6 +833,7 @@ UINT32 Oct6100ApiReleasePhasingResources(
return cOCT6100_ERR_OK;
}
+#endif
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
@@ -821,6 +851,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep
f_pusPhasingIndex Resulting index reserved in the phasing TSST list.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100ApiReservePhasingEntry
UINT32 Oct6100ApiReservePhasingEntry(
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
OUT PUINT16 f_pusPhasingIndex )
@@ -848,6 +879,7 @@ UINT32 Oct6100ApiReservePhasingEntry(
return cOCT6100_ERR_OK;
}
+#endif
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
@@ -865,6 +897,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep
f_usPhasingIndex Index reserved in the phasing TSST API list.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100ApiReleasePhasingEntry
UINT32 Oct6100ApiReleasePhasingEntry(
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
IN UINT16 f_usPhasingIndex )
@@ -886,3 +919,4 @@ UINT32 Oct6100ApiReleasePhasingEntry(
return cOCT6100_ERR_OK;
}
+#endif