mbgtools-lx  4.2.8
MBG_GPIO_SETTINGS Struct Reference

A generic structure used to hold a GPIO port's settings. More...

#include <gpsdefs.h>

Data Fields

uint32_t type
 GPIO type, see MBG_GPIO_TYPES. More...
 
uint16_t reserved_1
 reserved, currently always 0 More...
 
uint8_t reserved_2
 reserved, currently always 0 More...
 
uint8_t ass_io_idx
 associated GPIO index, only valid if MSK_MBG_GPIO_DEPENDS_ON_ASS_IO_IDX is set in flags field More...
 
uint32_t flags
 flags, see MBG_GPIO_FLAG_MASKS More...
 
union {
   MBG_GPIO_FREQ_IN_SETTINGS   freq_in
 if MBG_GPIO_SETTINGS::type is MBG_GPIO_TYPE_FREQ_IN More...
 
   MBG_GPIO_FREQ_OUT_SETTINGS   freq_out
 if MBG_GPIO_SETTINGS::type is MBG_GPIO_TYPE_FREQ_OUT More...
 
   MBG_GPIO_FIXED_FREQ_OUT_SETTINGS   ff_out
 if MBG_GPIO_SETTINGS::type is MBG_GPIO_TYPE_FIXED_FREQ_OUT More...
 
   MBG_GPIO_BITS_IN_SETTINGS   bits_in
 if MBG_GPIO_SETTINGS::type is MBG_GPIO_TYPE_BITS_IN More...
 
   MBG_GPIO_BITS_OUT_SETTINGS   bits_out
 if MBG_GPIO_SETTINGS::type is MBG_GPIO_TYPE_BITS_OUT More...
 
   MBG_GPIO_VIDEO_OUT_SETTINGS   video_out
 if MBG_GPIO_SETTINGS::type is MBG_GPIO_TYPE_VIDEO_OUT More...
 
   MBG_GPIO_VIDEO_SYNC_OUT_SETTINGS   video_sync_out
 if MBG_GPIO_SETTINGS::type is MBG_GPIO_TYPE_VIDEO_SYNC_OUT More...
 
   MBG_GPIO_STUDIO_CLOCK_OUT_SETTINGS   studio_clk_out
 if MBG_GPIO_SETTINGS::type is MBG_GPIO_TYPE_STUDIO_CLOCK_OUT More...
 
   MBG_GPIO_DIGITAL_AUDIO_OUT_SETTINGS   digital_audio_out
 if MBG_GPIO_SETTINGS::type is ::;MBG_GPIO_TYPE_DIGITAL_AUDIO_OUT More...
 
u
 settings depending on the GPIO type, see MBG_GPIO_TYPES More...
 

Detailed Description

A generic structure used to hold a GPIO port's settings.

Definition at line 9127 of file gpsdefs.h.

Field Documentation

◆ ass_io_idx

uint8_t MBG_GPIO_SETTINGS::ass_io_idx

associated GPIO index, only valid if MSK_MBG_GPIO_DEPENDS_ON_ASS_IO_IDX is set in flags field

Definition at line 9133 of file gpsdefs.h.

◆ bits_in

MBG_GPIO_BITS_IN_SETTINGS MBG_GPIO_SETTINGS::bits_in

if MBG_GPIO_SETTINGS::type is MBG_GPIO_TYPE_BITS_IN

Definition at line 9143 of file gpsdefs.h.

◆ bits_out

MBG_GPIO_BITS_OUT_SETTINGS MBG_GPIO_SETTINGS::bits_out

if MBG_GPIO_SETTINGS::type is MBG_GPIO_TYPE_BITS_OUT

Definition at line 9144 of file gpsdefs.h.

◆ digital_audio_out

MBG_GPIO_DIGITAL_AUDIO_OUT_SETTINGS MBG_GPIO_SETTINGS::digital_audio_out

if MBG_GPIO_SETTINGS::type is ::;MBG_GPIO_TYPE_DIGITAL_AUDIO_OUT

Definition at line 9148 of file gpsdefs.h.

◆ ff_out

MBG_GPIO_FIXED_FREQ_OUT_SETTINGS MBG_GPIO_SETTINGS::ff_out

◆ flags

uint32_t MBG_GPIO_SETTINGS::flags

flags, see MBG_GPIO_FLAG_MASKS

Definition at line 9135 of file gpsdefs.h.

Referenced by chk_dev_gpio_dep_on_ass_idx().

◆ freq_in

MBG_GPIO_FREQ_IN_SETTINGS MBG_GPIO_SETTINGS::freq_in

if MBG_GPIO_SETTINGS::type is MBG_GPIO_TYPE_FREQ_IN

Definition at line 9140 of file gpsdefs.h.

Referenced by mbg_get_all_ucap_info().

◆ freq_out

MBG_GPIO_FREQ_OUT_SETTINGS MBG_GPIO_SETTINGS::freq_out

if MBG_GPIO_SETTINGS::type is MBG_GPIO_TYPE_FREQ_OUT

Definition at line 9141 of file gpsdefs.h.

Referenced by mbg_get_all_ucap_info().

◆ reserved_1

uint16_t MBG_GPIO_SETTINGS::reserved_1

reserved, currently always 0

Definition at line 9131 of file gpsdefs.h.

◆ reserved_2

uint8_t MBG_GPIO_SETTINGS::reserved_2

reserved, currently always 0

Definition at line 9132 of file gpsdefs.h.

◆ studio_clk_out

MBG_GPIO_STUDIO_CLOCK_OUT_SETTINGS MBG_GPIO_SETTINGS::studio_clk_out

◆ type

uint32_t MBG_GPIO_SETTINGS::type

GPIO type, see MBG_GPIO_TYPES.

Definition at line 9129 of file gpsdefs.h.

Referenced by get_io_port_type_info(), and mbg_get_all_ucap_info().

◆ u

union { ... } MBG_GPIO_SETTINGS::u

settings depending on the GPIO type, see MBG_GPIO_TYPES

Referenced by mbg_get_all_ucap_info().

◆ video_out

MBG_GPIO_VIDEO_OUT_SETTINGS MBG_GPIO_SETTINGS::video_out

◆ video_sync_out

MBG_GPIO_VIDEO_SYNC_OUT_SETTINGS MBG_GPIO_SETTINGS::video_sync_out

The documentation for this struct was generated from the following file: