mbgtools-lx  4.2.8
GPIO port configuration stuff

Data Structures

struct  MBG_GPIO_CFG_LIMITS
 General GPIO config info to be read from a device. More...
 
struct  MBG_GPIO_FREQ
 A structure used to specify a variable frequency. More...
 
struct  MBG_GPIO_FREQ_IN_SETTINGS
 Configuration of a GPIO variable frequency input. More...
 
struct  MBG_GPIO_FREQ_IN_SUPP
 Supported options for a variable frequency GPIO input. More...
 
struct  MBG_GPIO_FREQ_OUT_SETTINGS
 Configuration of a GPIO variable frequency output. More...
 
struct  MBG_GPIO_FREQ_OUT_SUPP
 Supported options for a variable frequency GPIO output. More...
 
struct  MBG_GPIO_FIXED_FREQ_OUT_SETTINGS
 Configuration of a GPIO fixed frequency output. More...
 
struct  MBG_GPIO_FIXED_FREQ_OUT_SUPP
 Supported options for a fixed frequency output. More...
 
struct  MBG_GPIO_BITS_IN_SETTINGS
 Configuration of a GPIO as BITS input module. More...
 
struct  MBG_GPIO_BITS_IN_SUPP
 Supported options of a BITS GPIO input. More...
 
struct  MBG_GPIO_BITS_OUT_SETTINGS
 Configuration of a GPIO as BITS output module. More...
 
struct  MBG_GPIO_BITS_OUT_SUPP
 Supported options of a BITS type GPIO output. More...
 
struct  MBG_GPIO_VIDEO_OUT_SETTINGS
 Configuration of a GPIO as video output module. More...
 
struct  MBG_GPIO_VIDEO_OUT_SUPP
 Supported options of a video type GPIO output. More...
 
struct  MBG_GPIO_VIDEO_SYNC_OUT_SETTINGS
 Configuration of a GPIO as sync output module. More...
 
struct  MBG_GPIO_VIDEO_SYNC_OUT_SUPP
 Supported options of a sync type GPIO output. More...
 
struct  MBG_GPIO_STUDIO_CLOCK_OUT_SETTINGS
 Configuration of a GPIO as studio clock output module. More...
 
struct  MBG_GPIO_STUDIO_CLOCK_OUT_SUPP
 Configuration of a GPIO as studio clock output module. More...
 
struct  MBG_GPIO_DIGITAL_AUDIO_OUT_SETTINGS
 Configuration of a GPIO digital audio output. More...
 
struct  MBG_GPIO_DIGITAL_AUDIO_OUT_SUPP
 Supported options for digital audio output. More...
 
struct  MBG_GPIO_SETTINGS
 A generic structure used to hold a GPIO port's settings. More...
 
struct  MBG_GPIO_SETTINGS_IDX
 A GPIO port's current settings, plus port index. More...
 
struct  MBG_GPIO_LIMITS
 A generic structure used to specify a GPIO port's limits. More...
 
struct  MBG_GPIO_INFO
 A GPIO port's current settings and limits. More...
 
struct  MBG_GPIO_INFO_IDX
 A GPIO port's current settings and limits, plus port index. More...
 
struct  MBG_GPIO_STATUS
 Status information on a single GPIO port. More...
 
struct  MBG_GPIO_STATUS_IDX
 Status information on a specific GPIO port. More...
 

Macros

#define _mbg_swab_mbg_gpio_cfg_limits(_p)
 
#define DEFAULT_GPIO_TYPES_SHORT_STRS
 
#define DEFAULT_GPIO_SIGNAL_SHAPE_NAMES
 String initializers for GPIO signal shapes. More...
 
#define _mbg_swab_mbg_gpio_freq(_p)
 
#define _mbg_swab_mbg_gpio_freq_in_settings(_p)
 
#define _mbg_swab_mbg_gpio_freq_in_supp(_p)
 
#define _mbg_swab_mbg_gpio_freq_out_settings(_p)
 
#define _mbg_swab_mbg_gpio_freq_out_supp(_p)
 
#define MBG_GPIO_FIXED_FREQ_STRS
 Initializers for an array of GPIO fixed frequency name strings. More...
 
#define _mbg_swab_mbg_gpio_fixed_freq_out_settings(_p)
 
#define _mbg_swab_mbg_gpio_fixed_freq_out_supp(_p)
 
#define MBG_GPIO_BITS_FORMAT_STRS
 Initializers for an array of GPIO bit format strings. More...
 
#define _mbg_swab_mbg_gpio_bits_in_settings(_p, _recv)
 
#define _mbg_swab_mbg_gpio_bits_in_supp(_p)
 
#define _mbg_swab_mbg_gpio_bits_out_settings(_p)
 
#define MBG_GPIO_BITS_OUT_FLAG_STRS
 String initializers for an array of GPIO BITS out flags. More...
 
#define _mbg_swab_mbg_gpio_bits_out_supp(_p)
 
#define MBG_GPIO_VIDEO_SD_FORMATS
 A combination of bit masks for SD video formats. More...
 
#define MBG_GPIO_VIDEO_HD_FORMATS
 A combination of bit masks for HD video formats. More...
 
#define MBG_GPIO_VIDEO_OUT_STRS
 Initializers for an array of video output name strings. More...
 
#define MBG_GPIO_VIDEO_EPOCH_STRS
 Initializers for an array of video epoch strings. More...
 
#define MBG_GPIO_VIDEO_TC_MODE_STRS
 Initializers for an array of video time code modes. More...
 
#define _mbg_swab_mbg_gpio_video_out_settings(_p)
 
#define _mbg_swab_mbg_gpio_video_out_supp(_p)
 
#define MBG_GPIO_VIDEO_SYNC_OUT_STRS
 Initializers for an array of video sync output name strings. More...
 
#define MBG_GPIO_VIDEO_SYNC_SD_TYPES
 A combination of bit masks for SD video sync types. More...
 
#define MBG_GPIO_VIDEO_SYNC_HD_TYPES
 A combination of bit masks for HD video sync types. More...
 
#define _mbg_swab_mbg_gpio_video_sync_out_settings(_p)
 
#define _mbg_swab_mbg_gpio_video_sync_out_supp(_p)
 
#define MBG_GPIO_STUDIO_CLOCK_BASE_FREQ_STRS
 Initializers for an array of base frequencies of studio clock output name strings. More...
 
#define MBG_GPIO_STUDIO_CLOCK_SCALE_STRS
 Initializers for an array of scales of studio clock output name strings. More...
 
#define _mbg_swab_mbg_gpio_studio_clock_out_settings(_p)
 
#define MAX_SUPP_BASE_FREQUENCIES   8
 max. supported base frequencies for studio clock outputs More...
 
#define _mbg_swab_mbg_gpio_studio_clock_out_supp(_p)
 
#define MBG_GPIO_DIGITAL_AUDIO_TYPE_STRS
 Initializers for an array of video epoch strings. More...
 
#define _mbg_swab_mbg_gpio_digital_audio_out_settings(_p)
 
#define _mbg_swab_mbg_gpio_digital_audio_out_supp(_p)
 
#define _mbg_swab_mbg_gpio_settings(_p, _recv)
 
#define _mbg_swab_mbg_gpio_settings_idx(_p, _recv)
 
#define _mbg_swab_mbg_gpio_limits(_p, _recv)
 
#define _mbg_swab_mbg_gpio_info(_p, _recv)
 
#define _mbg_swab_mbg_gpio_info_idx(_p, _recv)
 
#define _mbg_swab_mbg_gpio_status(_p)
 
#define _mbg_swab_mbg_gpio_status_idx(_p)
 
#define DEFAULT_GPIO_PORT_STATE_NAMES
 String initializers for GPIO port state names. More...
 

Enumerations

enum  MBG_GPIO_CFG_LIMIT_FLAG_BITS { MBG_GPIO_CFG_LIMIT_FLAG_BIT_STATUS_SUPP, N_MBG_GPIO_CFG_LIMIT_FLAG_BITS }
 GPIO limits flag bits used to define MBG_GPIO_CFG_LIMIT_FLAG_MASKS. More...
 
enum  MBG_GPIO_CFG_LIMIT_FLAG_MASKS { MBG_GPIO_CFG_LIMIT_FLAG_MASK_STATUS_SUPP = ( 1UL << MBG_GPIO_CFG_LIMIT_FLAG_BIT_STATUS_SUPP ) }
 GPIO limits flag masks associated with MBG_GPIO_CFG_LIMIT_FLAG_BITS. More...
 
enum  MBG_GPIO_TYPES {
  MBG_GPIO_TYPE_FREQ_IN, MBG_GPIO_TYPE_FREQ_OUT, MBG_GPIO_TYPE_FIXED_FREQ_OUT, MBG_GPIO_TYPE_BITS_IN,
  MBG_GPIO_TYPE_BITS_OUT, MBG_GPIO_TYPE_VIDEO_OUT, MBG_GPIO_TYPE_VIDEO_SYNC_OUT, MBG_GPIO_TYPE_STUDIO_CLOCK_OUT,
  MBG_GPIO_TYPE_DIGITAL_AUDIO_OUT, N_MBG_GPIO_TYPES
}
 Enumeration of GPIO types. More...
 
enum  MBG_GPIO_SIGNAL_SHAPES { MBG_GPIO_SIGNAL_SHAPE_UNSPECIFIED, MBG_GPIO_SIGNAL_SHAPE_SINE, MBG_GPIO_SIGNAL_SHAPE_SQUARE, N_MBG_GPIO_SIGNAL_SHAPES }
 Enumeration of known signal shapes. More...
 
enum  MBG_GPIO_SIGNAL_SHAPE_MASKS { MBG_GPIO_SIGNAL_SHAPE_MSK_UNSPECIFIED = ( 1UL << MBG_GPIO_SIGNAL_SHAPE_UNSPECIFIED ), MBG_GPIO_SIGNAL_SHAPE_MSK_SINE = ( 1UL << MBG_GPIO_SIGNAL_SHAPE_SINE ), MBG_GPIO_SIGNAL_SHAPE_MSK_SQUARE = ( 1UL << MBG_GPIO_SIGNAL_SHAPE_SQUARE ) }
 Bit masks associated with MBG_GPIO_SIGNAL_SHAPES. More...
 
enum  MBG_GPIO_FIXED_FREQS {
  MBG_GPIO_FIXED_FREQ_8kHz, MBG_GPIO_FIXED_FREQ_48kHz, MBG_GPIO_FIXED_FREQ_1MHz, MBG_GPIO_FIXED_FREQ_1544kHz,
  MBG_GPIO_FIXED_FREQ_2048kHz, MBG_GPIO_FIXED_FREQ_5MHz, MBG_GPIO_FIXED_FREQ_10MHz, MBG_GPIO_FIXED_FREQ_19440kHz,
  N_MBG_GPIO_FIXED_FREQ
}
 Enumeration of predefined fixed frequencies. More...
 
enum  MBG_GPIO_FIXED_FREQ_MASKS {
  MSK_MBG_GPIO_FIXED_FREQ_8kHz = ( 1UL << MBG_GPIO_FIXED_FREQ_8kHz ), MSK_MBG_GPIO_FIXED_FREQ_48kHz = ( 1UL << MBG_GPIO_FIXED_FREQ_48kHz ), MSK_MBG_GPIO_FIXED_FREQ_1MHz = ( 1UL << MBG_GPIO_FIXED_FREQ_1MHz ), MSK_MBG_GPIO_FIXED_FREQ_1544kHz = ( 1UL << MBG_GPIO_FIXED_FREQ_1544kHz ),
  MSK_MBG_GPIO_FIXED_FREQ_2048kHz = ( 1UL << MBG_GPIO_FIXED_FREQ_2048kHz ), MSK_MBG_GPIO_FIXED_FREQ_5MHz = ( 1UL << MBG_GPIO_FIXED_FREQ_5MHz ), MSK_MBG_GPIO_FIXED_FREQ_10MHz = ( 1UL << MBG_GPIO_FIXED_FREQ_10MHz ), MSK_MBG_GPIO_FIXED_FREQ_19440kHz = ( 1UL << MBG_GPIO_FIXED_FREQ_19440kHz )
}
 Bit masks associated with MBG_GPIO_FIXED_FREQS. More...
 
