EDT PDV SDK Documentation 6.1.0
pdv_dependent.h File Reference

(git 7e5a862, 2023-11-28)

#include "libpdv.h"
#include "edt_portability.h"
#include <stdbool.h>
Include dependency graph for pdv_dependent.h:
This graph shows which files directly or indirectly include this file:

Functions

PdvDependent pdv_alloc_dependent (void)
 Allocates a PdvDependent structure, for use by pdv_readcfg and pdv_initcam, and checks for and reports error conditions as a result of the alloc. More...
 
void pdv_dependent_erase (PdvDependent p)
 Clear all structure members to zero. More...
 
int pdv_get_dependent (PdvDev pdv_p, PdvDependent dep)
 Read PdvDependent data from driver. More...
 
int pdv_set_dependent (PdvDev pdv_p, PdvDependent dep)
 Write PdvDependent data to driver. More...
 

Detailed Description

Function Documentation

◆ pdv_dependent_erase()

void pdv_dependent_erase ( PdvDependent  p)

Clear all structure members to zero.

Parameters
pPointer to a PdvDependent structure.

◆ pdv_get_dependent()

int pdv_get_dependent ( PdvDev  pdv_p,
PdvDependent  dep 
)

Read PdvDependent data from driver.

Parameters
pdv_pThe open PDV device handle.
[out]depOn success, data read from driver will be returned here.
Returns
0 on success.

◆ pdv_set_dependent()

int pdv_set_dependent ( PdvDev  pdv_p,
PdvDependent  dep 
)

Write PdvDependent data to driver.

Parameters
pdv_pThe open PDV device handle.
depData to store in the device driver handle.
Returns
0 on success.
Here is the caller graph for this function: