RP2040_SVD.RTC

Entities

Record Types

Subtypes

Variables

Description

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

CLKDIV_M1_CLKDIV_M1_Field

subtype CLKDIV_M1_CLKDIV_M1_Field is HAL.UInt16;

CLKDIV_M1_Register

type CLKDIV_M1_Register is record
   CLKDIV_M1      : CLKDIV_M1_CLKDIV_M1_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;
Record fields
CLKDIV_M1
Reserved_16_31

CTRL_Register

type CTRL_Register is record
   RTC_ENABLE        : Boolean := False;
   RTC_ACTIVE        : Boolean := False;
   Reserved_2_3      : HAL.UInt2 := 16#0#;
   LOAD              : Boolean := False;
   Reserved_5_7      : HAL.UInt3 := 16#0#;
   FORCE_NOTLEAPYEAR : Boolean := False;
   Reserved_9_31     : HAL.UInt23 := 16#0#;
end record
  with Volatile_Full_Access, Object_Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
RTC_ENABLE
RTC_ACTIVE
Reserved_2_3
LOAD
Reserved_5_7
FORCE_NOTLEAPYEAR
Reserved_9_31

INTE_Register

type INTE_Register is record
   RTC           : 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
RTC
Reserved_1_31

INTF_Register

type INTF_Register is record
   RTC           : 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
RTC
Reserved_1_31

INTR_Register

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

INTS_Register

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

IRQ_SETUP_0_DAY_Field

subtype IRQ_SETUP_0_DAY_Field is HAL.UInt5;

IRQ_SETUP_0_MONTH_Field

subtype IRQ_SETUP_0_MONTH_Field is HAL.UInt4;

IRQ_SETUP_0_Register

type IRQ_SETUP_0_Register is record
   DAY            : IRQ_SETUP_0_DAY_Field := 16#0#;
   Reserved_5_7   : HAL.UInt3 := 16#0#;
   MONTH          : IRQ_SETUP_0_MONTH_Field := 16#0#;
   YEAR           : IRQ_SETUP_0_YEAR_Field := 16#0#;
   DAY_ENA        : Boolean := False;
   MONTH_ENA      : Boolean := False;
   YEAR_ENA       : Boolean := False;
   Reserved_27_27 : HAL.Bit := 16#0#;
   MATCH_ENA      : Boolean := False;
   MATCH_ACTIVE   : Boolean := False;
   Reserved_30_31 : HAL.UInt2 := 16#0#;
end record
  with Volatile_Full_Access, Object_Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
DAY
Reserved_5_7
MONTH
YEAR
DAY_ENA
MONTH_ENA
YEAR_ENA
Reserved_27_27
MATCH_ENA
MATCH_ACTIVE
Reserved_30_31

IRQ_SETUP_0_YEAR_Field

subtype IRQ_SETUP_0_YEAR_Field is HAL.UInt12;

IRQ_SETUP_1_DOTW_Field

subtype IRQ_SETUP_1_DOTW_Field is HAL.UInt3;

IRQ_SETUP_1_HOUR_Field

subtype IRQ_SETUP_1_HOUR_Field is HAL.UInt5;

IRQ_SETUP_1_MIN_Field

subtype IRQ_SETUP_1_MIN_Field is HAL.UInt6;

IRQ_SETUP_1_Register

type IRQ_SETUP_1_Register is record
   SEC            : IRQ_SETUP_1_SEC_Field := 16#0#;
   Reserved_6_7   : HAL.UInt2 := 16#0#;
   MIN            : IRQ_SETUP_1_MIN_Field := 16#0#;
   Reserved_14_15 : HAL.UInt2 := 16#0#;
   HOUR           : IRQ_SETUP_1_HOUR_Field := 16#0#;
   Reserved_21_23 : HAL.UInt3 := 16#0#;
   DOTW           : IRQ_SETUP_1_DOTW_Field := 16#0#;
   Reserved_27_27 : HAL.Bit := 16#0#;
   SEC_ENA        : Boolean := False;
   MIN_ENA        : Boolean := False;
   HOUR_ENA       : Boolean := False;
   DOTW_ENA       : Boolean := False;
end record
  with Volatile_Full_Access, Object_Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
SEC
Reserved_6_7
MIN
Reserved_14_15
HOUR
Reserved_21_23
DOTW
Reserved_27_27
SEC_ENA
MIN_ENA
HOUR_ENA
DOTW_ENA

IRQ_SETUP_1_SEC_Field

subtype IRQ_SETUP_1_SEC_Field is HAL.UInt6;

RTC_0_DOTW_Field

subtype RTC_0_DOTW_Field is HAL.UInt3;

RTC_0_HOUR_Field

