RP2040_SVD.ADC

Entities

Record Types

Subtypes

Variables

Description

------------- Registers -- -------------

ADC_Periph

ADC_Periph : aliased ADC_Peripheral
  with Import, Address => ADC_Base;

ADC_Peripheral

type ADC_Peripheral is record
   CS     : aliased CS_Register;
   RESULT : aliased RESULT_Register;
   FCS    : aliased FCS_Register;
   FIFO   : aliased FIFO_Register;
   DIV    : aliased DIV_Register;
   INTR   : aliased INTR_Register;
   INTE   : aliased INTE_Register;
   INTF   : aliased INTF_Register;
   INTS   : aliased INTS_Register;
end record
  with Volatile;
Record fields
CS
RESULT
FCS
FIFO
DIV
INTR
INTE
INTF
INTS

CS_AINSEL_Field

subtype CS_AINSEL_Field is HAL.UInt3;

CS_Register

type CS_Register is record
   EN             : Boolean := False;
   TS_EN          : Boolean := False;
   START_ONCE     : Boolean := False;
   START_MANY     : Boolean := False;
   Reserved_4_7   : HAL.UInt4 := 16#0#;
   READY          : Boolean := False;
   ERR            : Boolean := False;
   ERR_STICKY     : Boolean := False;
   Reserved_11_11 : HAL.Bit := 16#0#;
   AINSEL         : CS_AINSEL_Field := 16#0#;
   Reserved_15_15 : HAL.Bit := 16#0#;
   RROBIN         : CS_RROBIN_Field := 16#0#;
   Reserved_21_31 : HAL.UInt11 := 16#0#;
end record
  with Volatile_Full_Access, Object_Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
EN
TS_EN
START_ONCE
START_MANY
Reserved_4_7
READY
ERR
ERR_STICKY
Reserved_11_11
AINSEL
Reserved_15_15
RROBIN
Reserved_21_31

CS_RROBIN_Field

subtype CS_RROBIN_Field is HAL.UInt5;

DIV_FRAC_Field

subtype DIV_FRAC_Field is HAL.UInt8;

DIV_INT_Field

subtype DIV_INT_Field is HAL.UInt16;

DIV_Register

type DIV_Register is record
   FRAC           : DIV_FRAC_Field := 16#0#;
   INT            : DIV_INT_Field := 16#0#;
   Reserved_24_31 : HAL.UInt8 := 16#0#;
end record
  with Volatile_Full_Access, Object_Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
FRAC
INT
Reserved_24_31

FCS_LEVEL_Field

subtype FCS_LEVEL_Field is HAL.UInt4;

FCS_Register

type FCS_Register is record
   EN             : Boolean := False;
   SHIFT          : Boolean := False;
   ERR            : Boolean := False;
   DREQ_EN        : Boolean := False;
   Reserved_4_7   : HAL.UInt4 := 16#0#;
   EMPTY          : Boolean := False;
   FULL           : Boolean := False;
   UNDER          : Boolean := False;
   OVER           : Boolean := False;
   Reserved_12_15 : HAL.UInt4 := 16#0#;
   LEVEL          : FCS_LEVEL_Field := 16#0#;
   Reserved_20_23 : HAL.UInt4 := 16#0#;
   THRESH         : FCS_THRESH_Field := 16#0#;
   Reserved_28_31 : HAL.UInt4 := 16#0#;
end record
  with Volatile_Full_Access, Object_Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
EN
SHIFT
ERR
DREQ_EN
Reserved_4_7
EMPTY
FULL
UNDER
OVER
Reserved_12_15
LEVEL
Reserved_20_23
THRESH
Reserved_28_31

FCS_THRESH_Field

subtype FCS_THRESH_Field is HAL.UInt4;

FIFO_Register

type FIFO_Register is record
   VAL            : FIFO_VAL_Field;
   Reserved_12_14 : HAL.UInt3;
   ERR            : Boolean;
   Reserved_16_31 : HAL.UInt16;
end record
  with Volatile_Full_Access, Object_Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
VAL
Reserved_12_14
ERR
Reserved_16_31

FIFO_VAL_Field

subtype FIFO_VAL_Field is HAL.UInt12;

INTE_Register

type INTE_Register is record
   FIFO          : Boolean := False;
   Reserved_1_31 : HAL.UInt31 := 16#0#;
end record
  with Volatile_Full_Access, Object_Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
FIFO
Reserved_1_31

INTF_Register

type INTF_Register is record
   FIFO          : Boolean := False;
   Reserved_1_31 : HAL.UInt31 := 16#0#;
end record
  with Volatile_Full_Access, Object_Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
FIFO
Reserved_1_31

INTR_Register

type INTR_Register is record
   FIFO          : Boolean;
   Reserved_1_31 : HAL.UInt31;
end record
  with Volatile_Full_Access, Object_Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
FIFO
Reserved_1_31

INTS_Register

type INTS_Register is record
   FIFO          : Boolean;
   Reserved_1_31 : HAL.UInt31;
end record
  with Volatile_Full_Access, Object_Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
FIFO
Reserved_1_31

RESULT_Register

type RESULT_Register is record
   RESULT         : RESULT_RESULT_Field;
   Reserved_12_31 : HAL.UInt20;
end record
  with Volatile_Full_Access, Object_Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
RESULT
Reserved_12_31

RESULT_RESULT_Field

subtype RESULT_RESULT_Field is HAL.UInt12;