1.2.4.4 Library Interface
PLC PVDD Monitor service provides the following interfaces:
Functions
| Name | Description |
|---|---|
| SRV_PVDDMON_Initialize | Initializes the PVDD Monitor service |
| SRV_PVDDMON_Start | Start the PVDD Monitor service according to the requested Comparison mode |
| SRV_PVDDMON_Restart | Restart the PVDD Monitor service allowing to change the Comparison mode |
| SRV_PVDDMON_CallbackRegister | Allows 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_CheckWindow | Allows 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
| Name | Type | Description |
|---|---|---|
| SRV_PVDDMON_CALLBACK | Typedef | Pointer to a PVDD Monitor Event handler function |
| SRV_PVDDMON_CMP_MODE | Enum | Defines the Comparison mode |
