gpio_shim_pkg

Hold types for the GPIO pad shim and model control/status structs.

gpio_model_ctrl_t bundles the electrical controls gpio_shim drives to the pad model; gpio_model_status_t is the one-bit status that gpio_shim accepts but does not use.

gpio_model_ctrl_t

/////////////////////////

Packed struct

Table 1. gpio_model_ctrl_t
FieldTypeDescription
gpio_drive_strengthlogic [2:0]
gpio_pull_enlogicActive high weak PU/PD resistor enable.
gpio_pull_sellogic0: pull down, 1: pull up.
gpio_spslogicActive low weak PD resistor enable.
gpio_glitch_filter_enablelogicActive high glitch filter enable.

gpio_model_status_t

Packed struct

Table 2. gpio_model_status_t
FieldTypeDescription
statelogic