------------- Registers -- -------------
type RESET_DONE_i2c_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
Val : HAL.UInt2;
when True =>
Arr : RESET_DONE_i2c_Field_Array;
end case;
end record
with Unchecked_Union, Size => 2;
type RESET_DONE_i2c_Field_Array is array (0 .. 1) of Boolean
with Component_Size => 1, Size => 2;
type RESET_DONE_pio_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
Val : HAL.UInt2;
when True =>
Arr : RESET_DONE_pio_Field_Array;
end case;
end record
with Unchecked_Union, Size => 2;
type RESET_DONE_pio_Field_Array is array (0 .. 1) of Boolean
with Component_Size => 1, Size => 2;
type RESET_DONE_Register is record
adc : Boolean;
busctrl : Boolean;
dma : Boolean;
i2c : RESET_DONE_i2c_Field;
io_bank0 : Boolean;
io_qspi : Boolean;
jtag : Boolean;
pads_bank0 : Boolean;
pads_qspi : Boolean;
pio : RESET_DONE_pio_Field;
pll_sys : Boolean;
pll_usb : Boolean;
pwm : Boolean;
rtc : Boolean;
spi : RESET_DONE_spi_Field;
syscfg : Boolean;
sysinfo : Boolean;
tbman : Boolean;
timer : Boolean;
uart : RESET_DONE_uart_Field;
usbctrl : Boolean;
Reserved_25_31 : HAL.UInt7;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
type RESET_DONE_spi_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
Val : HAL.UInt2;
when True =>
Arr : RESET_DONE_spi_Field_Array;
end case;
end record
with Unchecked_Union, Size => 2;
type RESET_DONE_spi_Field_Array is array (0 .. 1) of Boolean
with Component_Size => 1, Size => 2;
type RESET_DONE_uart_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
Val : HAL.UInt2;
when True =>
Arr : RESET_DONE_uart_Field_Array;
end case;
end record
with Unchecked_Union, Size => 2;
type RESET_DONE_uart_Field_Array is array (0 .. 1) of Boolean
with Component_Size => 1, Size => 2;
type RESET_i2c_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
Val : HAL.UInt2;
when True =>
Arr : RESET_i2c_Field_Array;
end case;
end record
with Unchecked_Union, Size => 2;
type RESET_i2c_Field_Array is array (0 .. 1) of Boolean
with Component_Size => 1, Size => 2;
type RESET_pio_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
Val : HAL.UInt2;
when True =>
Arr : RESET_pio_Field_Array;
end case;
end record
with Unchecked_Union, Size => 2;
type RESET_pio_Field_Array is array (0 .. 1) of Boolean
with Component_Size => 1, Size => 2;
type RESET_Register is record
adc : Boolean := True;
busctrl : Boolean := True;
dma : Boolean := True;
i2c : RESET_i2c_Field := (As_Array => False, Val => 16#1#);
io_bank0 : Boolean := True;
io_qspi : Boolean := True;
jtag : Boolean := True;
pads_bank0 : Boolean := True;
pads_qspi : Boolean := True;
pio : RESET_pio_Field := (As_Array => False, Val => 16#1#);
pll_sys : Boolean := True;
pll_usb : Boolean := True;
pwm : Boolean := True;
rtc : Boolean := True;
spi : RESET_spi_Field := (As_Array => False, Val => 16#1#);
syscfg : Boolean := True;
sysinfo : Boolean := True;
tbman : Boolean := True;
timer : Boolean := True;
uart : RESET_uart_Field := (As_Array => False, Val => 16#1#);
usbctrl : Boolean := True;
Reserved_25_31 : HAL.UInt7 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
type RESET_spi_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
Val : HAL.UInt2;
when True =>
Arr : RESET_spi_Field_Array;
end case;
end record
with Unchecked_Union, Size => 2;
type RESET_spi_Field_Array is array (0 .. 1) of Boolean
with Component_Size => 1, Size => 2;
type RESET_uart_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
Val : HAL.UInt2;
when True =>
Arr : RESET_uart_Field_Array;
end case;
end record
with Unchecked_Union, Size => 2;
type RESET_uart_Field_Array is array (0 .. 1) of Boolean
with Component_Size => 1, Size => 2;
RESETS_Periph : aliased RESETS_Peripheral
with Import, Address => RESETS_Base;
type RESETS_Peripheral is record
RESET : aliased RESET_Register;
WDSEL : aliased WDSEL_Register;
RESET_DONE : aliased RESET_DONE_Register;
end record
with Volatile;
type WDSEL_i2c_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
Val : HAL.UInt2;
when True =>
Arr : WDSEL_i2c_Field_Array;
end case;
end record
with Unchecked_Union, Size => 2;
type WDSEL_i2c_Field_Array is array (0 .. 1) of Boolean
with Component_Size => 1, Size => 2;
type WDSEL_pio_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
Val : HAL.UInt2;
when True =>
Arr : WDSEL_pio_Field_Array;
end case;
end record
with Unchecked_Union, Size => 2;
type WDSEL_pio_Field_Array is array (0 .. 1) of Boolean
with Component_Size => 1, Size => 2;
type WDSEL_Register is record
adc : Boolean := False;
busctrl : Boolean := False;
dma : Boolean := False;
i2c : WDSEL_i2c_Field := (As_Array => False, Val => 16#0#);
io_bank0 : Boolean := False;
io_qspi : Boolean := False;
jtag : Boolean := False;
pads_bank0 : Boolean := False;
pads_qspi : Boolean := False;
pio : WDSEL_pio_Field := (As_Array => False, Val => 16#0#);
pll_sys : Boolean := False;
pll_usb : Boolean := False;
pwm : Boolean := False;
rtc : Boolean := False;
spi : WDSEL_spi_Field := (As_Array => False, Val => 16#0#);
syscfg : Boolean := False;
sysinfo : Boolean := False;
tbman : Boolean := False;
timer : Boolean := False;
uart : WDSEL_uart_Field := (As_Array => False, Val => 16#0#);
usbctrl : Boolean := False;
Reserved_25_31 : HAL.UInt7 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
type WDSEL_spi_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
Val : HAL.UInt2;
when True =>
Arr : WDSEL_spi_Field_Array;
end case;
end record
with Unchecked_Union, Size => 2;
type WDSEL_spi_Field_Array is array (0 .. 1) of Boolean
with Component_Size => 1, Size => 2;
type WDSEL_uart_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
Val : HAL.UInt2;
when True =>
Arr : WDSEL_uart_Field_Array;
end case;
end record
with Unchecked_Union, Size => 2;
type WDSEL_uart_Field_Array is array (0 .. 1) of Boolean
with Component_Size => 1, Size => 2;