require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_DEV_IC_SA2400REG_H_)) {
    eval 'sub _DEV_IC_SA2400REG_H_ () {1;}' unless defined(&_DEV_IC_SA2400REG_H_);
    eval 'sub SA2400_TWI_DATA_MASK () { &BITS(31,8);}' unless defined(&SA2400_TWI_DATA_MASK);
    eval 'sub SA2400_TWI_WREN () { &BIT(7);}' unless defined(&SA2400_TWI_WREN);
    eval 'sub SA2400_TWI_ADDR_MASK () { &BITS(6,0);}' unless defined(&SA2400_TWI_ADDR_MASK);
    eval 'sub SA2400_SYNA () {0;}' unless defined(&SA2400_SYNA);
    eval 'sub SA2400_SYNA_FM () { &BIT(21);}' unless defined(&SA2400_SYNA_FM);
    eval 'sub SA2400_SYNA_NF_MASK () { &BITS(20,18);}' unless defined(&SA2400_SYNA_NF_MASK);
    eval 'sub SA2400_SYNA_N_MASK () { &BITS(17,2);}' unless defined(&SA2400_SYNA_N_MASK);
    eval 'sub SA2400_SYNB () {1;}' unless defined(&SA2400_SYNB);
    eval 'sub SA2400_SYNB_R_MASK () { &BITS(21,12);}' unless defined(&SA2400_SYNB_R_MASK);
    eval 'sub SA2400_SYNB_L_MASK () { &BITS(11,10);}' unless defined(&SA2400_SYNB_L_MASK);
    eval 'sub SA2400_SYNB_L_INACTIVE0 () { &LSHIFT(0,  &SA2400_SYNB_L_MASK);}' unless defined(&SA2400_SYNB_L_INACTIVE0);
    eval 'sub SA2400_SYNB_L_INACTIVE1 () { &LSHIFT(1,  &SA2400_SYNB_L_MASK);}' unless defined(&SA2400_SYNB_L_INACTIVE1);
    eval 'sub SA2400_SYNB_L_NORMAL () { &LSHIFT(2,  &SA2400_SYNB_L_MASK);}' unless defined(&SA2400_SYNB_L_NORMAL);
    eval 'sub SA2400_SYNB_L_INACTIVE2 () { &LSHIFT(3,  &SA2400_SYNB_L_MASK);}' unless defined(&SA2400_SYNB_L_INACTIVE2);
    eval 'sub SA2400_SYNB_ON () { &BIT(9);}' unless defined(&SA2400_SYNB_ON);
    eval 'sub SA2400_SYNB_ONE () { &BIT(8);}' unless defined(&SA2400_SYNB_ONE);
    eval 'sub SA2400_SYNB_FC_MASK () { &BITS(7,0);}' unless defined(&SA2400_SYNB_FC_MASK);
    eval 'sub SA2400_SYNC () {2;}' unless defined(&SA2400_SYNC);
    eval 'sub SA2400_SYNC_CP_MASK () { &BITS(7,6);}' unless defined(&SA2400_SYNC_CP_MASK);
    eval 'sub SA2400_SYNC_CP_NORMAL_ () { &LSHIFT(0,  &SA2400_SYNC_CP_MASK);}' unless defined(&SA2400_SYNC_CP_NORMAL_);
    eval 'sub SA2400_SYNC_CP_THIRD_ () { &LSHIFT(1,  &SA2400_SYNC_CP_MASK);}' unless defined(&SA2400_SYNC_CP_THIRD_);
    eval 'sub SA2400_SYNC_CP_NORMAL () { &LSHIFT(2,  &SA2400_SYNC_CP_MASK);}' unless defined(&SA2400_SYNC_CP_NORMAL);
    eval 'sub SA2400_SYNC_CP_THIRD () { &LSHIFT(3,  &SA2400_SYNC_CP_MASK);}' unless defined(&SA2400_SYNC_CP_THIRD);
    eval 'sub SA2400_SYNC_SM_MASK () { &BITS(5,3);}' unless defined(&SA2400_SYNC_SM_MASK);
    eval 'sub SA2400_SYNC_ZERO () { &BIT(2);}' unless defined(&SA2400_SYNC_ZERO);
    eval 'sub SA2400_SYND () {3;}' unless defined(&SA2400_SYND);
    eval 'sub SA2400_SYND_ZERO1_MASK () { &BITS(21,17);}' unless defined(&SA2400_SYND_ZERO1_MASK);
    eval 'sub SA2400_SYND_TPHPSU () { &BIT(16);}' unless defined(&SA2400_SYND_TPHPSU);
    eval 'sub SA2400_SYND_TPSU () { &BIT(15);}' unless defined(&SA2400_SYND_TPSU);
    eval 'sub SA2400_SYND_ZERO2_MASK () { &BITS(14,3);}' unless defined(&SA2400_SYND_ZERO2_MASK);
    eval 'sub SA2400_OPMODE () {4;}' unless defined(&SA2400_OPMODE);
    eval 'sub SA2400_OPMODE_ADC () { &BIT(19);}' unless defined(&SA2400_OPMODE_ADC);
    eval 'sub SA2400_OPMODE_FTERR () { &BIT(18);}' unless defined(&SA2400_OPMODE_FTERR);
    eval 'sub SA2400_OPMODE_FILTTUNE_MASK () { &BITS(17,15);}' unless defined(&SA2400_OPMODE_FILTTUNE_MASK);
    eval 'sub SA2400_OPMODE_V2P5 () { &BIT(14);}' unless defined(&SA2400_OPMODE_V2P5);
    eval 'sub SA2400_OPMODE_I1M () { &BIT(13);}' unless defined(&SA2400_OPMODE_I1M);
    eval 'sub SA2400_OPMODE_I0P3 () { &BIT(12);}' unless defined(&SA2400_OPMODE_I0P3);
    eval 'sub SA2400_OPMODE_IN22 () { &BIT(10);}' unless defined(&SA2400_OPMODE_IN22);
    eval 'sub SA2400_OPMODE_CLK () { &BIT(9);}' unless defined(&SA2400_OPMODE_CLK);
    eval 'sub SA2400_OPMODE_XO () { &BIT(8);}' unless defined(&SA2400_OPMODE_XO);
    eval 'sub SA2400_OPMODE_DIGIN () { &BIT(7);}' unless defined(&SA2400_OPMODE_DIGIN);
    eval 'sub SA2400_OPMODE_RXLV () { &BIT(6);}' unless defined(&SA2400_OPMODE_RXLV);
    eval 'sub SA2400_OPMODE_VEO () { &BIT(5);}' unless defined(&SA2400_OPMODE_VEO);
    eval 'sub SA2400_OPMODE_VEI () { &BIT(4);}' unless defined(&SA2400_OPMODE_VEI);
    eval 'sub SA2400_OPMODE_MODE_MASK () { &BITS(3,0);}' unless defined(&SA2400_OPMODE_MODE_MASK);
    eval 'sub SA2400_OPMODE_MODE_SLEEP () { &LSHIFT(0,  &SA2400_OPMODE_MODE_MASK);}' unless defined(&SA2400_OPMODE_MODE_SLEEP);
    eval 'sub SA2400_OPMODE_MODE_TXRX () { &LSHIFT(1,  &SA2400_OPMODE_MODE_MASK);}' unless defined(&SA2400_OPMODE_MODE_TXRX);
    eval 'sub SA2400_OPMODE_MODE_WAIT () { &LSHIFT(2,  &SA2400_OPMODE_MODE_MASK);}' unless defined(&SA2400_OPMODE_MODE_WAIT);
    eval 'sub SA2400_OPMODE_MODE_RXMGC () { &LSHIFT(3,  &SA2400_OPMODE_MODE_MASK);}' unless defined(&SA2400_OPMODE_MODE_RXMGC);
    eval 'sub SA2400_OPMODE_MODE_FCALIB () { &LSHIFT(4,  &SA2400_OPMODE_MODE_MASK);}' unless defined(&SA2400_OPMODE_MODE_FCALIB);
    eval 'sub SA2400_OPMODE_MODE_DCALIB () { &LSHIFT(5,  &SA2400_OPMODE_MODE_MASK);}' unless defined(&SA2400_OPMODE_MODE_DCALIB);
    eval 'sub SA2400_OPMODE_MODE_FASTTXRXMGC () { &LSHIFT(6,  &SA2400_OPMODE_MODE_MASK);}' unless defined(&SA2400_OPMODE_MODE_FASTTXRXMGC);
    eval 'sub SA2400_OPMODE_MODE_RESET () { &LSHIFT(7,  &SA2400_OPMODE_MODE_MASK);}' unless defined(&SA2400_OPMODE_MODE_RESET);
    eval 'sub SA2400_OPMODE_MODE_VCOCALIB () { &LSHIFT(8,  &SA2400_OPMODE_MODE_MASK);}' unless defined(&SA2400_OPMODE_MODE_VCOCALIB);
    eval 'sub SA2400_OPMODE_DEFAULTS () {( &SA2400_OPMODE_XO |  &SA2400_OPMODE_RXLV |  &SA2400_OPMODE_CLK |  &SA2400_OPMODE_I0P3 |  &LSHIFT(3,  &SA2400_OPMODE_FILTTUNE_MASK));}' unless defined(&SA2400_OPMODE_DEFAULTS);
    eval 'sub SA2400_AGC () {5;}' unless defined(&SA2400_AGC);
    eval 'sub SA2400_AGC_TARGETSIGN () { &BIT(23);}' unless defined(&SA2400_AGC_TARGETSIGN);
    eval 'sub SA2400_AGC_TARGET_MASK () { &BITS(22,20);}' unless defined(&SA2400_AGC_TARGET_MASK);
    eval 'sub SA2400_AGC_MAXGAIN_MASK () { &BITS(19,15);}' unless defined(&SA2400_AGC_MAXGAIN_MASK);
    eval 'sub SA2400_AGC_BBPDELAY_MASK () { &BITS(14,10);}' unless defined(&SA2400_AGC_BBPDELAY_MASK);
    eval 'sub SA2400_AGC_ADCVAL_MASK () { &SA2400_AGC_BBPDELAY_MASK;}' unless defined(&SA2400_AGC_ADCVAL_MASK);
    eval 'sub SA2400_AGC_LNADELAY_MASK () { &BITS(9,5);}' unless defined(&SA2400_AGC_LNADELAY_MASK);
    eval 'sub SA2400_AGC_SAMPLE2_MASK () { &SA2400_AGC_LNADELAY_MASK;}' unless defined(&SA2400_AGC_SAMPLE2_MASK);
    eval 'sub SA2400_AGC_RXONDELAY_MASK () { &BITS(4,0);}' unless defined(&SA2400_AGC_RXONDELAY_MASK);
    eval 'sub SA2400_AGC_SAMPLE1_MASK () { &SA2400_AGC_RXONDELAY_MASK;}' unless defined(&SA2400_AGC_SAMPLE1_MASK);
    eval 'sub SA2400_MANRX () {6;}' unless defined(&SA2400_MANRX);
    eval 'sub SA2400_MANRX_AHSN () { &BIT(23);}' unless defined(&SA2400_MANRX_AHSN);
    eval 'sub SA2400_MANRX_RXOSQON () { &BIT(22);}' unless defined(&SA2400_MANRX_RXOSQON);
    eval 'sub SA2400_MANRX_RXOSQSIGN () { &BIT(21);}' unless defined(&SA2400_MANRX_RXOSQSIGN);
    eval 'sub SA2400_MANRX_RXOSQ_MASK () { &BITS(20,18);}' unless defined(&SA2400_MANRX_RXOSQ_MASK);
    eval 'sub SA2400_MANRX_RXOSION () { &BIT(17);}' unless defined(&SA2400_MANRX_RXOSION);
    eval 'sub SA2400_MANRX_RXOSISIGN () { &BIT(16);}' unless defined(&SA2400_MANRX_RXOSISIGN);
    eval 'sub SA2400_MANRX_RXOSI_MASK () { &BITS(15,13);}' unless defined(&SA2400_MANRX_RXOSI_MASK);
    eval 'sub SA2400_MANRX_TEN () { &BIT(12);}' unless defined(&SA2400_MANRX_TEN);
    eval 'sub SA2400_MANRX_CORNERFREQ_MASK () { &BITS(11,10);}' unless defined(&SA2400_MANRX_CORNERFREQ_MASK);
    eval 'sub SA2400_MANRX_RXGAIN_MASK () { &BITS(9,0);}' unless defined(&SA2400_MANRX_RXGAIN_MASK);
    eval 'sub SA2400_TX () {7;}' unless defined(&SA2400_TX);
    eval 'sub SA2400_TX_TXOSQON () { &BIT(19);}' unless defined(&SA2400_TX_TXOSQON);
    eval 'sub SA2400_TX_TXOSQSIGN () { &BIT(18);}' unless defined(&SA2400_TX_TXOSQSIGN);
    eval 'sub SA2400_TX_TXOSQ_MASK () { &BITS(17,15);}' unless defined(&SA2400_TX_TXOSQ_MASK);
    eval 'sub SA2400_TX_TXOSION () { &BIT(14);}' unless defined(&SA2400_TX_TXOSION);
    eval 'sub SA2400_TX_TXOSISIGN () { &BIT(13);}' unless defined(&SA2400_TX_TXOSISIGN);
    eval 'sub SA2400_TX_TXOSI_MASK () { &BITS(12,10);}' unless defined(&SA2400_TX_TXOSI_MASK);
    eval 'sub SA2400_TX_RAMP_MASK () { &BITS(9,8);}' unless defined(&SA2400_TX_RAMP_MASK);
    eval 'sub SA2400_TX_HIGAIN_MASK () { &BITS(7,4);}' unless defined(&SA2400_TX_HIGAIN_MASK);
    eval 'sub SA2400_TX_LOGAIN_MASK () { &BITS(3,0);}' unless defined(&SA2400_TX_LOGAIN_MASK);
    eval 'sub SA2400_VCO () {8;}' unless defined(&SA2400_VCO);
    eval 'sub SA2400_VCO_ZERO () { &BITS(6,5);}' unless defined(&SA2400_VCO_ZERO);
    eval 'sub SA2400_VCO_VCERR () { &BIT(4);}' unless defined(&SA2400_VCO_VCERR);
    eval 'sub SA2400_VCO_VCOBAND_MASK () { &BITS(3,0);}' unless defined(&SA2400_VCO_VCOBAND_MASK);
}
1;
