addrmap BetrustedEcI2C {

addrmap {
    desc = "Generated by RenodeModelsAnalyzer";
    reg {
        name="Prescale";
        regwidth=0x20;
            field {
                sw = rw;
            } No_name_1[15:0];
    } Prescale @ 0x0;
    reg {
        name="Control";
        regwidth=0x20;
            field {
                sw = rw;
            } No_name_2[7:7];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } Interrupt_enable[6:6];
    } Control @ 0x4;
    reg {
        name="Txr";
        regwidth=0x20;
            field {
                sw = w;
            } No_name_3[7:0];
    } Txr @ 0x8;
    reg {
        name="Rxr";
        regwidth=0x20;
            field {
                sw = r;
            } No_name_4[7:0];
    } Rxr @ 0xc;
    reg {
        name="Command";
        desc = "This register has the following custom Renode callbacks: Write";
        regwidth=0x20;
            field {
                sw = w;
            } No_name_9[7:7];
            field {
                sw = w;
            } No_name_5_[6:6];
            field {
                sw = w;
            } No_name_6_[5:5];
            field {
                sw = w;
            } No_name_7_[4:4];
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } ACK[3:3];
            field {
                desc = "This field has the following custom Renode callbacks: Write.";
                sw = w;
            } No_name_8_[0:0];
    } Command @ 0x10;
    reg {
        name="Status";
        regwidth=0x20;
            field {
                sw = r;
            } No_name_11[7:7];
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } Busy[6:6];
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } Arbitration_lost[5:5];
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = rw;
            } Transfer_in_progress[1:1];
            field {
                sw = r;
            } No_name_10_[0:0];
    } Status @ 0x14;
    reg {
        name="BitbangMode";
        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];
    } BitbangMode @ 0x18;
    reg {
        name="Bb";
        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];
    } Bb @ 0x1c;
    reg {
        name="BbR";
        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];
    } BbR @ 0x20;
    reg {
        name="EventStatus";
        regwidth=0x20;
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } USBCC_INT_STATUS[3:3];
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } GYRO_INT_STATUS[2:2];
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } GG_INT_STATUS[1:1];
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } I2C_INT_STATUS[0:0];
    } EventStatus @ 0x24;
    reg {
        name="EventPending";
        regwidth=0x20;
            field {
                desc = "This field has the following custom Renode callbacks: Change.";
                sw = rw;
                onwrite = woclr;
            } USBCC_INT_PENDING[3:3];
            field {
                desc = "This field has the following custom Renode callbacks: Change.";
                sw = rw;
                onwrite = woclr;
            } GYRO_INT_PENDING[2:2];
            field {
                desc = "This field has the following custom Renode callbacks: Change.";
                sw = rw;
                onwrite = woclr;
            } GG_INT_PENDING[1:1];
            field {
                desc = "This field has the following custom Renode callbacks: Change.";
                sw = rw;
                onwrite = woclr;
            } I2C_INT_PENDING[0:0];
    } EventPending @ 0x28;
    reg {
        name="EventEnable";
        regwidth=0x20;
            field {
                desc = "This field has the following custom Renode callbacks: Change.";
                sw = rw;
            } USBCC_INT_ENABLE[3:3];
            field {
                desc = "This field has the following custom Renode callbacks: Change.";
                sw = rw;
            } GYRO_INT_ENABLE[2:2];
            field {
                desc = "This field has the following custom Renode callbacks: Change.";
                sw = rw;
            } GG_INT_ENABLE[1:1];
            field {
                desc = "This field has the following custom Renode callbacks: Change.";
                sw = rw;
            } I2C_INT_ENABLE[0:0];
    } EventEnable @ 0x2c;
} Registers_addrmap;


};