beautypg.com

Digilent WaveForms User Manual

Page 77

background image

WaveForms™ SDK Reference Manual

Copyright Digilent, Inc. All rights reserved.

Other product and company names mentioned may be trademarks of their respective owners.

Page 77 of 85


FDwfDigitalOutIdleSet
(HDWF hdwf,

int

idxChannel, DwfDigitalOutIdle v)

Parameters:

- hdwf – Interface handle.

- idxChannel – Channel index.

- v – Value to set idle output.

The function above sets the idle output of the specified channel.


FDwfDigitalOutIdleGet
(HDWF hdwf,

int

idxChannel, DwfDigitalOutIdle *pv)

Parameters:

- hdwf – Interface handle.

- idxChannel – Channel index.

- pv – Pointer to variable to receive configured value.

The function above is used to verify the idle output of a specific channel.


FDwfDigitalOutDividerInfo
(
HDWF hdwf,

int

idxChannel,

unsigned

int

*vMin,

unsigned

int

*vMax)

Parameters:

- hdwf – Interface handle.

- idxChannel – Channel index.

- pnMin – Variable to receive the supported minimum divider value.

- pnMax – Variable to receive the supported maximum divider value.

The function above is used to return the supported clock divider value range.


FDwfDigitalOutDividerInitSet
(HDWF hdwf,

int

idxChannel,

unsigned

int

v)

Parameters:

- hdwf – Interface handle.

- idxChannel – Channel index.

- v – Divider initial value.

The function above sets the initial divider value of the specified channel.


FDwfDigitalOutDividerInitGet
(HDWF hdwf,

int

idxChannel,

unsigned

int

*pv)

Parameters:

- hdwf – Interface handle.

- idxChannel – Channel index.

- pv – Pointer to variable to receive configured value.

The function above is used to verify the initial divider value of the specified channel.