1.2.4.4 Library Interface

PLC PVDD Monitor service provides the following interfaces:

Functions

NameDescription
SRV_PVDDMON_InitializeInitializes the PVDD Monitor service
SRV_PVDDMON_StartStart the PVDD Monitor service according to the requested Comparison mode
SRV_PVDDMON_RestartRestart the PVDD Monitor service allowing to change the Comparison mode
SRV_PVDDMON_CallbackRegisterAllows a client to set a PVDD Monitor event handling function for the service to call back when the value of the analog signal crosses any fixed threshold value
SRV_PVDDMON_CheckWindowAllows a client to check if the current ADC value is between correct threshold levels to be able to transmit through PLC

Data types and constants

NameTypeDescription
SRV_PVDDMON_CALLBACKTypedefPointer to a PVDD Monitor Event handler function
SRV_PVDDMON_CMP_MODEEnumDefines the Comparison mode