enum  MBG_GPIO_BITS_FORMATS {
  MBG_GPIO_BITS_E1_FRAMED, MBG_GPIO_BITS_T1_FRAMED, MBG_GPIO_BITS_E1_TIMING, MBG_GPIO_BITS_T1_TIMING,
  N_MBG_GPIO_BITS_FORMATS
}
 Enumeration of BITS signal formats. More...
 
enum  MBG_GPIO_BITS_FORMAT_MASKS { MSK_MBG_GPIO_BITS_E1_FRAMED = ( 1UL << MBG_GPIO_BITS_E1_FRAMED ), MSK_MBG_GPIO_BITS_T1_FRAMED = ( 1UL << MBG_GPIO_BITS_T1_FRAMED ), MSK_MBG_GPIO_BITS_E1_TIMING = ( 1UL << MBG_GPIO_BITS_E1_TIMING ), MSK_MBG_GPIO_BITS_T1_TIMING = ( 1UL << MBG_GPIO_BITS_T1_TIMING ) }
 Bit masks associated with MBG_GPIO_BITS_FORMATS. More...
 
enum  GPIO_SSM_VALS {
  GPIO_SSM_UNKNOWN, GPIO_SSM_RSVD_1, GPIO_SSM_G_811, GPIO_SSM_RSVD_3,
  GPIO_SSM_SSU_A, GPIO_SSM_RSVD_5, GPIO_SSM_RSVD_6, GPIO_SSM_RSVD_7,
  GPIO_SSM_SSU_B, GPIO_SSM_RSVD_9, GPIO_SSM_RSVD_10, GPIO_SSM_RSVD_SETS,
  GPIO_SSM_RSVD_12, GPIO_SSM_RSVD_13, GPIO_SSM_RSVD_14, GPIO_SSM_DONT_USE,
  N_GPIO_SSM_VALS
}
 Minimum and maximum known SSM values. More...
 
enum  GPIO_SA_BITS_GROUPS { MIN_SA_BITS_GROUP = 4, MAX_SA_BITS_GROUP = 8 }
 Minimum and maximum SA BITS groups. More...
 
enum  MBG_GPIO_BITS_ERRS { MBG_GPIO_BITS_ERR_LOS, MBG_GPIO_BITS_ERR_LOF, N_MBG_GPIO_BITS_ERRS }
 Enumeration of BITS input error conditions. More...
 
enum  MBG_GPIO_BITS_ERR_MASKS { MSK_MBG_GPIO_BITS_ERR_LOS = ( 1UL << MBG_GPIO_BITS_ERR_LOS ), MSK_MBG_GPIO_BITS_ERR_LOF = ( 1UL << MBG_GPIO_BITS_ERR_LOF ) }
 Bit masks associated with BITS input error conditions. More...
 
enum  MBG_GPIO_BITS_OUT_FLAGS { MBG_GPIO_BITS_OUT_FLAG_HDB3, MBG_GPIO_BITS_OUT_FLAG_B8ZS, N_MBG_GPIO_BITS_OUT_FLAGS }
 Enumeration of flags used with BITS type GPIO outputs. More...
 
enum  MBG_GPIO_BITS_OUT_FLAG_MASKS { MSK_MBG_GPIO_BITS_OUT_FLAG_HDB3 = ( 1UL << MBG_GPIO_BITS_OUT_FLAG_HDB3 ), MSK_MBG_GPIO_BITS_OUT_FLAG_B8ZS = ( 1UL << MBG_GPIO_BITS_OUT_FLAG_B8ZS ) }
 Bit masks associated with MBG_GPIO_BITS_OUT_FLAGS. More...
 
enum  MBG_GPIO_VIDEO_FORMATS {
  MBG_GPIO_VIDEO_FORMAT_OFF, MBG_GPIO_VIDEO_SD_FORMAT_NTSC, MBG_GPIO_VIDEO_SD_FORMAT_PAL, MBG_GPIO_VIDEO_HD_FORMAT_720_P_50Hz,
  MBG_GPIO_VIDEO_HD_FORMAT_1080_I_50Hz, MBG_GPIO_VIDEO_HD_FORMAT_720_P_59_94Hz, MBG_GPIO_VIDEO_HD_FORMAT_1080_I_59_94Hz, MBG_GPIO_VIDEO_SD_FORMAT_PAL_M,
  N_MBG_GPIO_VIDEO_FORMATS
}
 Enumeration of Video signal formats. More...
 
enum  MBG_GPIO_VIDEO_FORMAT_MASKS {
  MSK_MBG_GPIO_VIDEO_FORMAT_OFF = ( 1UL << MBG_GPIO_VIDEO_FORMAT_OFF ), MSK_MBG_GPIO_VIDEO_SD_FORMAT_NTSC = ( 1UL << MBG_GPIO_VIDEO_SD_FORMAT_NTSC ), MSK_MBG_GPIO_VIDEO_SD_FORMAT_PAL = ( 1UL << MBG_GPIO_VIDEO_SD_FORMAT_PAL ), MSK_MBG_GPIO_VIDEO_HD_FORMAT_720_P_50Hz = ( 1UL << MBG_GPIO_VIDEO_HD_FORMAT_720_P_50Hz ),
  MSK_MBG_GPIO_VIDEO_HD_FORMAT_1080_I_50Hz = ( 1UL << MBG_GPIO_VIDEO_HD_FORMAT_1080_I_50Hz ), MSK_MBG_GPIO_VIDEO_HD_FORMAT_720_P_59_94Hz = ( 1UL << MBG_GPIO_VIDEO_HD_FORMAT_720_P_59_94Hz ), MSK_MBG_GPIO_VIDEO_HD_FORMAT_1080_I_59_94Hz = ( 1UL << MBG_GPIO_VIDEO_HD_FORMAT_1080_I_59_94Hz ), MSK_MBG_GPIO_VIDEO_SD_FORMAT_PAL_M = ( 1UL << MBG_GPIO_VIDEO_SD_FORMAT_PAL_M )
}
 Bit masks associated with MBG_GPIO_VIDEO_FORMATS. More...
 
enum  MBG_GPIO_VIDEO_OUT_FLAGS { MBG_GPIO_VIDEO_OUT_HAS_NO_FREE_CONF, MBG_GPIO_VIDEO_OUT_HAS_TC_SD, N_MBG_GPIO_VIDEO_OUT_FLAGS }
 Enumeration of flags used with video type GPIO outputs. More...
 
enum  MBG_GPIO_VIDEO_OUT_FLAG_MASKS { MSK_MBG_GPIO_VIDEO_OUT_HAS_NO_FREE_CONF = ( 1UL << MBG_GPIO_VIDEO_OUT_HAS_NO_FREE_CONF ), MSK_MBG_GPIO_VIDEO_OUT_HAS_TC_SD = ( 1UL << MBG_GPIO_VIDEO_OUT_HAS_TC_SD ) }
 Bit masks associated with MBG_GPIO_VIDEO_OUT_FLAGS. More...
 
enum  MBG_GPIO_VIDEO_EPOCHS {
  SMPTE_TAI_EPOCH_1970, SMPTE_TAI_EPOCH_1958, SMPTE_UTC_EPOCH_1972, SMPTE_GPS_EPOCH_1980,
  N_MBG_GPIO_VIDEO_EPOCHS
}
 Enumeration of epochs used with video type GPIO outputs. More...
 
enum  MBG_GPIO_VIDEO_EPOCH_MASKS { MSK_SMPTE_TAI_EPOCH_1970 = ( 1UL << SMPTE_TAI_EPOCH_1970 ), MSK_SMPTE_TAI_EPOCH_1958 = ( 1UL << SMPTE_TAI_EPOCH_1958 ), MSK_SMPTE_UTC_EPOCH_1972 = ( 1UL << SMPTE_UTC_EPOCH_1972 ), MSK_SMPTE_GPS_EPOCH_1980 = ( 1UL << SMPTE_GPS_EPOCH_1980 ) }
 Bit masks associated with MBG_GPIO_VIDEO_EPOCHS. More...
 
enum  MBG_GPIO_VIDEO_TC_MODES { MBG_GPIO_VIDEO_TC_MODE_NONE, MBG_GPIO_VIDEO_TC_MODE_VITC, N_MBG_GPIO_VIDEO_TC_MODES }
 Enumeration of time code modes used with video type GPIO outputs. More...
 
enum  MBG_GPIO_VIDEO_TC_MODE_MASKS { MSK_MBG_GPIO_VIDEO_TC_MODE_NONE = ( 1UL << MBG_GPIO_VIDEO_TC_MODE_NONE ), MSK_MBG_GPIO_VIDEO_TC_MODE_VITC = ( 1UL << MBG_GPIO_VIDEO_TC_MODE_VITC ) }
 Bit masks associated with MBG_GPIO_VIDEO_TC_MODES. More...
 
enum  MBG_GPIO_VIDEO_SYNC_TYPES {
  MBG_GPIO_VIDEO_SYNC_TYPE_OFF, MBG_GPIO_VIDEO_SYNC_TYPE_SD_HSYNC, MBG_GPIO_VIDEO_SYNC_TYPE_SD_VSYNC, MBG_GPIO_VIDEO_SYNC_TYPE_SD_FRAME,
  MBG_GPIO_VIDEO_SYNC_TYPE_SD_BLANK, MBG_GPIO_VIDEO_SYNC_TYPE_HD_HSYNC, MBG_GPIO_VIDEO_SYNC_TYPE_HD_VSYNC, MBG_GPIO_VIDEO_SYNC_TYPE_HD_FRAME,
  MBG_GPIO_VIDEO_SYNC_TYPE_HD_BLANK, N_MBG_GPIO_VIDEO_SYNC_TYPES
}
 Enumeration of types used with video sync GPIO outputs Depends on configured video output. More...
 
enum  MBG_GPIO_VIDEO_SYNC_TYPE_MASKS {
  MSK_MBG_GPIO_VIDEO_SYNC_TYPE_OFF = ( 1UL << MBG_GPIO_VIDEO_SYNC_TYPE_OFF ), MSK_MBG_GPIO_VIDEO_SYNC_TYPE_SD_HSYNC = ( 1UL << MBG_GPIO_VIDEO_SYNC_TYPE_SD_HSYNC ), MSK_MBG_GPIO_VIDEO_SYNC_TYPE_SD_VSYNC = ( 1UL << MBG_GPIO_VIDEO_SYNC_TYPE_SD_VSYNC ), MSK_MBG_GPIO_VIDEO_SYNC_TYPE_SD_FRAME = ( 1UL << MBG_GPIO_VIDEO_SYNC_TYPE_SD_FRAME ),
  MSK_MBG_GPIO_VIDEO_SYNC_TYPE_SD_BLANK = ( 1UL << MBG_GPIO_VIDEO_SYNC_TYPE_SD_BLANK ), MSK_MBG_GPIO_VIDEO_SYNC_TYPE_HD_HSYNC = ( 1UL << MBG_GPIO_VIDEO_SYNC_TYPE_HD_HSYNC ), MSK_MBG_GPIO_VIDEO_SYNC_TYPE_HD_VSYNC = ( 1UL << MBG_GPIO_VIDEO_SYNC_TYPE_HD_VSYNC ), MSK_MBG_GPIO_VIDEO_SYNC_TYPE_HD_FRAME = ( 1UL << MBG_GPIO_VIDEO_SYNC_TYPE_HD_FRAME ),
  MSK_MBG_GPIO_VIDEO_SYNC_TYPE_HD_BLANK = ( 1UL << MBG_GPIO_VIDEO_SYNC_TYPE_HD_BLANK )
}
 Bit masks associated with MBG_GPIO_VIDEO_SYNC_TYPES. More...
 
