addrmap SAMD21_RTC {

addrmap {
    desc = "Generated by RenodeModelsAnalyzer";
    reg {
        name="Control0";
        regwidth=0x8;
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } SWRST[0:0];
            field {
                desc = "This field has the following custom Renode callbacks: Change, Provider.";
                sw = rw;
            } ENABLE[1:1];
            field {
                desc = "This field has the following custom Renode callbacks: Change, Provider.";
                sw = rw;
            } MODE[3:2];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } CLKREP[6:6];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } MATCHCLR[7:7];
    } Control0 @ 0x0;
    reg {
        name="Control1";
        regwidth=0x8;
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } PRESCALER[3:0];
    } Control1 @ 0x1;
    reg {
        name="ReadRequest0";
        desc = "Could not determine register's width, guessed 8 bits.";
        regwidth=0x8;
            field {
                desc = "This is a dummy r/w field, generated just to show the register in specs";
                sw = rw;
            } DUMMY[7:0];
    } ReadRequest0 @ 0x2;
    reg {
        name="ReadRequest1";
        desc = "Could not determine register's width, guessed 8 bits.";
        regwidth=0x8;
            field {
                desc = "This is a dummy r/w field, generated just to show the register in specs";
                sw = rw;
            } DUMMY[7:0];
    } ReadRequest1 @ 0x3;
    reg {
        name="EventControl0";
        desc = "Could not determine register's width, guessed 8 bits.";
        regwidth=0x8;
            field {
                desc = "This is a dummy r/w field, generated just to show the register in specs";
                sw = rw;
            } DUMMY[7:0];
    } EventControl0 @ 0x4;
    reg {
        name="EventControl1";
        desc = "Could not determine register's width, guessed 8 bits.";
        regwidth=0x8;
            field {
                desc = "This is a dummy r/w field, generated just to show the register in specs";
                sw = rw;
            } DUMMY[7:0];
    } EventControl1 @ 0x5;
    reg {
        name="InterruptClear";
        desc = "This register has the following custom Renode callbacks: Change";
        regwidth=0x8;
            field {
                desc = "This field has the following custom Renode callbacks: Write, Provider.";
                sw = rw;
            } ALARM0[0:0];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } SYNCRDY[6:6];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } OVF[7:7];
    } InterruptClear @ 0x6;
    reg {
        name="InterruptSet";
        desc = "This register has the following custom Renode callbacks: Change";
        regwidth=0x8;
            field {
                desc = "This field has the following custom Renode callbacks: Write, Provider.";
                sw = rw;
            } ALARM0[0:0];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } SYNCRDY[6:6];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } OVF[7:7];
    } InterruptSet @ 0x7;
    reg {
        name="InterruptFlags";
        desc = "This register has the following custom Renode callbacks: Change";
        regwidth=0x8;
            field {
                sw = wr;
                onwrite = woclr;
            } ALARM0[0:0];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } SYNCRDY[6:6];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } OVF[7:7];
    } InterruptFlags @ 0x8;
    reg {
        name="Status";
        desc = "Could not determine register's width, guessed 8 bits.";
        regwidth=0x8;
            field {
                desc = "This is a dummy r/w field, generated just to show the register in specs";
                sw = rw;
            } DUMMY[7:0];
    } Status @ 0xa;
    reg {
        name="DebugControl";
        desc = "Could not determine register's width, guessed 8 bits.";
        regwidth=0x8;
            field {
                desc = "This is a dummy r/w field, generated just to show the register in specs";
                sw = rw;
            } DUMMY[7:0];
    } DebugControl @ 0xb;
    reg {
        name="FrequencyCorrection";
        desc = "Could not determine register's width, guessed 8 bits.";
        regwidth=0x8;
            field {
                desc = "This is a dummy r/w field, generated just to show the register in specs";
                sw = rw;
            } DUMMY[7:0];
    } FrequencyCorrection @ 0xc;
    reg {
        name="Clock0";
        regwidth=0x8;
            field {
                desc = "This field has the following custom Renode callbacks: Write, Provider.";
                sw = rw;
            } SECONDS5_0[5:0];
            field {
                desc = "This field has the following custom Renode callbacks: Write, Provider.";
                sw = rw;
            } MINUTES1_0[7:6];
    } Clock0 @ 0x10;
    reg {
        name="Clock1";
        regwidth=0x8;
            field {
                desc = "This field has the following custom Renode callbacks: Write, Provider.";
                sw = rw;
            } MINUTES5_2[3:0];
            field {
                desc = "This field has the following custom Renode callbacks: Write, Provider.";
                sw = rw;
            } HOURS3_0[7:4];
    } Clock1 @ 0x11;
    reg {
        name="Clock2";
        regwidth=0x8;
            field {
                desc = "This field has the following custom Renode callbacks: Write, Provider.";
                sw = rw;
            } HOURS4[0:0];
            field {
                desc = "This field has the following custom Renode callbacks: Write, Provider.";
                sw = rw;
            } DAY4_0[5:1];
            field {
                desc = "This field has the following custom Renode callbacks: Write, Provider.";
                sw = rw;
            } MONTH1_0[7:6];
    } Clock2 @ 0x12;
    reg {
        name="Clock3";
        regwidth=0x8;
            field {
                desc = "This field has the following custom Renode callbacks: Write, Provider.";
                sw = rw;
            } MONTH3_2[1:0];
            field {
                desc = "This field has the following custom Renode callbacks: Write, Provider.";
                sw = rw;
            } YEAR3_2[7:2];
    } Clock3 @ 0x13;
    reg {
        name="Alarm0";
        regwidth=0x8;
            field {
                desc = "This field has the following custom Renode callbacks: Write, Provider.";
                sw = rw;
            } SECONDS5_0[5:0];
            field {
                desc = "This field has the following custom Renode callbacks: Write, Provider.";
                sw = rw;
            } MINUTES1_0[7:6];
    } Alarm0 @ 0x18;
    reg {
        name="Alarm1";
        regwidth=0x8;
            field {
                desc = "This field has the following custom Renode callbacks: Write, Provider.";
                sw = rw;
            } MINUTES5_2[3:0];
            field {
                desc = "This field has the following custom Renode callbacks: Write, Provider.";
                sw = rw;
            } HOURS3_0[7:4];
    } Alarm1 @ 0x19;
    reg {
        name="Alarm2";
        regwidth=0x8;
            field {
                desc = "This field has the following custom Renode callbacks: Write, Provider.";
                sw = rw;
            } HOURS4[0:0];
            field {
                desc = "This field has the following custom Renode callbacks: Write, Provider.";
                sw = rw;
            } DAY4_0[5:1];
            field {
                desc = "This field has the following custom Renode callbacks: Write, Provider.";
                sw = rw;
            } MONTH1_0[7:6];
    } Alarm2 @ 0x1a;
    reg {
        name="Alarm3";
        regwidth=0x8;
            field {
                desc = "This field has the following custom Renode callbacks: Write, Provider.";
                sw = rw;
            } MONTH3_2[1:0];
            field {
                desc = "This field has the following custom Renode callbacks: Write, Provider.";
                sw = rw;
            } YEAR3_2[7:2];
    } Alarm3 @ 0x1b;
    reg {
        name="Mask";
        desc = "Could not determine register's width, guessed 8 bits.";
        regwidth=0x8;
            field {
                desc = "This is a dummy r/w field, generated just to show the register in specs";
                sw = rw;
            } DUMMY[7:0];
    } Mask @ 0x1c;
} Registers_addrmap;


};