------------- Registers -- -------------
type GPIO_QSPI_SCLK_DRIVE_Field is
(Val_2mA,
Val_4mA,
Val_8mA,
Val_12mA)
with Size => 2;
type GPIO_QSPI_SCLK_Register is record
SLEWFAST : Boolean := False;
SCHMITT : Boolean := True;
PDE : Boolean := True;
PUE : Boolean := False;
DRIVE : GPIO_QSPI_SCLK_DRIVE_Field :=
RP2040_SVD.PADS_QSPI.Val_4mA;
IE : Boolean := True;
OD : Boolean := False;
Reserved_8_31 : HAL.UInt24 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
type GPIO_QSPI_SD0_DRIVE_Field is
(Val_2mA,
Val_4mA,
Val_8mA,
Val_12mA)
with Size => 2;
type GPIO_QSPI_SD_Register is record
SLEWFAST : Boolean := False;
SCHMITT : Boolean := True;
PDE : Boolean := False;
PUE : Boolean := False;
DRIVE : GPIO_QSPI_SD0_DRIVE_Field :=
RP2040_SVD.PADS_QSPI.Val_4mA;
IE : Boolean := True;
OD : Boolean := False;
Reserved_8_31 : HAL.UInt24 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
type GPIO_QSPI_SS_DRIVE_Field is
(Val_2mA,
Val_4mA,
Val_8mA,
Val_12mA)
with Size => 2;
type GPIO_QSPI_SS_Register is record
SLEWFAST : Boolean := False;
SCHMITT : Boolean := True;
PDE : Boolean := False;
PUE : Boolean := True;
DRIVE : GPIO_QSPI_SS_DRIVE_Field :=
RP2040_SVD.PADS_QSPI.Val_4mA;
IE : Boolean := True;
OD : Boolean := False;
Reserved_8_31 : HAL.UInt24 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
PADS_QSPI_Periph : aliased PADS_QSPI_Peripheral
with Import, Address => PADS_QSPI_Base;
type PADS_QSPI_Peripheral is record
VOLTAGE_SELECT : aliased VOLTAGE_SELECT_Register;
GPIO_QSPI_SCLK : aliased GPIO_QSPI_SCLK_Register;
GPIO_QSPI_SD0 : aliased GPIO_QSPI_SD_Register;
GPIO_QSPI_SD1 : aliased GPIO_QSPI_SD_Register;
GPIO_QSPI_SD2 : aliased GPIO_QSPI_SD_Register;
GPIO_QSPI_SD3 : aliased GPIO_QSPI_SD_Register;
GPIO_QSPI_SS : aliased GPIO_QSPI_SS_Register;
end record
with Volatile;
type VOLTAGE_SELECT_Register is record
VOLTAGE_SELECT : VOLTAGE_SELECT_VOLTAGE_SELECT_Field :=
RP2040_SVD.PADS_QSPI.Val_3v3;
Reserved_1_31 : HAL.UInt31 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
type VOLTAGE_SELECT_VOLTAGE_SELECT_Field is
Val_3v3,
Val_1v8)
with Size => 1;
Set voltage to 1.8V (DVDD <= 1V8)