------------- Registers -- -------------
SPI0_Periph : aliased SPI_Peripheral
with Import, Address => SPI0_Base;
SPI1_Periph : aliased SPI_Peripheral
with Import, Address => SPI1_Base;
type SPI_Peripheral is record
SSPCR0 : aliased SSPCR0_Register;
SSPCR1 : aliased SSPCR1_Register;
SSPDR : aliased SSPDR_Register;
SSPSR : aliased SSPSR_Register;
SSPCPSR : aliased SSPCPSR_Register;
SSPIMSC : aliased SSPIMSC_Register;
SSPRIS : aliased SSPRIS_Register;
SSPMIS : aliased SSPMIS_Register;
SSPICR : aliased SSPICR_Register;
SSPDMACR : aliased SSPDMACR_Register;
SSPPERIPHID0 : aliased SSPPERIPHID0_Register;
SSPPERIPHID1 : aliased SSPPERIPHID1_Register;
SSPPERIPHID2 : aliased SSPPERIPHID2_Register;
SSPPERIPHID3 : aliased SSPPERIPHID3_Register;
SSPPCELLID0 : aliased SSPPCELLID0_Register;
SSPPCELLID1 : aliased SSPPCELLID1_Register;
SSPPCELLID2 : aliased SSPPCELLID2_Register;
SSPPCELLID3 : aliased SSPPCELLID3_Register;
end record
with Volatile;
subtype SSPCPSR_CPSDVSR_Field is HAL.UInt8;
type SSPCPSR_Register is record
CPSDVSR : SSPCPSR_CPSDVSR_Field := 16#0#;
Reserved_8_31 : HAL.UInt24 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
subtype SSPCR0_DSS_Field is HAL.UInt4;
subtype SSPCR0_FRF_Field is HAL.UInt2;
type SSPCR0_Register is record
DSS : SSPCR0_DSS_Field := 16#0#;
FRF : SSPCR0_FRF_Field := 16#0#;
SPO : Boolean := False;
SPH : Boolean := False;
SCR : SSPCR0_SCR_Field := 16#0#;
Reserved_16_31 : HAL.UInt16 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
subtype SSPCR0_SCR_Field is HAL.UInt8;
type SSPCR1_Register is record
LBM : Boolean := False;
SSE : Boolean := False;
MS : Boolean := False;
SOD : Boolean := False;
Reserved_4_31 : HAL.UInt28 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
type SSPDMACR_Register is record
RXDMAE : Boolean := False;
TXDMAE : Boolean := False;
Reserved_2_31 : HAL.UInt30 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
subtype SSPDR_DATA_Field is HAL.UInt16;
type SSPDR_Register is record
DATA : SSPDR_DATA_Field := 16#0#;
Reserved_16_31 : HAL.UInt16 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
type SSPICR_Register is record
RORIC : Boolean := False;
RTIC : Boolean := False;
Reserved_2_31 : HAL.UInt30 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
type SSPIMSC_Register is record
RORIM : Boolean := False;
RTIM : Boolean := False;
RXIM : Boolean := False;
TXIM : Boolean := False;
Reserved_4_31 : HAL.UInt28 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
type SSPMIS_Register is record
RORMIS : Boolean;
RTMIS : Boolean;
RXMIS : Boolean;
TXMIS : Boolean;
Reserved_4_31 : HAL.UInt28;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
type SSPPCELLID0_Register is record
SSPPCELLID0 : SSPPCELLID0_SSPPCELLID0_Field;
Reserved_8_31 : HAL.UInt24;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
subtype SSPPCELLID0_SSPPCELLID0_Field is HAL.UInt8;
type SSPPCELLID1_Register is record
SSPPCELLID1 : SSPPCELLID1_SSPPCELLID1_Field;
Reserved_8_31 : HAL.UInt24;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
subtype SSPPCELLID1_SSPPCELLID1_Field is HAL.UInt8;
type SSPPCELLID2_Register is record
SSPPCELLID2 : SSPPCELLID2_SSPPCELLID2_Field;
Reserved_8_31 : HAL.UInt24;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
subtype SSPPCELLID2_SSPPCELLID2_Field is HAL.UInt8;
type SSPPCELLID3_Register is record
SSPPCELLID3 : SSPPCELLID3_SSPPCELLID3_Field;
Reserved_8_31 : HAL.UInt24;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
subtype SSPPCELLID3_SSPPCELLID3_Field is HAL.UInt8;
subtype SSPPERIPHID0_PARTNUMBER0_Field is HAL.UInt8;
type SSPPERIPHID0_Register is record
PARTNUMBER0 : SSPPERIPHID0_PARTNUMBER0_Field;
Reserved_8_31 : HAL.UInt24;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
subtype SSPPERIPHID1_DESIGNER0_Field is HAL.UInt4;
subtype SSPPERIPHID1_PARTNUMBER1_Field is HAL.UInt4;
type SSPPERIPHID1_Register is record
PARTNUMBER1 : SSPPERIPHID1_PARTNUMBER1_Field;
DESIGNER0 : SSPPERIPHID1_DESIGNER0_Field;
Reserved_8_31 : HAL.UInt24;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
subtype SSPPERIPHID2_DESIGNER1_Field is HAL.UInt4;
type SSPPERIPHID2_Register is record
DESIGNER1 : SSPPERIPHID2_DESIGNER1_Field;
REVISION : SSPPERIPHID2_REVISION_Field;
Reserved_8_31 : HAL.UInt24;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
subtype SSPPERIPHID2_REVISION_Field is HAL.UInt4;
subtype SSPPERIPHID3_CONFIGURATION_Field is HAL.UInt8;
type SSPPERIPHID3_Register is record
CONFIGURATION : SSPPERIPHID3_CONFIGURATION_Field;
Reserved_8_31 : HAL.UInt24;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
type SSPRIS_Register is record
RORRIS : Boolean;
RTRIS : Boolean;
RXRIS : Boolean;
TXRIS : Boolean;
Reserved_4_31 : HAL.UInt28;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
type SSPSR_Register is record
TFE : Boolean;
TNF : Boolean;
RNE : Boolean;
RFF : Boolean;
BSY : Boolean;
Reserved_5_31 : HAL.UInt27;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;