APCI-3660 API  1717
xPCI3660 Potis functions

Functions

uint8_t i_APCI3660_SetPotiValue (PDEVICE_DATA deviceData, uint8_t b_PotiSelection, uint8_t b_Value)
 
uint8_t i_APCI3660_SavePotisValue (PDEVICE_DATA deviceData)
 

Detailed Description

Function Documentation

◆ i_APCI3660_SetPotiValue()

uint8_t i_APCI3660_SetPotiValue ( PDEVICE_DATA  deviceData,
uint8_t  b_PotiSelection,
uint8_t  b_Value 
)

i_APCI3660_SetPotiValue function to set the value of 1 poti (must be saved with the i_APCI3660_SavePotisValue function, otherwise it is lost when the power is turned off)

Parameters
[in]b_PotiSelection: selection of the poti
[in]b_Value: Value read
Return values
-100An error occurred while calling the IOCTL function
-102The PotiSelection parameter is wrong

◆ i_APCI3660_SavePotisValue()

uint8_t i_APCI3660_SavePotisValue ( PDEVICE_DATA  deviceData)

i_APCI3660_SavePotisValue function to save the value of all the potis that where previsouly set with i_APCI3660_SetPotiValue

Return values
-100An error occurred while calling the IOCTL function