enum  MBG_GPIO_STUDIO_CLOCK_BASE_FREQS { MBG_GPIO_STUDIO_CLOCK_BASE_FREQ_32KHZ, MBG_GPIO_STUDIO_CLOCK_BASE_FREQ_44_1KHZ, MBG_GPIO_STUDIO_CLOCK_BASE_FREQ_48KHZ, N_MBG_GPIO_STUDIO_CLOCK_BASE_FREQS }
 Enumeration of studio clock base frequencies. More...
 
enum  MBG_GPIO_STUDIO_CLOCK_BASE_FREQ_MASKS { MSK_MBG_GPIO_STUDIO_CLOCK_BASE_FREQ_32KHZ = ( 1UL << MBG_GPIO_STUDIO_CLOCK_BASE_FREQ_32KHZ ), MSK_MBG_GPIO_STUDIO_CLOCK_BASE_FREQ_44_1KHZ = ( 1UL << MBG_GPIO_STUDIO_CLOCK_BASE_FREQ_44_1KHZ ), MSK_MBG_GPIO_STUDIO_CLOCK_BASE_FREQ_48KHZ = ( 1UL << MBG_GPIO_STUDIO_CLOCK_BASE_FREQ_48KHZ ) }
 Bit masks associated with MBG_GPIO_STUDIO_CLOCK_BASE_FREQS. More...
 
enum  MBG_GPIO_STUDIO_CLOCK_SCALES {
  MBG_GPIO_STUDIO_CLOCK_SCALE_1_DIV_32, MBG_GPIO_STUDIO_CLOCK_SCALE_1_DIV_16, MBG_GPIO_STUDIO_CLOCK_SCALE_1_DIV_8, MBG_GPIO_STUDIO_CLOCK_SCALE_1_DIV_4,
  MBG_GPIO_STUDIO_CLOCK_SCALE_1_DIV_2, MBG_GPIO_STUDIO_CLOCK_SCALE_1, MBG_GPIO_STUDIO_CLOCK_SCALE_2, MBG_GPIO_STUDIO_CLOCK_SCALE_4,
  MBG_GPIO_STUDIO_CLOCK_SCALE_8, MBG_GPIO_STUDIO_CLOCK_SCALE_16, MBG_GPIO_STUDIO_CLOCK_SCALE_32, MBG_GPIO_STUDIO_CLOCK_SCALE_64,
  MBG_GPIO_STUDIO_CLOCK_SCALE_128, MBG_GPIO_STUDIO_CLOCK_SCALE_256, MBG_GPIO_STUDIO_CLOCK_SCALE_512, N_MBG_GPIO_STUDIO_CLOCK_SCALES
}
 Enumeration of studio clock scales. More...
 
enum  MBG_GPIO_STUDIO_CLOCK_SCALE_MASKS {
  MSK_MBG_GPIO_STUDIO_CLOCK_SCALE_1_DIV_32 = ( 1U << MBG_GPIO_STUDIO_CLOCK_SCALE_1_DIV_32 ), MSK_MBG_GPIO_STUDIO_CLOCK_SCALE_1_DIV_16 = ( 1U << MBG_GPIO_STUDIO_CLOCK_SCALE_1_DIV_16 ), MSK_MBG_GPIO_STUDIO_CLOCK_SCALE_1_DIV_8 = ( 1U << MBG_GPIO_STUDIO_CLOCK_SCALE_1_DIV_8 ), MSK_MBG_GPIO_STUDIO_CLOCK_SCALE_1_DIV_4 = ( 1U << MBG_GPIO_STUDIO_CLOCK_SCALE_1_DIV_4 ),
  MSK_MBG_GPIO_STUDIO_CLOCK_SCALE_1_DIV_2 = ( 1U << MBG_GPIO_STUDIO_CLOCK_SCALE_1_DIV_2 ), MSK_MBG_GPIO_STUDIO_CLOCK_SCALE_1 = ( 1U << MBG_GPIO_STUDIO_CLOCK_SCALE_1 ), MSK_MBG_GPIO_STUDIO_CLOCK_SCALE_2 = ( 1U << MBG_GPIO_STUDIO_CLOCK_SCALE_2 ), MSK_MBG_GPIO_STUDIO_CLOCK_SCALE_4 = ( 1U << MBG_GPIO_STUDIO_CLOCK_SCALE_4 ),
  MSK_MBG_GPIO_STUDIO_CLOCK_SCALE_8 = ( 1U << MBG_GPIO_STUDIO_CLOCK_SCALE_8 ), MSK_MBG_GPIO_STUDIO_CLOCK_SCALE_16 = ( 1U << MBG_GPIO_STUDIO_CLOCK_SCALE_16 ), MSK_MBG_GPIO_STUDIO_CLOCK_SCALE_32 = ( 1U << MBG_GPIO_STUDIO_CLOCK_SCALE_32 ), MSK_MBG_GPIO_STUDIO_CLOCK_SCALE_64 = ( 1U << MBG_GPIO_STUDIO_CLOCK_SCALE_64 ),
  MSK_MBG_GPIO_STUDIO_CLOCK_SCALE_128 = ( 1U << MBG_GPIO_STUDIO_CLOCK_SCALE_128 ), MSK_MBG_GPIO_STUDIO_CLOCK_SCALE_256 = ( 1U << MBG_GPIO_STUDIO_CLOCK_SCALE_256 ), MSK_MBG_GPIO_STUDIO_CLOCK_SCALE_512 = ( 1U << MBG_GPIO_STUDIO_CLOCK_SCALE_512 )
}
 Bit masks associated with MBG_GPIO_STUDIO_CLOCK_SCALES. More...
 
enum  MBG_GPIO_STUDIO_CLOCK_FLAGS { MBG_GPIO_STUDIO_CLOCK_OUTPUT_ENABLED, N_MBG_GPIO_STUDIO_CLOCK_FLAGS }
 Enumeration of flags used with studio clock type GPIO outputs. More...
 
enum  MBG_GPIO_STUDIO_CLOCK_FLAG_MASKS { MSK_MBG_GPIO_STUDIO_CLOCK_OUTPUT_ENABLED = ( 1UL << MBG_GPIO_STUDIO_CLOCK_OUTPUT_ENABLED ) }
 Bit masks associated with MBG_GPIO_STUDIO_CLOCK_FLAGS. More...
 
enum  MBG_GPIO_DIGITAL_AUDIO_TYPES { MBG_GPIO_DIGITAL_AUDIO_TYPE_OFF, MBG_GPIO_DIGITAL_AUDIO_TYPE_DARS, N_MBG_GPIO_DIGITAL_AUDIO_TYPES }
 Enumeration of types used with GPIO type digital audio outputs. More...
 
enum  MBG_GPIO_DIGITAL_AUDIO_TYPE_MASKS { MSK_MBG_GPIO_DIGITAL_AUDIO_TYPE_OFF = ( 1UL << MBG_GPIO_DIGITAL_AUDIO_TYPE_OFF ), MSK_MBG_GPIO_DIGITAL_AUDIO_TYPE_DARS = ( 1UL << MBG_GPIO_DIGITAL_AUDIO_TYPE_DARS ) }
 Bit masks associated with MBG_GPIO_DIGITAL_AUDIO_TYPES. More...
 
enum  MBG_GPIO_DIGITAL_AUDIO_FLAGS { MBG_GPIO_DIGITAL_AUDIO_RESERVED_FLAG, N_MBG_GPIO_DIGITAL_AUDIO_FLAGS }
 Enumeration of flags used with GPIO type digital audio outputs. More...
 
enum  MBG_GPIO_DIGITAL_AUDIO_FLAG_MASKS { MSK_MBG_GPIO_DIGITAL_AUDIO_RESERVED_FLAG = ( 1UL << MBG_GPIO_DIGITAL_AUDIO_RESERVED_FLAG ) }
 Bit masks associated with MBG_GPIO_DIGITAL_AUDIO_FLAGS. More...
 
enum  MBG_GPIO_FLAGS { MBG_GPIO_DEPENDS_ON_ASS_IO_IDX, N_MBG_GPIO_FLAGS }
 Enumeration of general flags used with a GPIO. More...
 
enum  MBG_GPIO_FLAG_MASKS { MSK_MBG_GPIO_DEPENDS_ON_ASS_IO_IDX = ( 1UL << MBG_GPIO_DEPENDS_ON_ASS_IO_IDX ) }
 Bit masks associated with MBG_GPIO_FLAGS. More...
 
enum  MBG_GPIO_PORT_STATES { MBG_GPIO_PORT_UNUSED, MBG_GPIO_PORT_OUTPUT_ENBD, MBG_GPIO_INPUT_SIG_AVAIL, N_MBG_GPIO_PORT_STATES }
 GPIO port states. More...
 

Detailed Description

Note
This is only supported if GPS_HAS_GPIO is set in the RECEIVER_INFO::features mask.

Macro Definition Documentation

◆ _mbg_swab_mbg_gpio_bits_in_settings

#define _mbg_swab_mbg_gpio_bits_in_settings (   _p,
  _recv 
)
Value:
do \
{ \
uint32_t f = (_p)->format; \
if ( (_recv) ) \
_mbg_swab32( &f); \
_mbg_swab32( &(_p)->format ); \
_mbg_swab32( &(_p)->reserved ); \
_mbg_swab32( &(_p)->csc_limit ); \
switch( f ) \
{ \
_mbg_swab8( &(_p)->quality.e1.ssm ); \
_mbg_swab8( &(_p)->quality.e1.sa_bits ); \
_mbg_swab16( &(_p)->quality.e1.reserved ); \
break; \
\
_mbg_swab8( &(_p)->quality.t1.min_boc ); \
_mbg_swab8( &(_p)->quality.t1.reserved_0 ); \
_mbg_swab16( &(_p)->quality.t1.reserved_1 ); \
break; \
\
default: \
break; \
} \
_mbg_swab32( &(_p)->err_msk ); \
_mbg_swab32( &(_p)->flags ); \
} while ( 0 )

Definition at line 8140 of file gpsdefs.h.

◆ _mbg_swab_mbg_gpio_bits_in_supp

#define _mbg_swab_mbg_gpio_bits_in_supp (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->supp_fmts ); \
_mbg_swab32( &(_p)->reserved ); \
} while ( 0 )

Definition at line 8215 of file gpsdefs.h.

◆ _mbg_swab_mbg_gpio_bits_out_settings

#define _mbg_swab_mbg_gpio_bits_out_settings (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->format ); \
_mbg_swab32( &(_p)->flags ); \
_mbg_swab8( &(_p)->sa_bits ); \
_mbg_swab8( &(_p)->ssm ); \
_mbg_swab8( &(_p)->boc ); \
_mbg_swab8( &(_p)->reserved_0 ); \
_mbg_swab32( &(_p)->reserved_1 ); \
_mbg_swab32( &(_p)->reserved_2 ); \
_mbg_swab32( &(_p)->reserved_3 ); \
} while ( 0 )

Definition at line 8246 of file gpsdefs.h.

◆ _mbg_swab_mbg_gpio_bits_out_supp

#define _mbg_swab_mbg_gpio_bits_out_supp (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->supp_fmts ); \
_mbg_swab32( &(_p)->supp_flags ); \
} while ( 0 )

Definition at line 8319 of file gpsdefs.h.

◆ _mbg_swab_mbg_gpio_cfg_limits

