SyncProc
 
Component SyncProc
Sync Processor
Component Level: High
Methods:
(Methods are user-callable functions/subroutines intended for the component functions control. Please see the Embedded Components page for more information.)
  • EnableEvent - Enable the events.

      ANSIC prototype: byte EnableEvent(void)
    • Return value:byte - Error code, possible codes:
      ERR_OK - OK
      ERR_SPEED - This device does not work in the active speed mode

  • DisableEvent - Disable the events.

      ANSIC prototype: byte DisableEvent(void)
    • Return value:byte - Error code, possible codes:
      ERR_OK - OK
      ERR_SPEED - This device does not work in the active speed mode

  • GetVertFreq - Get vertical frame frequency.

      ANSIC prototype: byte GetVertFreq(word Freq)
    • Freq:word - Detected frequency in Hz.
    • Return value:byte - Error code, possible codes:
      ERR_OK - OK
      ERR_SPEED - This device does not work in the active speed mode

  • GetHorizFreq - Get Horizontal Line Frequency.

      ANSIC prototype: byte GetHorizFreq(byte Freq)
    • Freq:byte - Detected frequency in KHz.
    • Return value:byte - Error code, possible codes:
      ERR_OK - OK
      ERR_SPEED - This device does not work in the active speed mode

  • GetVertOverflow - Get Vertical Overflow status.

      ANSIC prototype: bool GetVertOverflow(void)
    • Return value:bool - true if Overflow detected

  • GetHorizOverflow - Get Horizontal Overflow status.

      ANSIC prototype: bool GetHorizOverflow(void)
    • Return value:bool - true if Overflow detected

  • GetVsyncPolarity - Get polarity of the Vsync input signal.

      ANSIC prototype: bool GetVsyncPolarity(void)
    • Return value:bool - true if polarity is positive, false if polarity is negative

  • GetHsyncPolarity - Get polarity of the Hsync input signal.

      ANSIC prototype: bool GetHsyncPolarity(void)
    • Return value:bool - true if polarity is positive, false if polarity is negative


Note: Some methods can be implemented as macros.