require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_DEV_IC_MAX2820REG_H_)) {
    eval 'sub _DEV_IC_MAX2820REG_H_ () {1;}' unless defined(&_DEV_IC_MAX2820REG_H_);
    eval 'sub MAX2820_TWI_ADDR_MASK () { &BITS(15,12);}' unless defined(&MAX2820_TWI_ADDR_MASK);
    eval 'sub MAX2820_TWI_DATA_MASK () { &BITS(11,0);}' unless defined(&MAX2820_TWI_DATA_MASK);
    eval 'sub MAX2820_TEST () {0;}' unless defined(&MAX2820_TEST);
    eval 'sub MAX2820_TEST_DEFAULT () { &BITS(2,0);}' unless defined(&MAX2820_TEST_DEFAULT);
    eval 'sub MAX2820_ENABLE () {1;}' unless defined(&MAX2820_ENABLE);
    eval 'sub MAX2820_ENABLE_RSVD1 () { &BIT(11);}' unless defined(&MAX2820_ENABLE_RSVD1);
    eval 'sub MAX2820_ENABLE_PAB () { &BIT(10);}' unless defined(&MAX2820_ENABLE_PAB);
    eval 'sub MAX2820_ENABLE_TXFLT () { &BIT(9);}' unless defined(&MAX2820_ENABLE_TXFLT);
    eval 'sub MAX2820_ENABLE_TXUVD () { &BIT(8);}' unless defined(&MAX2820_ENABLE_TXUVD);
    eval 'sub MAX2820_ENABLE_DET () { &BIT(7);}' unless defined(&MAX2820_ENABLE_DET);
    eval 'sub MAX2820_ENABLE_RXDFA () { &BIT(6);}' unless defined(&MAX2820_ENABLE_RXDFA);
    eval 'sub MAX2820_ENABLE_RXLNA () { &BIT(5);}' unless defined(&MAX2820_ENABLE_RXLNA);
    eval 'sub MAX2820_ENABLE_AT () { &BIT(4);}' unless defined(&MAX2820_ENABLE_AT);
    eval 'sub MAX2820_ENABLE_CP () { &BIT(3);}' unless defined(&MAX2820_ENABLE_CP);
    eval 'sub MAX2820_ENABLE_PLL () { &BIT(2);}' unless defined(&MAX2820_ENABLE_PLL);
    eval 'sub MAX2820_ENABLE_VCO () { &BIT(1);}' unless defined(&MAX2820_ENABLE_VCO);
    eval 'sub MAX2820_ENABLE_RSVD0 () { &BIT(0);}' unless defined(&MAX2820_ENABLE_RSVD0);
    eval 'sub MAX2820_ENABLE_DEFAULT () {( &MAX2820_ENABLE_AT| &MAX2820_ENABLE_CP|  &MAX2820_ENABLE_PLL| &MAX2820_ENABLE_VCO);}' unless defined(&MAX2820_ENABLE_DEFAULT);
    eval 'sub MAX2820_SYNTH () {2;}' unless defined(&MAX2820_SYNTH);
    eval 'sub MAX2820_SYNTH_RSVD0 () { &BITS(11,7);}' unless defined(&MAX2820_SYNTH_RSVD0);
    eval 'sub MAX2820_SYNTH_ICP () { &BIT(6);}' unless defined(&MAX2820_SYNTH_ICP);
    eval 'sub MAX2820_SYNTH_R_MASK () { &BITS(5,0);}' unless defined(&MAX2820_SYNTH_R_MASK);
    eval 'sub MAX2820_SYNTH_R_22MHZ () { &LSHIFT(0,  &MAX2820_SYNTH_R_MASK);}' unless defined(&MAX2820_SYNTH_R_22MHZ);
    eval 'sub MAX2820_SYNTH_R_44MHZ () { &LSHIFT(1,  &MAX2820_SYNTH_R_MASK);}' unless defined(&MAX2820_SYNTH_R_44MHZ);
    eval 'sub MAX2820_SYNTH_ICP_DEFAULT () { &MAX2820_SYNTH_ICP;}' unless defined(&MAX2820_SYNTH_ICP_DEFAULT);
    eval 'sub MAX2820_SYNTH_R_DEFAULT () { &LSHIFT(0,  &MAX2820_SYNTH_R_MASK);}' unless defined(&MAX2820_SYNTH_R_DEFAULT);
    eval 'sub MAX2820_CHANNEL () {3;}' unless defined(&MAX2820_CHANNEL);
    eval 'sub MAX2820_CHANNEL_RSVD () { &BITS(11,7);}' unless defined(&MAX2820_CHANNEL_RSVD);
    eval 'sub MAX2820_CHANNEL_CF_MASK () { &BITS(6,0);}' unless defined(&MAX2820_CHANNEL_CF_MASK);
    eval 'sub MAX2820_CHANNEL_RSVD_DEFAULT () { &LSHIFT(0,  &MAX2820_CHANNEL_RSVD);}' unless defined(&MAX2820_CHANNEL_RSVD_DEFAULT);
    eval 'sub MAX2820_CHANNEL_CF_DEFAULT () { &LSHIFT(37,  &MAX2820_CHANNEL_CF_MASK);}' unless defined(&MAX2820_CHANNEL_CF_DEFAULT);
    eval 'sub MAX2820_RECEIVE () {4;}' unless defined(&MAX2820_RECEIVE);
    eval 'sub MAX2820_RECEIVE_2C_MASK () { &BITS(11,9);}' unless defined(&MAX2820_RECEIVE_2C_MASK);
    eval 'sub MAX2820_RECEIVE_1C_MASK () { &BITS(8,6);}' unless defined(&MAX2820_RECEIVE_1C_MASK);
    eval 'sub MAX2820_RECEIVE_DL_MASK () { &BITS(5,4);}' unless defined(&MAX2820_RECEIVE_DL_MASK);
    eval 'sub MAX2820_RECEIVE_SF () { &BIT(3);}' unless defined(&MAX2820_RECEIVE_SF);
    eval 'sub MAX2820_RECEIVE_BW_MASK () { &BITS(2,0);}' unless defined(&MAX2820_RECEIVE_BW_MASK);
    eval 'sub MAX2820_RECEIVE_BW_8_5MHZ () { &LSHIFT(0,  &MAX2820_RECEIVE_BW_MASK);}' unless defined(&MAX2820_RECEIVE_BW_8_5MHZ);
    eval 'sub MAX2820_RECEIVE_BW_8MHZ () { &LSHIFT(1,  &MAX2820_RECEIVE_BW_MASK);}' unless defined(&MAX2820_RECEIVE_BW_8MHZ);
    eval 'sub MAX2820_RECEIVE_BW_7_5MHZ () { &LSHIFT(2,  &MAX2820_RECEIVE_BW_MASK);}' unless defined(&MAX2820_RECEIVE_BW_7_5MHZ);
    eval 'sub MAX2820_RECEIVE_BW_7MHZ () { &LSHIFT(3,  &MAX2820_RECEIVE_BW_MASK);}' unless defined(&MAX2820_RECEIVE_BW_7MHZ);
    eval 'sub MAX2820_RECEIVE_BW_6_5MHZ () { &LSHIFT(4,  &MAX2820_RECEIVE_BW_MASK);}' unless defined(&MAX2820_RECEIVE_BW_6_5MHZ);
    eval 'sub MAX2820_RECEIVE_BW_6MHZ () { &LSHIFT(5,  &MAX2820_RECEIVE_BW_MASK);}' unless defined(&MAX2820_RECEIVE_BW_6MHZ);
    eval 'sub MAX2820_RECEIVE_2C_DEFAULT () { &LSHIFT(7,  &MAX2820_RECEIVE_2C_MASK);}' unless defined(&MAX2820_RECEIVE_2C_DEFAULT);
    eval 'sub MAX2820_RECEIVE_1C_DEFAULT () { &LSHIFT(7,  &MAX2820_RECEIVE_1C_MASK);}' unless defined(&MAX2820_RECEIVE_1C_DEFAULT);
    eval 'sub MAX2820_RECEIVE_DL_DEFAULT () { &LSHIFT(1,  &MAX2820_RECEIVE_DL_MASK);}' unless defined(&MAX2820_RECEIVE_DL_DEFAULT);
    eval 'sub MAX2820_RECEIVE_SF_DEFAULT () { &LSHIFT(0,  &MAX2820_RECEIVE_SF);}' unless defined(&MAX2820_RECEIVE_SF_DEFAULT);
    eval 'sub MAX2820_RECEIVE_BW_DEFAULT () { &MAX2820_RECEIVE_BW_7_5MHZ;}' unless defined(&MAX2820_RECEIVE_BW_DEFAULT);
    eval 'sub MAX2820A_RECEIVE () {4;}' unless defined(&MAX2820A_RECEIVE);
    eval 'sub MAX2820A_RECEIVE_2C_MASK () { &BITS(11,9);}' unless defined(&MAX2820A_RECEIVE_2C_MASK);
    eval 'sub MAX2820A_RECEIVE_2C_DEFAULT () { &LSHIFT(7,  &MAX2820A_RECEIVE_2C_MASK);}' unless defined(&MAX2820A_RECEIVE_2C_DEFAULT);
    eval 'sub MAX2820A_RECEIVE_1C_MASK () { &BITS(8,6);}' unless defined(&MAX2820A_RECEIVE_1C_MASK);
    eval 'sub MAX2820A_RECEIVE_1C_DEFAULT () { &LSHIFT(7,  &MAX2820A_RECEIVE_1C_MASK);}' unless defined(&MAX2820A_RECEIVE_1C_DEFAULT);
    eval 'sub MAX2820A_RECEIVE_RSVD0_MASK () { &BITS(5,3);}' unless defined(&MAX2820A_RECEIVE_RSVD0_MASK);
    eval 'sub MAX2820A_RECEIVE_RSVD0_DEFAULT () { &LSHIFT(2,  &MAX2820A_RECEIVE_RSVD0_MASK);}' unless defined(&MAX2820A_RECEIVE_RSVD0_DEFAULT);
    eval 'sub MAX2820A_RECEIVE_RSVD1_MASK () { &BITS(2,0);}' unless defined(&MAX2820A_RECEIVE_RSVD1_MASK);
    eval 'sub MAX2820A_RECEIVE_RSVD1_DEFAULT () { &LSHIFT(2, &MAX2820_RECEIVE_RSVD1_MASK);}' unless defined(&MAX2820A_RECEIVE_RSVD1_DEFAULT);
    eval 'sub MAX2820_TRANSMIT () {5;}' unless defined(&MAX2820_TRANSMIT);
    eval 'sub MAX2820_TRANSMIT_RSVD_MASK () { &BITS(11,4);}' unless defined(&MAX2820_TRANSMIT_RSVD_MASK);
    eval 'sub MAX2820_TRANSMIT_PA_MASK () { &BITS(3,0);}' unless defined(&MAX2820_TRANSMIT_PA_MASK);
    eval 'sub MAX2820_TRANSMIT_PA_DEFAULT () { &LSHIFT(0,  &MAX2820_TRANSMIT_PA_MASK);}' unless defined(&MAX2820_TRANSMIT_PA_DEFAULT);
}
1;
