completed rffilter_t register definitions

This commit is contained in:
mightymax 2007-01-11 20:12:54 +00:00
parent a49d5ec520
commit 51674f57f5
1 changed files with 119 additions and 16 deletions

View File

@ -39,9 +39,9 @@ typedef struct rffilter_t
/* 1*/ unsigned IF_VCO_REG_EN:1;
/* 2*/ unsigned RF_VCO_REG_EN:1;
/* 3*/ unsigned HYBERNATE:1;
/* 4*/ unsigned :10;
/*14*/ unsigned REF_SEL:2;
/*16*/ unsigned :2 ;
/* 4*/ unsigned :10;
/*14*/ unsigned REF_SEL:2;
/*16*/ unsigned :2 ;
} bits ;
u32 val ;
} CFG1 ;
@ -51,15 +51,15 @@ typedef struct rffilter_t
{
/* 0*/ unsigned DAC:4;
/* 4*/ unsigned :5;
/* 9*/ unsigned P1:1;
/* 9*/ unsigned P1:1;
/*10*/ unsigned LD_EN1:1;
/*11*/ unsigned AUTOCAL_EN1:1;
/*12*/ unsigned PDP1:1;
/*13*/ unsigned CPL1:1;
/*14*/ unsigned LPF1:1;
/*15*/ unsigned VTC_EN1:1;
/*16*/ unsigned KV_EN1:1;
/*17*/ unsigned PLL_EN1:1;
/*11*/ unsigned AUTOCAL_EN1:1;
/*12*/ unsigned PDP1:1;
/*13*/ unsigned CPL1:1;
/*14*/ unsigned LPF1:1;
/*15*/ unsigned VTC_EN1:1;
/*16*/ unsigned KV_EN1:1;
/*17*/ unsigned PLL_EN1:1;
} bits ;
u32 val ;
} IFPLL1
@ -68,7 +68,7 @@ typedef struct rffilter_t
struct
{
/* 0*/ unsigned IF_N:16;
/*16*/ unsigned :2;
/*16*/ unsigned :2;
} bits ;
u32 val ;
} IFPLL2
@ -76,13 +76,116 @@ typedef struct rffilter_t
{
struct
{
/* 0*/ unsigned KV_DEF:4;
/* 4*/ unsigned CT_DEF:4;
/* 8*/ unsigned DN1:8;
/*16*/ unsigned :2;
/* 0*/ unsigned KV_DEF:4;
/* 4*/ unsigned CT_DEF:4;
/* 8*/ unsigned DN1:9;
/*17*/ unsigned :1;
} bits ;
u32 val ;
} IFPLL3
union
{
struct
{
/* 0*/ unsigned DAC:4;
/* 4*/ unsigned :5;
/* 9*/ unsigned P:1;
/*10*/ unsigned LD_EN:1;
/*11*/ unsigned AUTOCAL_EN:1;
/*12*/ unsigned PDP:1;
/*13*/ unsigned CPL:1;
/*14*/ unsigned LPF:1;
/*15*/ unsigned VTC_EN:1;
/*16*/ unsigned KV_EN:1;
/*17*/ unsigned PLL_EN:1;
} bits ;
u32 val ;
} RFPLL1 ;
union
{
struct
{
/* 0*/ unsigned NUM2:6;
/* 6*/ unsigned N2:12;
} bits ;
u32 val ;
} RFPLL2 ;
union
{
struct
{
/* 0*/ unsigned NUM2:18;
} bits ;
u32 val ;
} RFPLL3 ;
union
{
struct
{
/* 0*/ unsigned KV_DEF:4;
/* 4*/ unsigned CT_DEF:4;
/* 8*/ unsigned DN:9;
/*17*/ unsigned :1;
} bits ;
u32 val ;
} RFPLL4 ;
union
{
struct
{
/* 0*/ unsigned LD_WINDOW:3;
/* 3*/ unsigned M_CT_VALUE:5;
/* 8*/ unsigned TLOCK:5;
/*13*/ unsigned TVCO:5;
} bits ;
u32 val ;
} CAL1 ;
union
{
struct
{
/* 0*/ unsigned TXBYPASS:1;
/* 1*/ unsigned INTBIASEN:1;
/* 2*/ unsigned TXENMODE:1;
/* 3*/ unsigned TXDIFFMODE:1;
/* 4*/ unsigned TXLPFBW:3;
/* 7*/ unsigned RXLPFBW:3;
/*10*/ unsigned TXVGC:5;
/*15*/ unsigned PCONTROL:2;
/*17*/ unsigned RXDCFBBYPS:1;
} bits ;
u32 val ;
} TXRX1 ;
union
{
struct
{
/* 0*/ unsigned TX_DELAY:3;
/* 3*/ unsigned PC_OFFSET:6;
/* 9*/ unsigned P_DESIRED:6;
/*15*/ unsigned MID_BIAS:3;
} bits ;
u32 val ;
} PCNT1 ;
union
{
struct
{
/* 0*/ unsigned MIN_POWER:6;
/* 6*/ unsigned MID_POWER:6;
/*12*/ unsigned MAX_POWER:6;
} bits ;
} PCNT2 ;
union
{
struct
{
/* 0*/ unsigned :16;
/*16*/ unsigned AUX1:1;
/*17*/ unsigned AUX:1;
} bits ;
u32 val ;
} VCOT1 ;
} rffilter_t ;
#ifdef __cplusplus