API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

ISYSCLOCK_ONCHANGE()

Brew Release
Brew MP 1.0.2
See Also
ISysClock_GetTimeUS() ISysClock_GetTimeS() ISignalCtl_Enable()
Description
Associates a signal to be strobed when either the validity of time has changed or a new value of time has been set. The firing of this signal simply indicates that time has changed either in validity or value. It is then the signal owner's responsibility to determine what action to take. Possible actions are calling one of the ISysClock GetTime calls to query time validity and acquire the new time. Once the signal has fired, the signal must be re-enabled in order to trigger again by calling ISignalCtl_Enable().
Params
pif
[]:
[IN] Pointer to ISysClock object
piSignal
[]:
[IN] Pointer to an ISignal
Interface
Prototype
  •    int ISysClock_OnChange(ISysClock* pif, ISignal* piSignal)
    
Return
  • Returns AEE_SUCCESS if the operation was successful or an error code specific to the failure.
Side Effect
  • None


Comments
None