#define _mbg_swab_mbg_gpio_cfg_limits (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->num_io ); \
_mbg_swab32( &(_p)->reserved ); \
_mbg_swab32( &(_p)->flags ); \
} while ( 0 )

Definition at line 7616 of file gpsdefs.h.

Referenced by mbg_get_gpio_cfg_limits().

◆ _mbg_swab_mbg_gpio_digital_audio_out_settings

#define _mbg_swab_mbg_gpio_digital_audio_out_settings (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->type ); \
_mbg_swab32( &(_p)->flags ); \
_mbg_swab32( &(_p)->reserved0 ); \
_mbg_swab32( &(_p)->reserved1 ); \
_mbg_swab32( &(_p)->reserved2 ); \
} while ( 0 )

Definition at line 9055 of file gpsdefs.h.

◆ _mbg_swab_mbg_gpio_digital_audio_out_supp

#define _mbg_swab_mbg_gpio_digital_audio_out_supp (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->supp_types ); \
_mbg_swab32( &(_p)->supp_flags ); \
_mbg_swab32( &(_p)->reserved0 ); \
_mbg_swab32( &(_p)->reserved1 ); \
_mbg_swab32( &(_p)->reserved2 ); \
} while ( 0 )

Definition at line 9085 of file gpsdefs.h.

◆ _mbg_swab_mbg_gpio_fixed_freq_out_settings

#define _mbg_swab_mbg_gpio_fixed_freq_out_settings (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->freq_idx ); \
_mbg_swab32( &(_p)->shape ); \
_mbg_swab32( &(_p)->reserved ); \
_mbg_swab32( &(_p)->flags ); \
} while ( 0 )

Definition at line 7968 of file gpsdefs.h.

◆ _mbg_swab_mbg_gpio_fixed_freq_out_supp

#define _mbg_swab_mbg_gpio_fixed_freq_out_supp (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->supp_freq ); \
_mbg_swab32( &(_p)->supp_shapes ); \
_mbg_swab32( &(_p)->reserved ); \
_mbg_swab32( &(_p)->supp_flags ); \
} while ( 0 )

Definition at line 7996 of file gpsdefs.h.

◆ _mbg_swab_mbg_gpio_freq

#define _mbg_swab_mbg_gpio_freq (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->hz ); \
_mbg_swab32( &(_p)->frac); \
} while ( 0 )

Definition at line 7757 of file gpsdefs.h.

Referenced by mbgextio_get_fdm_freq().

◆ _mbg_swab_mbg_gpio_freq_in_settings

#define _mbg_swab_mbg_gpio_freq_in_settings (   _p)
Value:
do \
{ \
_mbg_swab_mbg_gpio_freq( &(_p)->freq ); \
_mbg_swab32( &(_p)->csc_limit ); \
_mbg_swab32( &(_p)->shape ); \
_mbg_swab32( &(_p)->reserved ); \
_mbg_swab32( &(_p)->flags ); \
} while ( 0 )

Definition at line 7784 of file gpsdefs.h.

◆ _mbg_swab_mbg_gpio_freq_in_supp

#define _mbg_swab_mbg_gpio_freq_in_supp (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->freq_min ); \
_mbg_swab32( &(_p)->freq_max ); \
_mbg_swab32( &(_p)->csc_limit_max ); \
_mbg_swab32( &(_p)->supp_shapes ); \
_mbg_swab32( &(_p)->supp_limits ); \
_mbg_swab32( &(_p)->flags ); \
} while ( 0 )

Definition at line 7815 of file gpsdefs.h.

◆ _mbg_swab_mbg_gpio_freq_out_settings

#define _mbg_swab_mbg_gpio_freq_out_settings (   _p)
Value:
do \
{ \
_mbg_swab_mbg_gpio_freq( &(_p)->freq ); \
_mbg_swab32( &(_p)->milli_phase ); \
_mbg_swab32( &(_p)->shape ); \
_mbg_swab32( &(_p)->reserved ); \
_mbg_swab32( &(_p)->flags ); \
} while ( 0 )

Definition at line 7846 of file gpsdefs.h.

◆ _mbg_swab_mbg_gpio_freq_out_supp

#define _mbg_swab_mbg_gpio_freq_out_supp (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->freq_min ); \
_mbg_swab32( &(_p)->freq_max ); \
_mbg_swab32( &(_p)->freq_resolution ); \
_mbg_swab32( &(_p)->milli_phase_max ); \
_mbg_swab32( &(_p)->supp_shapes ); \
_mbg_swab32( &(_p)->reserved ); \
_mbg_swab32( &(_p)->flags ); \
} while ( 0 )

Definition at line 7878 of file gpsdefs.h.

◆ _mbg_swab_mbg_gpio_info

#define _mbg_swab_mbg_gpio_info (   _p,
  _recv 
)
Value:
do \
{ \
_mbg_swab_mbg_gpio_settings( &(_p)->settings, (_recv) ); \
_mbg_swab_mbg_gpio_limits( &(_p)->limits, (_recv) ); \
} while ( 0 )

Definition at line 9262 of file gpsdefs.h.

◆ _mbg_swab_mbg_gpio_info_idx

#define _mbg_swab_mbg_gpio_info_idx (   _p,
  _recv 
)
Value:
do \
{ \
_mbg_swab32( &(_p)->idx ); \
_mbg_swab_mbg_gpio_info( &(_p)->info, (_recv) ); \
} while ( 0 )

Definition at line 9280 of file gpsdefs.h.

Referenced by mbg_get_gps_all_gpio_info().

◆ _mbg_swab_mbg_gpio_limits

#define _mbg_swab_mbg_gpio_limits (   _p,
  _recv 
)
Value:
do \
{ \
uint32_t t = (_p)->type; \
if ( (_recv) ) \
_mbg_swab32( &t ); \
_mbg_swab32( &(_p)->type ); \
_mbg_swab32( &(_p)->reserved ); \
_mbg_swab32( &(_p)->supp_flags ); \
switch( t ) \
{ \
case MBG_GPIO_TYPE_FREQ_IN : _mbg_swab_mbg_gpio_freq_in_supp( &(_p)->u.freq_in ); break; \
case MBG_GPIO_TYPE_FREQ_OUT : _mbg_swab_mbg_gpio_freq_out_supp( &(_p)->u.freq_out ); break; \
case MBG_GPIO_TYPE_BITS_IN : _mbg_swab_mbg_gpio_bits_in_supp( &(_p)->u.bits_in ); break; \
case MBG_GPIO_TYPE_BITS_OUT : _mbg_swab_mbg_gpio_bits_out_supp( &(_p)->u.bits_out ); break; \
case MBG_GPIO_TYPE_VIDEO_OUT : _mbg_swab_mbg_gpio_video_out_supp( &(_p)->u.video_out ); break; \
case MBG_GPIO_TYPE_VIDEO_SYNC_OUT : _mbg_swab_mbg_gpio_video_sync_out_supp( &(_p)->u.video_sync_out ); break; \
case MBG_GPIO_TYPE_DIGITAL_AUDIO_OUT : _mbg_swab_mbg_gpio_digital_audio_out_supp( &(_p)->u.digital_audio_out ); break; \
default : break; \
} \
} while ( 0 )
Variable frequency input, freq == 0 if input not used.
Definition: gpsdefs.h:7665
Digital Audio output (DARS, ...)
Definition: gpsdefs.h:7673
#define _mbg_swab_mbg_gpio_bits_in_supp(_p)
Definition: gpsdefs.h:8215
#define _mbg_swab_mbg_gpio_freq_in_supp(_p)
Definition: gpsdefs.h:7815
Fixed frequency output.
Definition: gpsdefs.h:7667
Variable frequency output.
Definition: gpsdefs.h:7666
#define _mbg_swab_mbg_gpio_digital_audio_out_supp(_p)
Definition: gpsdefs.h:9085
Framed data stream output.
Definition: gpsdefs.h:7669
#define _mbg_swab_mbg_gpio_studio_clock_out_supp(_p)
Definition: gpsdefs.h:8951
Video signal output (PAL, NTSC, ...)
Definition: gpsdefs.h:7670
#define _mbg_swab_mbg_gpio_video_sync_out_supp(_p)
Definition: gpsdefs.h:8731
Video sync signal output (H-Sync, V-Sync, ...)
Definition: gpsdefs.h:7671
#define _mbg_swab_mbg_gpio_fixed_freq_out_supp(_p)
Definition: gpsdefs.h:7996
#define _mbg_swab_mbg_gpio_bits_out_supp(_p)
Definition: gpsdefs.h:8319
Studio clock output.
Definition: gpsdefs.h:7672
#define _mbg_swab_mbg_gpio_video_out_supp(_p)
Definition: gpsdefs.h:8588
Framed data stream input.
Definition: gpsdefs.h:7668
#define _mbg_swab_mbg_gpio_freq_out_supp(_p)
Definition: gpsdefs.h:7878

Definition at line 9225 of file gpsdefs.h.

◆ _mbg_swab_mbg_gpio_settings

#define _mbg_swab_mbg_gpio_settings (   _p,
  _recv 
)
Value:
do \
{ \
uint32_t t = (_p)->type; \
if ( (_recv) ) \
_mbg_swab32( &t ); \
_mbg_swab32( &(_p)->type ); \
_mbg_swab16( &(_p)->reserved_1 ); \
_mbg_swab8( &(_p)->reserved_2 ); \
_mbg_swab8( &(_p)->ass_io_idx ); \
_mbg_swab32( &(_p)->flags ); \
switch( t ) \
{ \
case MBG_GPIO_TYPE_FREQ_IN : _mbg_swab_mbg_gpio_freq_in_settings( &(_p)->u.freq_in ); break; \
case MBG_GPIO_TYPE_FREQ_OUT : _mbg_swab_mbg_gpio_freq_out_settings( &(_p)->u.freq_out ); break; \
case MBG_GPIO_TYPE_BITS_IN : _mbg_swab_mbg_gpio_bits_in_settings( &(_p)->u.bits_in, (_recv) ); break; \
case MBG_GPIO_TYPE_BITS_OUT : _mbg_swab_mbg_gpio_bits_out_settings( &(_p)->u.bits_out ); break; \
case MBG_GPIO_TYPE_VIDEO_OUT : _mbg_swab_mbg_gpio_video_out_settings( &(_p)->u.video_out ); break; \
default : break; \
} \
} while ( 0 )
Variable frequency input, freq == 0 if input not used.
Definition: gpsdefs.h:7665
Digital Audio output (DARS, ...)
Definition: gpsdefs.h:7673
#define _mbg_swab_mbg_gpio_bits_in_settings(_p, _recv)
Definition: gpsdefs.h:8140
#define _mbg_swab_mbg_gpio_video_sync_out_settings(_p)
Definition: gpsdefs.h:8701
#define _mbg_swab_mbg_gpio_digital_audio_out_settings(_p)
Definition: gpsdefs.h:9055
Fixed frequency output.
Definition: gpsdefs.h:7667
Variable frequency output.
Definition: gpsdefs.h:7666
#define _mbg_swab_mbg_gpio_bits_out_settings(_p)
Definition: gpsdefs.h:8246
#define _mbg_swab_mbg_gpio_fixed_freq_out_settings(_p)
Definition: gpsdefs.h:7968
Framed data stream output.
Definition: gpsdefs.h:7669
Video signal output (PAL, NTSC, ...)
Definition: gpsdefs.h:7670
#define _mbg_swab_mbg_gpio_video_out_settings(_p)
Definition: gpsdefs.h:8549
Video sync signal output (H-Sync, V-Sync, ...)
Definition: gpsdefs.h:7671
#define _mbg_swab_mbg_gpio_studio_clock_out_settings(_p)
Definition: gpsdefs.h:8918
#define _mbg_swab_mbg_gpio_freq_in_settings(_p)
Definition: gpsdefs.h:7784
Studio clock output.
Definition: gpsdefs.h:7672
#define _mbg_swab_mbg_gpio_freq_out_settings(_p)
Definition: gpsdefs.h:7846
Framed data stream input.
Definition: gpsdefs.h:7668

Definition at line 9153 of file gpsdefs.h.

◆ _mbg_swab_mbg_gpio_settings_idx

#define _mbg_swab_mbg_gpio_settings_idx (   _p,
  _recv 
)
Value:
do \
{ \
_mbg_swab32( &(_p)->idx ); \
_mbg_swab_mbg_gpio_settings( &(_p)->settings, (_recv ) ); \
} while ( 0 )

Definition at line 9191 of file gpsdefs.h.

Referenced by mbg_set_gps_gpio_settings_idx(), and mbgextio_set_gpio_settings_idx().

◆ _mbg_swab_mbg_gpio_status

#define _mbg_swab_mbg_gpio_status (   _p)
Value:
do \
{ \
_mbg_swab8( &(_p)->port_state ); \
_mbg_swab8( &(_p)->reserved_0 ); \
_mbg_swab16( &(_p)->reserved_1 ); \
_mbg_swab32( &(_p)->reserved_2 ); \
_mbg_swab32( &(_p)->reserved_3 ); \
} while ( 0 )

Definition at line 9302 of file gpsdefs.h.

◆ _mbg_swab_mbg_gpio_status_idx

#define _mbg_swab_mbg_gpio_status_idx (   _p)
Value:
do \
{ \
_mbg_swab16( &(_p)->idx ); \
_mbg_swab_mbg_gpio_status( &(_p)->status ); \
} while ( 0 )

Definition at line 9324 of file gpsdefs.h.

Referenced by mbg_get_gps_all_gpio_status().

◆ _mbg_swab_mbg_gpio_studio_clock_out_settings

#define _mbg_swab_mbg_gpio_studio_clock_out_settings (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->base_freq ); \
_mbg_swab32( &(_p)->scale ); \
_mbg_swab32( &(_p)->flags ); \
_mbg_swab32( &(_p)->reserved0 ); \
_mbg_swab32( &(_p)->reserved1 ); \
} while ( 0 )

Definition at line 8918 of file gpsdefs.h.

◆ _mbg_swab_mbg_gpio_studio_clock_out_supp

#define _mbg_swab_mbg_gpio_studio_clock_out_supp (   _p)
Value:
do \
{ \
uint8_t idx; \
_mbg_swab8( &(_p)->supp_base_freqs ); \
_mbg_swab8( &(_p)->reserved0 ); \
_mbg_swab16( &(_p)->reserved1 ); \
for( idx = 0; idx < MAX_SUPP_BASE_FREQUENCIES; idx++ ) \
_mbg_swab16( &(_p)->supp_scales[idx] ); \
_mbg_swab32( &(_p)->supp_flags ); \
_mbg_swab32( &(_p)->reserved2 ); \
} while ( 0 )
#define MAX_SUPP_BASE_FREQUENCIES
max. supported base frequencies for studio clock outputs
Definition: gpsdefs.h:8930
#define _mbg_swab16(_p)
Definition: mbg_arch.h:173

Definition at line 8951 of file gpsdefs.h.

◆ _mbg_swab_mbg_gpio_video_out_settings

#define _mbg_swab_mbg_gpio_video_out_settings (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->format ); \
_mbg_swab32( &(_p)->flags ); \
_mbg_swab32( &(_p)->phase_offset ); \
_mbg_swab8( &(_p)->epoch ); \
_mbg_swab8( &(_p)->tc_mode ); \
_mbg_swab8( &(_p)->tc_line0 ); \
_mbg_swab8( &(_p)->tc_line1 ); \
_mbg_swab32( &(_p)->reserved0 ); \
_mbg_swab32( &(_p)->reserved1 ); \
} while ( 0 )

Definition at line 8549 of file gpsdefs.h.

◆ _mbg_swab_mbg_gpio_video_out_supp

#define _mbg_swab_mbg_gpio_video_out_supp (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->supp_formats ); \
_mbg_swab32( &(_p)->supp_flags ); \
_mbg_swab32( &(_p)->supp_epochs ); \
_mbg_swab8( &(_p)->supp_tc_modes ); \
_mbg_swab8( &(_p)->reserved0 ); \
_mbg_swab16( &(_p)->reserved2 ); \
_mbg_swab16( &(_p)->reserved3 ); \
_mbg_swab32( &(_p)->reserved1 ); \
} while ( 0 )

Definition at line 8588 of file gpsdefs.h.

◆ _mbg_swab_mbg_gpio_video_sync_out_settings

#define _mbg_swab_mbg_gpio_video_sync_out_settings (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->type ); \
_mbg_swab32( &(_p)->flags ); \
_mbg_swab32( &(_p)->reserved0 ); \
_mbg_swab32( &(_p)->reserved1 ); \
_mbg_swab32( &(_p)->reserved2 ); \
_mbg_swab32( &(_p)->reserved3 ); \
} while ( 0 )

Definition at line 8701 of file gpsdefs.h.

◆ _mbg_swab_mbg_gpio_video_sync_out_supp

#define _mbg_swab_mbg_gpio_video_sync_out_supp (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->supp_types ); \
_mbg_swab32( &(_p)->supp_flags ); \
_mbg_swab32( &(_p)->reserved0 ); \
_mbg_swab32( &(_p)->reserved1 ); \
} while ( 0 )

Definition at line 8731 of file gpsdefs.h.

◆ DEFAULT_GPIO_PORT_STATE_NAMES

#define DEFAULT_GPIO_PORT_STATE_NAMES
Value:
{ \
"unused", \
"output enabled", \
"input signal available" \
}

String initializers for GPIO port state names.

See also
MBG_GPIO_PORT_STATES

Definition at line 9355 of file gpsdefs.h.

◆ DEFAULT_GPIO_SIGNAL_SHAPE_NAMES

#define DEFAULT_GPIO_SIGNAL_SHAPE_NAMES
Value:
{ \
"(unspec. shape)", \
"Sine wave", \
"Rectangle pulse" \
}

String initializers for GPIO signal shapes.

See also
MBG_GPIO_SIGNAL_SHAPES

Definition at line 7736 of file gpsdefs.h.

◆ DEFAULT_GPIO_TYPES_SHORT_STRS

#define DEFAULT_GPIO_TYPES_SHORT_STRS
Value:
{ \
"Freq. In", \
"Freq. Out", \
"Fixed Freq Out", \
"BITS In", \
"BITS Out", \
"Video Out", \
"Video Sync Out", \
"Studio Clock Out", \
"Digital Audio Out" \
}

Definition at line 7679 of file gpsdefs.h.

◆ MAX_SUPP_BASE_FREQUENCIES

#define MAX_SUPP_BASE_FREQUENCIES   8

max. supported base frequencies for studio clock outputs

Definition at line 8930 of file gpsdefs.h.

◆ MBG_GPIO_BITS_FORMAT_STRS

#define MBG_GPIO_BITS_FORMAT_STRS
Value:
{ \
"E1 Framed", \
"T1 Framed", \
"E1 Timing", \
"T1 Timing" \
}

Initializers for an array of GPIO bit format strings.

See also
MBG_GPIO_BITS_FORMATS
MBG_GPIO_BITS_FORMAT_MASKS

Definition at line 8046 of file gpsdefs.h.

◆ MBG_GPIO_BITS_OUT_FLAG_STRS

#define MBG_GPIO_BITS_OUT_FLAG_STRS
Value:
{ \
"HDB3", \
"B8ZS" \
}

String initializers for an array of GPIO BITS out flags.

See also
MBG_GPIO_BITS_OUT_FLAGS
MBG_GPIO_BITS_OUT_FLAG_MASKS

Definition at line 8297 of file gpsdefs.h.

◆ MBG_GPIO_DIGITAL_AUDIO_TYPE_STRS

#define MBG_GPIO_DIGITAL_AUDIO_TYPE_STRS
Value:
{ \
"OFF", \
"DARS" \
}

Initializers for an array of video epoch strings.

See also
MBG_GPIO_VIDEO_EPOCHS

Definition at line 9004 of file gpsdefs.h.

◆ MBG_GPIO_FIXED_FREQ_STRS

#define MBG_GPIO_FIXED_FREQ_STRS
Value:
{ \
"8 kHz", \
"48 kHz", \
"1 MHz", \
"1544 kHz", \
"2048 kHz", \
"5 MHz", \
"10 MHz", \
"19440 kHz" \
}

Initializers for an array of GPIO fixed frequency name strings.

See also
MBG_GPIO_FIXED_FREQS
MBG_GPIO_FIXED_FREQ_MASKS

Definition at line 7937 of file gpsdefs.h.

◆ MBG_GPIO_STUDIO_CLOCK_BASE_FREQ_STRS

#define MBG_GPIO_STUDIO_CLOCK_BASE_FREQ_STRS
Value:
{ \
"32 kHz", \
"44.1 kHz", \
"48 kHz" \
}

Initializers for an array of base frequencies of studio clock output name strings.

See also
MBG_GPIO_STUDIO_CLOCK_BASE_FREQS
MBG_GPIO_STUDIO_CLOCK_BASE_FREQ_MASKS

Definition at line 8781 of file gpsdefs.h.

◆ MBG_GPIO_STUDIO_CLOCK_SCALE_STRS

#define MBG_GPIO_STUDIO_CLOCK_SCALE_STRS
Value:
{ \
"1/32", \
"1/16", \
"1/8", \
"1/4", \
"1/2", \
"1", \
"2", \
"4", \
"8", \
"16", \
"32", \
"64", \
"128", \
"256", \
"512" \
}

Initializers for an array of scales of studio clock output name strings.

See also
MBG_GPIO_STUDIO_CLOCK_SCALES
MBG_GPIO_STUDIO_CLOCK_SCALE_MASKS

Definition at line 8854 of file gpsdefs.h.

◆ MBG_GPIO_VIDEO_EPOCH_STRS

#define MBG_GPIO_VIDEO_EPOCH_STRS
Value:
{ \
"TAI D1970-01-01 T00:00:00", \
"TAI D1958-01-01 T00:00:00", \
"UTC D1972-01-01 T00:00:00", \
"GPS D1980-01-06 T00:00:00" \
}

Initializers for an array of video epoch strings.

See also
MBG_GPIO_VIDEO_EPOCHS

Definition at line 8475 of file gpsdefs.h.

◆ MBG_GPIO_VIDEO_HD_FORMATS

#define MBG_GPIO_VIDEO_HD_FORMATS
Value:
MSK_MBG_GPIO_VIDEO_HD_FORMAT_720_P_59_94Hz | MSK_MBG_GPIO_VIDEO_HD_FORMAT_1080_I_59_94Hz )
see MBG_GPIO_VIDEO_HD_FORMAT_1080_I_50Hz
Definition: gpsdefs.h:8363
see MBG_GPIO_VIDEO_HD_FORMAT_1080_I_59_94Hz
Definition: gpsdefs.h:8365
see MBG_GPIO_VIDEO_FORMAT_OFF
Definition: gpsdefs.h:8359
see MBG_GPIO_VIDEO_HD_FORMAT_720_P_50Hz
Definition: gpsdefs.h:8362

A combination of bit masks for HD video formats.

See also
MBG_GPIO_VIDEO_FORMAT_MASKS

Definition at line 8381 of file gpsdefs.h.

◆ MBG_GPIO_VIDEO_OUT_STRS

#define MBG_GPIO_VIDEO_OUT_STRS
Value:
{ \
"OFF", \
"NTSC (525i)", \
"PAL (625i)", \
"720p 50 Hz", \
"1080i 50 Hz", \
"720p 59.94 Hz", \
"1080i 59.94 Hz", \
"PAL M (525i)" \
}

