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
| Field | Type | Description |
|---|---|---|
gpio_drive_strength | logic [2:0] | |
gpio_pull_en | logic | Active high weak PU/PD resistor enable. |
gpio_pull_sel | logic | 0: pull down, 1: pull up. |
gpio_sps | logic | Active low weak PD resistor enable. |
gpio_glitch_filter_enable | logic | Active high glitch filter enable. |
gpio_model_status_t
Packed struct
| Field | Type | Description |
|---|---|---|
state | logic |