subtype RTC_0_HOUR_Field is HAL.UInt5;

RTC_0_MIN_Field

subtype RTC_0_MIN_Field is HAL.UInt6;

RTC_0_Register

type RTC_0_Register is record
   SEC            : RTC_0_SEC_Field;
   Reserved_6_7   : HAL.UInt2;
   MIN            : RTC_0_MIN_Field;
   Reserved_14_15 : HAL.UInt2;
   HOUR           : RTC_0_HOUR_Field;
   Reserved_21_23 : HAL.UInt3;
   DOTW           : RTC_0_DOTW_Field;
   Reserved_27_31 : HAL.UInt5;
end record
  with Volatile_Full_Access, Object_Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
SEC
Reserved_6_7
MIN
Reserved_14_15
HOUR
Reserved_21_23
DOTW
Reserved_27_31

RTC_0_SEC_Field

subtype RTC_0_SEC_Field is HAL.UInt6;

RTC_1_DAY_Field

subtype RTC_1_DAY_Field is HAL.UInt5;

RTC_1_MONTH_Field

subtype RTC_1_MONTH_Field is HAL.UInt4;

RTC_1_Register

type RTC_1_Register is record
   DAY            : RTC_1_DAY_Field;
   Reserved_5_7   : HAL.UInt3;
   MONTH          : RTC_1_MONTH_Field;
   YEAR           : RTC_1_YEAR_Field;
   Reserved_24_31 : HAL.UInt8;
end record
  with Volatile_Full_Access, Object_Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
DAY
Reserved_5_7
MONTH
YEAR
Reserved_24_31

RTC_1_YEAR_Field

subtype RTC_1_YEAR_Field is HAL.UInt12;

RTC_Periph

RTC_Periph : aliased RTC_Peripheral
  with Import, Address => RTC_Base;

RTC_Peripheral

type RTC_Peripheral is record
   CLKDIV_M1   : aliased CLKDIV_M1_Register;
   SETUP_0     : aliased SETUP_0_Register;
   SETUP_1     : aliased SETUP_1_Register;
   CTRL        : aliased CTRL_Register;
   IRQ_SETUP_0 : aliased IRQ_SETUP_0_Register;
   IRQ_SETUP_1 : aliased IRQ_SETUP_1_Register;
   RTC_1       : aliased RTC_1_Register;
   RTC_0       : aliased RTC_0_Register;
   INTR        : aliased INTR_Register;
   INTE        : aliased INTE_Register;
   INTF        : aliased INTF_Register;
   INTS        : aliased INTS_Register;
end record
  with Volatile;
Record fields
CLKDIV_M1
SETUP_0
SETUP_1
CTRL
IRQ_SETUP_0
IRQ_SETUP_1
RTC_1
RTC_0
INTR
INTE
INTF
INTS

SETUP_0_DAY_Field

subtype SETUP_0_DAY_Field is HAL.UInt5;

SETUP_0_MONTH_Field

subtype SETUP_0_MONTH_Field is HAL.UInt4;

SETUP_0_Register

type SETUP_0_Register is record
   DAY            : SETUP_0_DAY_Field := 16#0#;
   Reserved_5_7   : HAL.UInt3 := 16#0#;
   MONTH          : SETUP_0_MONTH_Field := 16#0#;
   YEAR           : SETUP_0_YEAR_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
DAY
Reserved_5_7
MONTH
YEAR
Reserved_24_31

SETUP_0_YEAR_Field

subtype SETUP_0_YEAR_Field is HAL.UInt12;

SETUP_1_DOTW_Field

subtype SETUP_1_DOTW_Field is HAL.UInt3;

SETUP_1_HOUR_Field

subtype SETUP_1_HOUR_Field is HAL.UInt5;

SETUP_1_MIN_Field

subtype SETUP_1_MIN_Field is HAL.UInt6;

SETUP_1_Register

type SETUP_1_Register is record
   SEC            : SETUP_1_SEC_Field := 16#0#;
   Reserved_6_7   : HAL.UInt2 := 16#0#;
   MIN            : SETUP_1_MIN_Field := 16#0#;
   Reserved_14_15 : HAL.UInt2 := 16#0#;
   HOUR           : SETUP_1_HOUR_Field := 16#0#;
   Reserved_21_23 : HAL.UInt3 := 16#0#;
   DOTW           : SETUP_1_DOTW_Field := 16#0#;
   Reserved_27_31 : HAL.UInt5 := 16#0#;
end record
  with Volatile_Full_Access, Object_Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
SEC
Reserved_6_7
MIN
Reserved_14_15
HOUR
Reserved_21_23
DOTW
Reserved_27_31

SETUP_1_SEC_Field

subtype SETUP_1_SEC_Field is HAL.UInt6;