Initializers for an array of video output name strings.

See also
MBG_GPIO_VIDEO_FORMATS
MBG_GPIO_VIDEO_FORMAT_MASKS

Definition at line 8392 of file gpsdefs.h.

◆ MBG_GPIO_VIDEO_SD_FORMATS

#define MBG_GPIO_VIDEO_SD_FORMATS
Value:
MSK_MBG_GPIO_VIDEO_SD_FORMAT_PAL_M )
see MBG_GPIO_VIDEO_SD_FORMAT_PAL
Definition: gpsdefs.h:8361
see MBG_GPIO_VIDEO_FORMAT_OFF
Definition: gpsdefs.h:8359
see MBG_GPIO_VIDEO_SD_FORMAT_NTSC
Definition: gpsdefs.h:8360

A combination of bit masks for SD video formats.

See also
MBG_GPIO_VIDEO_FORMAT_MASKS

Definition at line 8374 of file gpsdefs.h.

◆ MBG_GPIO_VIDEO_SYNC_HD_TYPES

◆ MBG_GPIO_VIDEO_SYNC_OUT_STRS

#define MBG_GPIO_VIDEO_SYNC_OUT_STRS
Value:
{ \
"OFF", \
"SD H-Sync", \
"SD V-Sync", \
"SD Frame", \
"SD Blank", \
"HD H-Sync", \
"HD V-Sync", \
"HD Frame", \
"HD Blank" \
}

Initializers for an array of video sync output name strings.

See also
MBG_GPIO_VIDEO_SYNC_TYPES
MBG_GPIO_VIDEO_SYNC_TYPE_MASKS

Definition at line 8651 of file gpsdefs.h.

◆ MBG_GPIO_VIDEO_SYNC_SD_TYPES

◆ MBG_GPIO_VIDEO_TC_MODE_STRS

#define MBG_GPIO_VIDEO_TC_MODE_STRS
Value:
{ \
"None", \
"VITC" \
}

Initializers for an array of video time code modes.

See also
MBG_GPIO_VIDEO_TC_MODES

Definition at line 8517 of file gpsdefs.h.

Enumeration Type Documentation

◆ GPIO_SA_BITS_GROUPS

Minimum and maximum SA BITS groups.

Used with MBG_GPIO_BITS_IN_SETTINGS::quality::e1::sa_bits and MBG_GPIO_BITS_OUT_SETTINGS::sa_bits.

Enumerator
MIN_SA_BITS_GROUP 
MAX_SA_BITS_GROUP 

Definition at line 8093 of file gpsdefs.h.

◆ GPIO_SSM_VALS

Minimum and maximum known SSM values.

Values according to ITU G.704-1998

Used with MBG_GPIO_BITS_IN_SETTINGS::quality::e1.ssm and MBG_GPIO_BITS_OUT_SETTINGS::ssm.

Enumerator
GPIO_SSM_UNKNOWN 

Quality unknown, existing synchronization network.

GPIO_SSM_RSVD_1 

(reserved)

GPIO_SSM_G_811 

Rec. G.811.

GPIO_SSM_RSVD_3 

(reserved)

GPIO_SSM_SSU_A 

SSU-A.

GPIO_SSM_RSVD_5 

(reserved)

GPIO_SSM_RSVD_6 

(reserved)

GPIO_SSM_RSVD_7 

(reserved)

GPIO_SSM_SSU_B 

SSU-B.

GPIO_SSM_RSVD_9 

(reserved)

GPIO_SSM_RSVD_10 

(reserved)

GPIO_SSM_RSVD_SETS 

Synchronous Equipment Timing Source (SETS)

GPIO_SSM_RSVD_12 

(reserved)

GPIO_SSM_RSVD_13 

(reserved)

GPIO_SSM_RSVD_14 

(reserved)

GPIO_SSM_DONT_USE 

don't use

N_GPIO_SSM_VALS 

Definition at line 8064 of file gpsdefs.h.

◆ MBG_GPIO_BITS_ERR_MASKS

Bit masks associated with BITS input error conditions.

Used with MBG_GPIO_BITS_IN_SETTINGS::err_msk

See also
MBG_GPIO_BITS_ERRS
Enumerator
MSK_MBG_GPIO_BITS_ERR_LOS 

see MBG_GPIO_BITS_ERR_LOS

MSK_MBG_GPIO_BITS_ERR_LOF 

see MBG_GPIO_BITS_ERR_LOF

Definition at line 8192 of file gpsdefs.h.

◆ MBG_GPIO_BITS_ERRS

Enumeration of BITS input error conditions.

Enumerator
MBG_GPIO_BITS_ERR_LOS 

loss of signal

MBG_GPIO_BITS_ERR_LOF 

loss of frame

N_MBG_GPIO_BITS_ERRS 

number of known errors

Definition at line 8177 of file gpsdefs.h.

◆ MBG_GPIO_BITS_FORMAT_MASKS

Bit masks associated with MBG_GPIO_BITS_FORMATS.

Used with MBG_GPIO_BITS_IN_SUPP::supp_fmts and MBG_GPIO_BITS_OUT_SUPP::supp_fmts.

See also
MBG_GPIO_BITS_FORMATS
Enumerator
MSK_MBG_GPIO_BITS_E1_FRAMED 

see MBG_GPIO_BITS_E1_FRAMED

MSK_MBG_GPIO_BITS_T1_FRAMED 

see MBG_GPIO_BITS_T1_FRAMED

MSK_MBG_GPIO_BITS_E1_TIMING 

see MBG_GPIO_BITS_E1_TIMING

MSK_MBG_GPIO_BITS_T1_TIMING 

see MBG_GPIO_BITS_T1_TIMING

Definition at line 8031 of file gpsdefs.h.

◆ MBG_GPIO_BITS_FORMATS

Enumeration of BITS signal formats.

Used with MBG_GPIO_BITS_IN_SETTINGS::format and MBG_GPIO_BITS_OUT_SETTINGS::format

See also
MBG_GPIO_BITS_FORMAT_MASKS
Enumerator
MBG_GPIO_BITS_E1_FRAMED 

2.048 MBit

MBG_GPIO_BITS_T1_FRAMED 

1.544 MBit

MBG_GPIO_BITS_E1_TIMING 

2.048 MHz

MBG_GPIO_BITS_T1_TIMING 

2.048 MHz

N_MBG_GPIO_BITS_FORMATS 

number of defined formats

Definition at line 8014 of file gpsdefs.h.

◆ MBG_GPIO_BITS_OUT_FLAG_MASKS

Bit masks associated with MBG_GPIO_BITS_OUT_FLAGS.

Used with MBG_GPIO_BITS_OUT_SETTINGS::flags

See also
MBG_GPIO_BITS_OUT_FLAGS
MBG_GPIO_BITS_OUT_FLAG_STRS
Enumerator
MSK_MBG_GPIO_BITS_OUT_FLAG_HDB3 

see MBG_GPIO_BITS_OUT_FLAG_HDB3

MSK_MBG_GPIO_BITS_OUT_FLAG_B8ZS 

see MBG_GPIO_BITS_OUT_FLAG_B8ZS

Definition at line 8284 of file gpsdefs.h.

◆ MBG_GPIO_BITS_OUT_FLAGS

Enumeration of flags used with BITS type GPIO outputs.

See also
MBG_GPIO_BITS_OUT_FLAG_MASKS
MBG_GPIO_BITS_OUT_FLAG_STRS
Enumerator
MBG_GPIO_BITS_OUT_FLAG_HDB3 

enable HDB3 encoding (E1 mode only)

MBG_GPIO_BITS_OUT_FLAG_B8ZS 

enable B8ZS encoding (T1 mode only)

N_MBG_GPIO_BITS_OUT_FLAGS 

number of known flags

Definition at line 8268 of file gpsdefs.h.

◆ MBG_GPIO_CFG_LIMIT_FLAG_BITS

GPIO limits flag bits used to define MBG_GPIO_CFG_LIMIT_FLAG_MASKS.

See also
MBG_GPIO_CFG_LIMIT_FLAG_MASKS
Enumerator
MBG_GPIO_CFG_LIMIT_FLAG_BIT_STATUS_SUPP 

indicates that MBG_GPIO_STATUS is supported

N_MBG_GPIO_CFG_LIMIT_FLAG_BITS 

Definition at line 7631 of file gpsdefs.h.

◆ MBG_GPIO_CFG_LIMIT_FLAG_MASKS

GPIO limits flag masks associated with MBG_GPIO_CFG_LIMIT_FLAG_BITS.

Used with MBG_GPIO_CFG_LIMITS::flags

See also
MBG_GPIO_CFG_LIMIT_FLAG_BITS
Enumerator
MBG_GPIO_CFG_LIMIT_FLAG_MASK_STATUS_SUPP 

see MBG_GPIO_CFG_LIMIT_FLAG_BIT_STATUS_SUPP

Definition at line 7646 of file gpsdefs.h.

◆ MBG_GPIO_DIGITAL_AUDIO_FLAG_MASKS

Bit masks associated with MBG_GPIO_DIGITAL_AUDIO_FLAGS.

Used with MBG_GPIO_DIGITAL_AUDIO_OUT_SETTINGS::flags

See also
MBG_GPIO_DIGITAL_AUDIO_FLAGS
Enumerator
MSK_MBG_GPIO_DIGITAL_AUDIO_RESERVED_FLAG 

see MBG_GPIO_DIGITAL_AUDIO_RESERVED_FLAG

Definition at line 9030 of file gpsdefs.h.

◆ MBG_GPIO_DIGITAL_AUDIO_FLAGS

Enumeration of flags used with GPIO type digital audio outputs.

Enumerator
MBG_GPIO_DIGITAL_AUDIO_RESERVED_FLAG 

reserved

N_MBG_GPIO_DIGITAL_AUDIO_FLAGS 

number of known flags

Definition at line 9015 of file gpsdefs.h.

◆ MBG_GPIO_DIGITAL_AUDIO_TYPE_MASKS

Bit masks associated with MBG_GPIO_DIGITAL_AUDIO_TYPES.

Used with :: MBG_GPIO_TYPE_DIGITAL_AUDIO_OUT_SUPP::supp_types

See also
MBG_GPIO_DIGITAL_AUDIO_TYPES
Enumerator
MSK_MBG_GPIO_DIGITAL_AUDIO_TYPE_OFF 

see MBG_GPIO_DIGITAL_AUDIO_TYPE_OFF

MSK_MBG_GPIO_DIGITAL_AUDIO_TYPE_DARS 

see MBG_GPIO_DIGITAL_AUDIO_TYPE_DARS

Definition at line 8991 of file gpsdefs.h.

◆ MBG_GPIO_DIGITAL_AUDIO_TYPES

Enumeration of types used with GPIO type digital audio outputs.

Used with MBG_GPIO_DIGITAL_AUDIO_OUT_SETTINGS::type, and to define MBG_GPIO_DIGITAL_AUDIO_TYPE_MASKS

See also
MBG_GPIO_DIGITAL_AUDIO_TYPE_MASKS
MBG_GPIO_DIGITAL_AUDIO_TYPE_STRS
Enumerator
MBG_GPIO_DIGITAL_AUDIO_TYPE_OFF 
MBG_GPIO_DIGITAL_AUDIO_TYPE_DARS 

DARS.

N_MBG_GPIO_DIGITAL_AUDIO_TYPES 

number of known types

Definition at line 8975 of file gpsdefs.h.

◆ MBG_GPIO_FIXED_FREQ_MASKS

Bit masks associated with MBG_GPIO_FIXED_FREQS.

See also
MBG_GPIO_FIXED_FREQS
MBG_GPIO_FIXED_FREQ_STRS
Enumerator
MSK_MBG_GPIO_FIXED_FREQ_8kHz 

