📄 tmbsltda18271local.h
字号:
/* 1: 92 to 122癈 */
UInt8 MAIN_Lock :1; /* Indicate that the MAIN synthesizer is locked to the programmed frequency */
/* 0: Not Locked */
/* 1: Locked */
UInt8 POR :1; /* Power on reset bit */
/* This bit is set to 1 each time the power supply falls below a certain level (around 1.4V) and is reset after a read operation ending with a stop condition */
#endif
}bF;
}uBx01;
union
{
UInt8 POWER_LEVEL_BYTE; /* address 0x02 */
/* Power level byte */
struct
{
UInt8 Power_Level_7_to_0:8; /* Power level indicator value */
}bF;
}uBx02;
union
{
UInt8 EASY_PROG_BYTE_1; /* address 0x03 */
/* Easy programming byte 1 */
struct
{
#ifdef _BIG_ENDIAN
UInt8 Power_Level_8 :1; /* Power level indicator value */
UInt8 Dis_Power_level :1; /* Disable power level measurement */
/* 0: Power measurement valid */
/* 1: Power measurement not guaranteed */
UInt8 UNUSED :1; /* Reserved */
UInt8 RF_CAL_OK :1; /* Indicate that the RF tracking filter calibration procedure has been successful */
UInt8 IR_CAL_OK :1; /* Indicate that the 3 Image rejection calibration procedure (Flow, Fmid, Fhigh) have been successful */
UInt8 BP_Filter :3; /* RF band-pass filter selection (H3/H5) */
#else
UInt8 BP_Filter :3; /* RF band-pass filter selection (H3/H5) */
UInt8 IR_CAL_OK :1; /* Indicate that the 3 Image rejection calibration procedure (Flow, Fmid, Fhigh) have been successful */
UInt8 RF_CAL_OK :1; /* Indicate that the RF tracking filter calibration procedure has been successful */
UInt8 UNUSED :1; /* Reserved */
UInt8 Dis_Power_level :1; /* Disable power level measurement */
/* 0: Power measurement valid */
/* 1: Power measurement not guaranteed */
UInt8 Power_Level_8 :1; /* Power level indicator value */
#endif
}bF;
}uBx03;
union
{
UInt8 EASY_PROG_BYTE_2; /* address 0x04 */
/* Easy programming byte 2 */
struct
{
#ifdef _BIG_ENDIAN
UInt8 RF_Band :3; /* RF tracking filter band and sub-band selection */
UInt8 Gain_Taper :5; /* Gain taper value */
/* 0: max atten. (end of Band) */
/* 31: min atten. (start of Band) */
#else
UInt8 Gain_Taper :5; /* Gain taper value */
/* 0: max atten. (end of Band) */
/* 31: min atten. (start of Band) */
UInt8 RF_Band :3; /* RF tracking filter band and sub-band selection */
#endif
}bF;
}uBx04;
union
{
UInt8 EASY_PROG_BYTE_3; /* address 0x05 */
/* Easy programming byte 3 */
struct
{
#ifdef _BIG_ENDIAN
UInt8 SM :1; /* General sleep mode */
UInt8 SM_LT :1; /* Loop through sleep mode */
UInt8 SM_XT :1; /* XTAL output sleep mode */
UInt8 AGCK_Mode :2; /* Standard selection */
UInt8 AGC_Low_BW :1; /* Standard selection */
UInt8 LP_Fc :2; /* Standard selection */
#else
UInt8 LP_Fc :2; /* Standard selection */
UInt8 AGC_Low_BW :1; /* Standard selection */
UInt8 AGCK_Mode :2; /* Standard selection */
UInt8 SM_XT :1; /* XTAL output sleep mode */
UInt8 SM_LT :1; /* Loop through sleep mode */
UInt8 SM :1; /* General sleep mode */
#endif
}bF;
}uBx05;
union
{
UInt8 EASY_PROG_BYTE_4; /* address 0x06 */
/* Easy programming byte 4 */
struct
{
#ifdef _BIG_ENDIAN
UInt8 FM_RFn :1; /* FM or RF input selection */
UInt8 XTout_ON :1; /* Enable 16MHz on XTAL output */
UInt8 Xtout_400mV :1; /* XTAL output level optional selection */
UInt8 IF_Level :3; /* IF output level selection */
UInt8 CAL_Mode :2; /* calibration mode selection */
#else
UInt8 CAL_Mode :2; /* calibration mode selection */
UInt8 IF_Level :3; /* IF output level selection */
UInt8 Xtout_400mV :1; /* XTAL output level optional selection */
UInt8 XTout_ON :1; /* Enable 16MHz on XTAL output */
UInt8 FM_RFn :1; /* FM or RF input selection */
#endif
}bF;
}uBx06;
union
{
UInt8 EASY_PROG_BYTE_5; /* address 0x07 */
/* Easy programming byte 5 */
struct
{
#ifdef _BIG_ENDIAN
UInt8 Extended_Reg :1; /* Enable the extended byte addressing */
/* 0: Limited byte (&h00:&h0F) */
/* 1: Extended byte (&h00:&h26) */
UInt8 IR_Gstep :3; /* Gain step for image rejection measurement. Depends on frequency */
UInt8 I2C_Xtout_Asym :1; /* Reserved */
UInt8 IR_Meas :3; /* Image rejection measurement mode */
#else
UInt8 IR_Meas :3; /* Image rejection measurement mode */
UInt8 I2C_Xtout_Asym :1; /* Reserved */
UInt8 IR_Gstep :3; /* Gain step for image rejection measurement. Depends on frequency */
UInt8 Extended_Reg :1; /* Enable the extended byte addressing */
/* 0: Limited byte (&h00:&h0F) */
/* 1: Extended byte (&h00:&h26) */
#endif
}bF;
}uBx07;
union
{
UInt8 CAL_POST_DIV_BYTE; /* address 0x08 */
/* CAL post divider byte */
struct
{
#ifdef _BIG_ENDIAN
UInt8 RUF_0 :1; /* Reserved */
UInt8 CALPostDiv :7; /* CAL post divider */
#else
UInt8 CALPostDiv :7; /* CAL post divider */
UInt8 RUF_0 :1; /* Reserved */
#endif
}bF;
}uBx08;
union
{
UInt8 CAL_DIV_BYTE_1; /* address 0x09 */
/* CAL divider byte 1 */
struct
{
#ifdef _BIG_ENDIAN
UInt8 RUF_1 :1; /* Reserved */
UInt8 CAL_Div_22_to_16 :7; /* CAL divider value 22 to 16 */
#else
UInt8 CAL_Div_22_to_16 :7; /* CAL divider value 22 to 16 */
UInt8 RUF_1 :1; /* Reserved */
#endif
}bF;
}uBx09;
union
{
UInt8 CAL_DIV_BYTE_2; /* address 0x0A */
/* CAL divider byte 2 */
struct
{
UInt8 CAL_Div_15_to_8 :8; /* CAL divider value 15 to 8 */
}bF;
}uBx0A;
union
{
UInt8 CAL_DIV_BYTE_3; /* address 0x0B */
/* CAL divider byte 3 */
struct
{
UInt8 CAL_Div_7_to_0:8; /* CAL divider value 7 to 0 */
}bF;
}uBx0B;
union
{
UInt8 MAIN_POST_DIV_BYTE; /* address 0x0C */
/* MAIN post divider byte */
struct
{
#ifdef _BIG_ENDIAN
UInt8 IF_notch :1; /* Reserved */
UInt8 MAIN_Post_Div :7; /* MAIN post divider value */
#else
UInt8 MAIN_Post_Div :7; /* MAIN post divider value */
UInt8 IF_notch :1; /* Reserved */
#endif
}bF;
}uBx0C;
union
{
UInt8 MAIN_DIV_BYTE_1; /* address 0x0D */
/* MAIN divider byte 1 */
struct
{
#ifdef _BIG_ENDIAN
UInt8 RUF_2 :1; /* Reserved */
UInt8 MAIN_Div_22_to_16 :7; /* MAIN divider value 22 to 16 */
#else
UInt8 MAIN_Div_22_to_16 :7; /* MAIN divider value 22 to 16 */
UInt8 RUF_2 :1; /* Reserved */
#endif
}bF;
}uBx0D;
union
{
UInt8 MAIN_DIV_BYTE_2; /* address 0x0E */
/* MAIN divider byte 2 */
struct
{
UInt8 MAIN_Div_15_to_8 :8; /* MAIN divider value 15 to 8 */
}bF;
}uBx0E;
union
{
UInt8 MAIN_DIV_BYTE_3; /* address 0x0F */
/* MAIN divider byte 3 */
struct
{
UInt8 MAIN_Div_7_to_0 :8; /* MAIN divider value 7 to 0 */
}bF;
}uBx0F;
union
{
UInt8 EXTENDED_BYTE_1; /* address 0x10 */
/* Extended byte 1 */
struct
{
#ifdef _BIG_ENDIAN
UInt8 UNUSED :1; /* Reserved */
UInt8 CALVCO_forLOn :1;
UInt8 AGC1_always_mastern:1;
UInt8 AGC1_firstn :1;
#else
UInt8 AGC1_firstn : 1;
UInt8 AGC1_always_mastern:1;
UInt8 CALVCO_forLOn :1;
UInt8 UNUSED :1; /* Reserved */
#endif
}bF;
}uBx10;
union
{
UInt8 EXTENDED_BYTE_2; /* address 0x11 */
}uBx11; /* Extended byte 2 */
union
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -