require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_DEV_IC_SI4136REG_H_)) {
    eval 'sub _DEV_IC_SI4136REG_H_ () {1;}' unless defined(&_DEV_IC_SI4136REG_H_);
    eval 'sub SI4126_TWI_DATA_MASK () {0x3ffff0;}' unless defined(&SI4126_TWI_DATA_MASK);
    eval 'sub SI4126_TWI_ADDR_MASK () {0xf;}' unless defined(&SI4126_TWI_ADDR_MASK);
    eval 'sub SI4126_MAIN () {0;}' unless defined(&SI4126_MAIN);
    eval 'sub SI4126_MAIN_AUXSEL_MASK () {0x3000;}' unless defined(&SI4126_MAIN_AUXSEL_MASK);
    eval 'sub SI4126_MAIN_AUXSEL_RSVD () { &LSHIFT(0x,  &SI4126_MAIN_AUXSEL_MASK);}' unless defined(&SI4126_MAIN_AUXSEL_RSVD);
    eval 'sub SI4126_MAIN_AUXSEL_FRCLOW () { &LSHIFT(0x1,  &SI4126_MAIN_AUXSEL_MASK);}' unless defined(&SI4126_MAIN_AUXSEL_FRCLOW);
    eval 'sub SI4126_MAIN_AUXSEL_LDETB () { &LSHIFT(0x3,  &SI4126_MAIN_AUXSEL_MASK);}' unless defined(&SI4126_MAIN_AUXSEL_LDETB);
    eval 'sub SI4126_MAIN_IFDIV_MASK () {0xc00;}' unless defined(&SI4126_MAIN_IFDIV_MASK);
    eval 'sub SI4126_MAIN_XINDIV2 () {(1<<6);}' unless defined(&SI4126_MAIN_XINDIV2);
    eval 'sub SI4126_MAIN_LPWR () {(1<<5);}' unless defined(&SI4126_MAIN_LPWR);
    eval 'sub SI4126_MAIN_AUTOPDB () {(1<<3);}' unless defined(&SI4126_MAIN_AUTOPDB);
    eval 'sub SI4126_GAIN () {1;}' unless defined(&SI4126_GAIN);
    eval 'sub SI4126_GAIN_KPI_MASK () {0x30;}' unless defined(&SI4126_GAIN_KPI_MASK);
    eval 'sub SI4126_GAIN_KP2_MASK () {0xc;}' unless defined(&SI4126_GAIN_KP2_MASK);
    eval 'sub SI4126_GAIN_KP1_MASK () {0x3;}' unless defined(&SI4126_GAIN_KP1_MASK);
    eval 'sub SI4126_POWER () {2;}' unless defined(&SI4126_POWER);
    eval 'sub SI4126_POWER_PDIB () {(1<<1);}' unless defined(&SI4126_POWER_PDIB);
    eval 'sub SI4126_POWER_PDRB () {(1<<0);}' unless defined(&SI4126_POWER_PDRB);
    eval 'sub SI4126_RF1N () {3;}' unless defined(&SI4126_RF1N);
    eval 'sub SI4126_RF2N () {4;}' unless defined(&SI4126_RF2N);
    eval 'sub SI4126_IFN () {5;}' unless defined(&SI4126_IFN);
    eval 'sub SI4126_RF1R () {6;}' unless defined(&SI4126_RF1R);
    eval 'sub SI4126_RF2R () {7;}' unless defined(&SI4126_RF2R);
    eval 'sub SI4126_IFR () {8;}' unless defined(&SI4126_IFR);
}
1;