see MBG_GPIO_FIXED_FREQ_8kHz

MSK_MBG_GPIO_FIXED_FREQ_48kHz 

see MBG_GPIO_FIXED_FREQ_48kHz

MSK_MBG_GPIO_FIXED_FREQ_1MHz 

see MBG_GPIO_FIXED_FREQ_1MHz

MSK_MBG_GPIO_FIXED_FREQ_1544kHz 

see MBG_GPIO_FIXED_FREQ_1544kHz

MSK_MBG_GPIO_FIXED_FREQ_2048kHz 

see MBG_GPIO_FIXED_FREQ_2048kHz

MSK_MBG_GPIO_FIXED_FREQ_5MHz 

see MBG_GPIO_FIXED_FREQ_5MHz

MSK_MBG_GPIO_FIXED_FREQ_10MHz 

see MBG_GPIO_FIXED_FREQ_10MHz

MSK_MBG_GPIO_FIXED_FREQ_19440kHz 

see MBG_GPIO_FIXED_FREQ_19440kHz

Definition at line 7918 of file gpsdefs.h.

◆ MBG_GPIO_FIXED_FREQS

Enumeration of predefined fixed frequencies.

See also
MBG_GPIO_FIXED_FREQ_MASKS
MBG_GPIO_FIXED_FREQ_STRS
Enumerator
MBG_GPIO_FIXED_FREQ_8kHz 

8 kHz

MBG_GPIO_FIXED_FREQ_48kHz 

48 kHz

MBG_GPIO_FIXED_FREQ_1MHz 

1 MHz

MBG_GPIO_FIXED_FREQ_1544kHz 

1.544 MHz

MBG_GPIO_FIXED_FREQ_2048kHz 

2.048 MHz

MBG_GPIO_FIXED_FREQ_5MHz 

5 MHz

MBG_GPIO_FIXED_FREQ_10MHz 

10 MHz

MBG_GPIO_FIXED_FREQ_19440kHz 

19.44 MHz

N_MBG_GPIO_FIXED_FREQ 

number of predefined fixed frequencies

Definition at line 7898 of file gpsdefs.h.

◆ MBG_GPIO_FLAG_MASKS

Bit masks associated with MBG_GPIO_FLAGS.

Used with MBG_GPIO_LIMITS::supp_flags and MBG_GPIO_SETTINGS::flags

See also
MBG_GPIO_FLAGS
Enumerator
MSK_MBG_GPIO_DEPENDS_ON_ASS_IO_IDX 

see MBG_GPIO_DEPENDS_ON_ASS_IO_IDX

Definition at line 9117 of file gpsdefs.h.

◆ MBG_GPIO_FLAGS

Enumeration of general flags used with a GPIO.

See also
MBG_GPIO_FLAG_MASKS
Enumerator
MBG_GPIO_DEPENDS_ON_ASS_IO_IDX 

indicates that this output depends on GPIO with MBG_GPIO_SETTINGS::ass_io_idx and may not be configured independently

N_MBG_GPIO_FLAGS 

number of known flags

Definition at line 9102 of file gpsdefs.h.

◆ MBG_GPIO_PORT_STATES

GPIO port states.

Used with MBG_GPIO_STATUS::port_state

See also
DEFAULT_GPIO_PORT_STATE_NAMES
Enumerator
MBG_GPIO_PORT_UNUSED 

configured as unused input

MBG_GPIO_PORT_OUTPUT_ENBD 

configured output signal enabled

MBG_GPIO_INPUT_SIG_AVAIL 

input signal is available

N_MBG_GPIO_PORT_STATES 

number of known port states

Definition at line 9340 of file gpsdefs.h.

◆ MBG_GPIO_SIGNAL_SHAPE_MASKS

Bit masks associated with MBG_GPIO_SIGNAL_SHAPES.

Used e.g. with MBG_GPIO_FREQ_IN_SUPP::supp_shapes, MBG_GPIO_FREQ_OUT_SUPP::supp_shapes, and MBG_GPIO_FIXED_FREQ_OUT_SUPP::supp_shapes.

See also
MBG_GPIO_SIGNAL_SHAPES
Enumerator
MBG_GPIO_SIGNAL_SHAPE_MSK_UNSPECIFIED 

see MBG_GPIO_SIGNAL_SHAPE_UNSPECIFIED

MBG_GPIO_SIGNAL_SHAPE_MSK_SINE 

see MBG_GPIO_SIGNAL_SHAPE_SINE

MBG_GPIO_SIGNAL_SHAPE_MSK_SQUARE 

see MBG_GPIO_SIGNAL_SHAPE_SQUARE

Definition at line 7722 of file gpsdefs.h.

◆ MBG_GPIO_SIGNAL_SHAPES

Enumeration of known signal shapes.

Used to specify the signal shape of an input or output frequency signal.

See also
MBG_GPIO_SIGNAL_SHAPE_MASKS
DEFAULT_GPIO_SIGNAL_SHAPE_NAMES
Enumerator
MBG_GPIO_SIGNAL_SHAPE_UNSPECIFIED 

unknown or unspecified signal shape

MBG_GPIO_SIGNAL_SHAPE_SINE 

sine wave

MBG_GPIO_SIGNAL_SHAPE_SQUARE 

square wave

N_MBG_GPIO_SIGNAL_SHAPES 

number of known signal shapes

Definition at line 7703 of file gpsdefs.h.

◆ MBG_GPIO_STUDIO_CLOCK_BASE_FREQ_MASKS

Bit masks associated with MBG_GPIO_STUDIO_CLOCK_BASE_FREQS.

Used with MBG_GPIO_STUDIO_CLOCK_OUT_SUPP::supp_base_freqs

See also
MBG_GPIO_STUDIO_CLOCK_BASE_FREQS
Enumerator
MSK_MBG_GPIO_STUDIO_CLOCK_BASE_FREQ_32KHZ 

see MBG_GPIO_STUDIO_CLOCK_BASE_FREQ_32KHZ

MSK_MBG_GPIO_STUDIO_CLOCK_BASE_FREQ_44_1KHZ 

see MBG_GPIO_STUDIO_CLOCK_BASE_FREQ_44_1KHZ

MSK_MBG_GPIO_STUDIO_CLOCK_BASE_FREQ_48KHZ 

see MBG_GPIO_STUDIO_CLOCK_BASE_FREQ_48KHZ

Definition at line 8766 of file gpsdefs.h.

◆ MBG_GPIO_STUDIO_CLOCK_BASE_FREQS

Enumeration of studio clock base frequencies.

Used with MBG_GPIO_STUDIO_CLOCK_OUT_SETTINGS::base_freq

See also
MBG_GPIO_STUDIO_CLOCK_BASE_FREQ_MASKS
Enumerator
MBG_GPIO_STUDIO_CLOCK_BASE_FREQ_32KHZ 

32 kHz base frequency

MBG_GPIO_STUDIO_CLOCK_BASE_FREQ_44_1KHZ 

44.1 kHz base frequency

MBG_GPIO_STUDIO_CLOCK_BASE_FREQ_48KHZ 

48 kHz base frequency

N_MBG_GPIO_STUDIO_CLOCK_BASE_FREQS 

number of defined base frequencies

Definition at line 8749 of file gpsdefs.h.

◆ MBG_GPIO_STUDIO_CLOCK_FLAG_MASKS

Bit masks associated with MBG_GPIO_STUDIO_CLOCK_FLAGS.

Used with MBG_GPIO_STUDIO_CLOCK_OUT_SETTINGS::flags

See also
MBG_GPIO_STUDIO_CLOCK_FLAGS
Enumerator
MSK_MBG_GPIO_STUDIO_CLOCK_OUTPUT_ENABLED 

see MBG_GPIO_STUDIO_CLOCK_OUTPUT_ENABLED

Definition at line 8893 of file gpsdefs.h.

◆ MBG_GPIO_STUDIO_CLOCK_FLAGS

Enumeration of flags used with studio clock type GPIO outputs.

Enumerator
MBG_GPIO_STUDIO_CLOCK_OUTPUT_ENABLED 

if set, enables output

N_MBG_GPIO_STUDIO_CLOCK_FLAGS 

number of known flags

Definition at line 8878 of file gpsdefs.h.

◆ MBG_GPIO_STUDIO_CLOCK_SCALE_MASKS

Bit masks associated with MBG_GPIO_STUDIO_CLOCK_SCALES.

Used with MBG_GPIO_STUDIO_CLOCK_OUT_SUPP::supp_scales[N_MBG_GPIO_STUDIO_CLOCK_BASE_FREQS]

See also
MBG_GPIO_STUDIO_CLOCK_SCALES
Enumerator
MSK_MBG_GPIO_STUDIO_CLOCK_SCALE_1_DIV_32 

see MBG_GPIO_STUDIO_CLOCK_SCALE_1_DIV_32

MSK_MBG_GPIO_STUDIO_CLOCK_SCALE_1_DIV_16 

see MBG_GPIO_STUDIO_CLOCK_SCALE_1_DIV_16

MSK_MBG_GPIO_STUDIO_CLOCK_SCALE_1_DIV_8 

see MBG_GPIO_STUDIO_CLOCK_SCALE_1_DIV_8

MSK_MBG_GPIO_STUDIO_CLOCK_SCALE_1_DIV_4 

see MBG_GPIO_STUDIO_CLOCK_SCALE_1_DIV_4

MSK_MBG_GPIO_STUDIO_CLOCK_SCALE_1_DIV_2 

see MBG_GPIO_STUDIO_CLOCK_SCALE_1_DIV_2

MSK_MBG_GPIO_STUDIO_CLOCK_SCALE_1 

see MBG_GPIO_STUDIO_CLOCK_SCALE_1

MSK_MBG_GPIO_STUDIO_CLOCK_SCALE_2 

see MBG_GPIO_STUDIO_CLOCK_SCALE_2

MSK_MBG_GPIO_STUDIO_CLOCK_SCALE_4 

see MBG_GPIO_STUDIO_CLOCK_SCALE_4

MSK_MBG_GPIO_STUDIO_CLOCK_SCALE_8 

see MBG_GPIO_STUDIO_CLOCK_SCALE_8

MSK_MBG_GPIO_STUDIO_CLOCK_SCALE_16 

see MBG_GPIO_STUDIO_CLOCK_SCALE_16

MSK_MBG_GPIO_STUDIO_CLOCK_SCALE_32 

see MBG_GPIO_STUDIO_CLOCK_SCALE_32

MSK_MBG_GPIO_STUDIO_CLOCK_SCALE_64 

see MBG_GPIO_STUDIO_CLOCK_SCALE_64

MSK_MBG_GPIO_STUDIO_CLOCK_SCALE_128 

see MBG_GPIO_STUDIO_CLOCK_SCALE_128

MSK_MBG_GPIO_STUDIO_CLOCK_SCALE_256 

see MBG_GPIO_STUDIO_CLOCK_SCALE_256

MSK_MBG_GPIO_STUDIO_CLOCK_SCALE_512 

see MBG_GPIO_STUDIO_CLOCK_SCALE_512

Definition at line 8827 of file gpsdefs.h.

◆ MBG_GPIO_STUDIO_CLOCK_SCALES

Enumeration of studio clock scales.

Used with MBG_GPIO_STUDIO_CLOCK_OUT_SETTINGS::scale Multiply scale with base frequency

