Gekko: Convert UReg_DMAL over to using Common::BitField
This commit is contained in:
parent
474e09c239
commit
1e4ecfe3d4
|
@ -678,14 +678,12 @@ union UReg_DMAU
|
||||||
// Direct Memory Access Lower (DMAL) register
|
// Direct Memory Access Lower (DMAL) register
|
||||||
union UReg_DMAL
|
union UReg_DMAL
|
||||||
{
|
{
|
||||||
struct
|
BitField<0, 1, u32> DMA_F;
|
||||||
{
|
BitField<1, 1, u32> DMA_T;
|
||||||
u32 DMA_F : 1;
|
BitField<2, 2, u32> DMA_LEN_L;
|
||||||
u32 DMA_T : 1;
|
BitField<4, 1, u32> DMA_LD;
|
||||||
u32 DMA_LEN_L : 2;
|
BitField<5, 27, u32> LC_ADDR;
|
||||||
u32 DMA_LD : 1;
|
|
||||||
u32 LC_ADDR : 27;
|
|
||||||
};
|
|
||||||
u32 Hex = 0;
|
u32 Hex = 0;
|
||||||
|
|
||||||
UReg_DMAL() = default;
|
UReg_DMAL() = default;
|
||||||
|
|
Loading…
Reference in New Issue