Gekko: Convert UReg_HID2 over to using Common::BitField
This commit is contained in:
parent
02ec9c3b50
commit
6ab2e5ab16
|
@ -566,23 +566,21 @@ union UReg_HID0
|
||||||
// Hardware Implementation-Dependent Register 2
|
// Hardware Implementation-Dependent Register 2
|
||||||
union UReg_HID2
|
union UReg_HID2
|
||||||
{
|
{
|
||||||
struct
|
BitField<0, 16, u32> reserved;
|
||||||
{
|
BitField<16, 1, u32> DQOEE;
|
||||||
u32 : 16;
|
BitField<17, 1, u32> DCMEE;
|
||||||
u32 DQOEE : 1;
|
BitField<18, 1, u32> DNCEE;
|
||||||
u32 DCMEE : 1;
|
BitField<19, 1, u32> DCHEE;
|
||||||
u32 DNCEE : 1;
|
BitField<20, 1, u32> DQOERR;
|
||||||
u32 DCHEE : 1;
|
BitField<21, 1, u32> DCMERR;
|
||||||
u32 DQOERR : 1;
|
BitField<22, 1, u32> DNCERR;
|
||||||
u32 DCMERR : 1;
|
BitField<23, 1, u32> DCHERR;
|
||||||
u32 DNCERR : 1;
|
BitField<24, 4, u32> DMAQL;
|
||||||
u32 DCHERR : 1;
|
BitField<28, 1, u32> LCE;
|
||||||
u32 DMAQL : 4;
|
BitField<29, 1, u32> PSE;
|
||||||
u32 LCE : 1;
|
BitField<30, 1, u32> WPE;
|
||||||
u32 PSE : 1;
|
BitField<31, 1, u32> LSQE;
|
||||||
u32 WPE : 1;
|
|
||||||
u32 LSQE : 1;
|
|
||||||
};
|
|
||||||
u32 Hex = 0;
|
u32 Hex = 0;
|
||||||
|
|
||||||
UReg_HID2() = default;
|
UReg_HID2() = default;
|
||||||
|
|
Loading…
Reference in New Issue