See also
MBG_GPIO_STUDIO_CLOCK_SCALE_MASKS
Enumerator
MBG_GPIO_STUDIO_CLOCK_SCALE_1_DIV_32 
MBG_GPIO_STUDIO_CLOCK_SCALE_1_DIV_16 
MBG_GPIO_STUDIO_CLOCK_SCALE_1_DIV_8 
MBG_GPIO_STUDIO_CLOCK_SCALE_1_DIV_4 
MBG_GPIO_STUDIO_CLOCK_SCALE_1_DIV_2 
MBG_GPIO_STUDIO_CLOCK_SCALE_1 
MBG_GPIO_STUDIO_CLOCK_SCALE_2 
MBG_GPIO_STUDIO_CLOCK_SCALE_4 
MBG_GPIO_STUDIO_CLOCK_SCALE_8 
MBG_GPIO_STUDIO_CLOCK_SCALE_16 
MBG_GPIO_STUDIO_CLOCK_SCALE_32 
MBG_GPIO_STUDIO_CLOCK_SCALE_64 
MBG_GPIO_STUDIO_CLOCK_SCALE_128 
MBG_GPIO_STUDIO_CLOCK_SCALE_256 
MBG_GPIO_STUDIO_CLOCK_SCALE_512 
N_MBG_GPIO_STUDIO_CLOCK_SCALES 

number of defined scales

Definition at line 8798 of file gpsdefs.h.

◆ MBG_GPIO_TYPES

Enumeration of GPIO types.

Usually a specific GPIO port can only be either an input or an output, and supports only a single signal type. This is due to hardware limitations, i.e. input or output circuitry required for the given signal.

See also
DEFAULT_GPIO_TYPES_SHORT_STRS
Enumerator
MBG_GPIO_TYPE_FREQ_IN 

Variable frequency input, freq == 0 if input not used.

MBG_GPIO_TYPE_FREQ_OUT 

Variable frequency output.

MBG_GPIO_TYPE_FIXED_FREQ_OUT 

Fixed frequency output.

MBG_GPIO_TYPE_BITS_IN 

Framed data stream input.

MBG_GPIO_TYPE_BITS_OUT 

Framed data stream output.

MBG_GPIO_TYPE_VIDEO_OUT 

Video signal output (PAL, NTSC, ...)

MBG_GPIO_TYPE_VIDEO_SYNC_OUT 

Video sync signal output (H-Sync, V-Sync, ...)

MBG_GPIO_TYPE_STUDIO_CLOCK_OUT 

Studio clock output.

MBG_GPIO_TYPE_DIGITAL_AUDIO_OUT 

Digital Audio output (DARS, ...)

N_MBG_GPIO_TYPES 

Number of known types.

Definition at line 7663 of file gpsdefs.h.

◆ MBG_GPIO_VIDEO_EPOCH_MASKS

Bit masks associated with MBG_GPIO_VIDEO_EPOCHS.

Used with :: MBG_GPIO_VIDEO_OUT_SUPP::supp_epochs

See also
MBG_GPIO_VIDEO_EPOCHS
Enumerator
MSK_SMPTE_TAI_EPOCH_1970 

see SMPTE_TAI_EPOCH_1970

MSK_SMPTE_TAI_EPOCH_1958 

see SMPTE_TAI_EPOCH_1958

MSK_SMPTE_UTC_EPOCH_1972 

see SMPTE_UTC_EPOCH_1972

MSK_SMPTE_GPS_EPOCH_1980 

see SMPTE_GPS_EPOCH_1980

Definition at line 8460 of file gpsdefs.h.

◆ MBG_GPIO_VIDEO_EPOCHS

Enumeration of epochs used with video type GPIO outputs.

Used with MBG_GPIO_VIDEO_OUT_SETTINGS::epoch, and used to define MBG_GPIO_VIDEO_EPOCH_MASKS

See also
MBG_GPIO_VIDEO_EPOCH_MASKS
MBG_GPIO_VIDEO_EPOCH_STRS
Enumerator
SMPTE_TAI_EPOCH_1970 

1970-01-01 00:00:00

SMPTE_TAI_EPOCH_1958 

1958-01-01 00:00:00

SMPTE_UTC_EPOCH_1972 

1972-01-01 00:00:00

SMPTE_GPS_EPOCH_1980 

1980-01-06 00:00:00

N_MBG_GPIO_VIDEO_EPOCHS 

number of known epochs

Definition at line 8442 of file gpsdefs.h.

◆ MBG_GPIO_VIDEO_FORMAT_MASKS

Bit masks associated with MBG_GPIO_VIDEO_FORMATS.

Used with MBG_GPIO_VIDEO_OUT_SUPP::supp_formats

See also
MBG_GPIO_VIDEO_FORMATS
Enumerator
MSK_MBG_GPIO_VIDEO_FORMAT_OFF 

see MBG_GPIO_VIDEO_FORMAT_OFF

MSK_MBG_GPIO_VIDEO_SD_FORMAT_NTSC 

see MBG_GPIO_VIDEO_SD_FORMAT_NTSC

MSK_MBG_GPIO_VIDEO_SD_FORMAT_PAL 

see MBG_GPIO_VIDEO_SD_FORMAT_PAL

MSK_MBG_GPIO_VIDEO_HD_FORMAT_720_P_50Hz 

see MBG_GPIO_VIDEO_HD_FORMAT_720_P_50Hz

MSK_MBG_GPIO_VIDEO_HD_FORMAT_1080_I_50Hz 

see MBG_GPIO_VIDEO_HD_FORMAT_1080_I_50Hz

MSK_MBG_GPIO_VIDEO_HD_FORMAT_720_P_59_94Hz 

see MBG_GPIO_VIDEO_HD_FORMAT_720_P_59_94Hz

MSK_MBG_GPIO_VIDEO_HD_FORMAT_1080_I_59_94Hz 

see MBG_GPIO_VIDEO_HD_FORMAT_1080_I_59_94Hz

MSK_MBG_GPIO_VIDEO_SD_FORMAT_PAL_M 

see MBG_GPIO_VIDEO_SD_FORMAT_PAL_M

Definition at line 8357 of file gpsdefs.h.

◆ MBG_GPIO_VIDEO_FORMATS

Enumeration of Video signal formats.

Used with MBG_GPIO_VIDEO_OUT_SETTINGS::format

See also
MBG_GPIO_VIDEO_FORMAT_MASKS
Enumerator
MBG_GPIO_VIDEO_FORMAT_OFF 

OFF.

MBG_GPIO_VIDEO_SD_FORMAT_NTSC 

NTSC 525i.

MBG_GPIO_VIDEO_SD_FORMAT_PAL 

PAL standard (Germany) 625i.

MBG_GPIO_VIDEO_HD_FORMAT_720_P_50Hz 

SMPTE296M-3 720p at 50 Hz.

MBG_GPIO_VIDEO_HD_FORMAT_1080_I_50Hz 

SMPTE274M-6 1080i at 50 Hz.

MBG_GPIO_VIDEO_HD_FORMAT_720_P_59_94Hz 

SMPTE296M-1 720p at 59.94 Hz.

MBG_GPIO_VIDEO_HD_FORMAT_1080_I_59_94Hz 

SMPTE274M-7 1080i at 59.94 Hz.

MBG_GPIO_VIDEO_SD_FORMAT_PAL_M 

PAL M (Brazil) 525i.

N_MBG_GPIO_VIDEO_FORMATS 

number of defined video formats

Definition at line 8335 of file gpsdefs.h.

◆ MBG_GPIO_VIDEO_OUT_FLAG_MASKS

Bit masks associated with MBG_GPIO_VIDEO_OUT_FLAGS.

Used with MBG_GPIO_VIDEO_OUT_SETTINGS::flags

See also
MBG_GPIO_VIDEO_OUT_FLAGS
Enumerator
MSK_MBG_GPIO_VIDEO_OUT_HAS_NO_FREE_CONF 

see MBG_GPIO_VIDEO_OUT_HAS_NO_FREE_CONF

MSK_MBG_GPIO_VIDEO_OUT_HAS_TC_SD 

see MBG_GPIO_VIDEO_OUT_HAS_TC_SD

Definition at line 8425 of file gpsdefs.h.

◆ MBG_GPIO_VIDEO_OUT_FLAGS

Enumeration of flags used with video type GPIO outputs.

Enumerator
MBG_GPIO_VIDEO_OUT_HAS_NO_FREE_CONF 

if set, Out1: HD, Out2: SD

MBG_GPIO_VIDEO_OUT_HAS_TC_SD 

supports Time Code for SD Black Bursts

N_MBG_GPIO_VIDEO_OUT_FLAGS 

number of known flags

Definition at line 8409 of file gpsdefs.h.

◆ MBG_GPIO_VIDEO_SYNC_TYPE_MASKS

Bit masks associated with MBG_GPIO_VIDEO_SYNC_TYPES.

Used with MBG_GPIO_VIDEO_SYNC_OUT_SUPP::supp_types

See also
MBG_GPIO_VIDEO_SYNC_TYPES
Enumerator
MSK_MBG_GPIO_VIDEO_SYNC_TYPE_OFF 
MSK_MBG_GPIO_VIDEO_SYNC_TYPE_SD_HSYNC 
MSK_MBG_GPIO_VIDEO_SYNC_TYPE_SD_VSYNC 
MSK_MBG_GPIO_VIDEO_SYNC_TYPE_SD_FRAME 
MSK_MBG_GPIO_VIDEO_SYNC_TYPE_SD_BLANK 
MSK_MBG_GPIO_VIDEO_SYNC_TYPE_HD_HSYNC 
MSK_MBG_GPIO_VIDEO_SYNC_TYPE_HD_VSYNC 
MSK_MBG_GPIO_VIDEO_SYNC_TYPE_HD_FRAME 
MSK_MBG_GPIO_VIDEO_SYNC_TYPE_HD_BLANK 

Definition at line 8630 of file gpsdefs.h.

◆ MBG_GPIO_VIDEO_SYNC_TYPES

Enumeration of types used with video sync GPIO outputs Depends on configured video output.

Enumerator
MBG_GPIO_VIDEO_SYNC_TYPE_OFF 

Output Off.

MBG_GPIO_VIDEO_SYNC_TYPE_SD_HSYNC 

SD horizontal sync.

MBG_GPIO_VIDEO_SYNC_TYPE_SD_VSYNC 

SD vertical sync.

MBG_GPIO_VIDEO_SYNC_TYPE_SD_FRAME 

SD frame/field sync.

MBG_GPIO_VIDEO_SYNC_TYPE_SD_BLANK 

SD blanking interval.

MBG_GPIO_VIDEO_SYNC_TYPE_HD_HSYNC 

HD horizontal sync.

MBG_GPIO_VIDEO_SYNC_TYPE_HD_VSYNC 

HD vertical sync.

MBG_GPIO_VIDEO_SYNC_TYPE_HD_FRAME 

HD frame/field sync.

MBG_GPIO_VIDEO_SYNC_TYPE_HD_BLANK 

HD blanking interval.

N_MBG_GPIO_VIDEO_SYNC_TYPES 

number of known types

Definition at line 8607 of file gpsdefs.h.

◆ MBG_GPIO_VIDEO_TC_MODE_MASKS

Bit masks associated with MBG_GPIO_VIDEO_TC_MODES.

Used with MBG_GPIO_VIDEO_OUT_SETTINGS::tc_mode

Enumerator
MSK_MBG_GPIO_VIDEO_TC_MODE_NONE 

see MBG_GPIO_VIDEO_TC_MODE_NONE

MSK_MBG_GPIO_VIDEO_TC_MODE_VITC 

see MBG_GPIO_VIDEO_TC_MODE_VITC

Definition at line 8505 of file gpsdefs.h.

◆ MBG_GPIO_VIDEO_TC_MODES

Enumeration of time code modes used with video type GPIO outputs.

Used with MBG_GPIO_VIDEO_OUT_SETTINGS::tc_mode

Enumerator
MBG_GPIO_VIDEO_TC_MODE_NONE 

None.

MBG_GPIO_VIDEO_TC_MODE_VITC 

Vertical Interval Time Code.

N_MBG_GPIO_VIDEO_TC_MODES 

Definition at line 8491 of file gpsdefs.h.