require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_PT2254A_H_)) {
    eval 'sub _PT2254A_H_ () {1;}' unless defined(&_PT2254A_H_);
    eval 'sub PT2254A_MAX_ATTENUATION () {68;}' unless defined(&PT2254A_MAX_ATTENUATION);
    eval 'sub PT2254A_ATTENUATION_STEPS () {35;}' unless defined(&PT2254A_ATTENUATION_STEPS);
    eval 'sub PT2254A_REGISTER_LENGTH () {18;}' unless defined(&PT2254A_REGISTER_LENGTH);
    eval 'sub PT2254A_ATTENUATION_MAJOR_0dB () {(1<< 0);}' unless defined(&PT2254A_ATTENUATION_MAJOR_0dB);
    eval 'sub PT2254A_ATTENUATION_MAJOR_10dB () {(1<< 1);}' unless defined(&PT2254A_ATTENUATION_MAJOR_10dB);
    eval 'sub PT2254A_ATTENUATION_MAJOR_20dB () {(1<< 2);}' unless defined(&PT2254A_ATTENUATION_MAJOR_20dB);
    eval 'sub PT2254A_ATTENUATION_MAJOR_30dB () {(1<< 3);}' unless defined(&PT2254A_ATTENUATION_MAJOR_30dB);
    eval 'sub PT2254A_ATTENUATION_MAJOR_40dB () {(1<< 4);}' unless defined(&PT2254A_ATTENUATION_MAJOR_40dB);
    eval 'sub PT2254A_ATTENUATION_MAJOR_50dB () {(1<< 5);}' unless defined(&PT2254A_ATTENUATION_MAJOR_50dB);
    eval 'sub PT2254A_ATTENUATION_MAJOR_60dB () {(1<< 6);}' unless defined(&PT2254A_ATTENUATION_MAJOR_60dB);
    eval 'sub PT2254A_ATTENUATION_MAJOR {
        my($x) = @_;
	    eval q((1<< $x));
    }' unless defined(&PT2254A_ATTENUATION_MAJOR);
    eval 'sub PT2254A_ATTENUATION_MINOR_0dB () {(1<< 7);}' unless defined(&PT2254A_ATTENUATION_MINOR_0dB);
    eval 'sub PT2254A_ATTENUATION_MINOR_2dB () {(1<< 8;}' unless defined(&PT2254A_ATTENUATION_MINOR_2dB);
    eval 'sub PT2254A_ATTENUATION_MINOR_4dB () {(1<< 9);}' unless defined(&PT2254A_ATTENUATION_MINOR_4dB);
    eval 'sub PT2254A_ATTENUATION_MINOR_6dB () {(1<< 10);}' unless defined(&PT2254A_ATTENUATION_MINOR_6dB);
    eval 'sub PT2254A_ATTENUATION_MINOR_8dB () {(1<< 11);}' unless defined(&PT2254A_ATTENUATION_MINOR_8dB);
    eval 'sub PT2254A_ATTENUATION_MINOR {
        my($x) = @_;
	    eval q((1<< (7+ $x / 2)));
    }' unless defined(&PT2254A_ATTENUATION_MINOR);
    eval 'sub PT2254A_EMPTY_BIT () {(0<< 12);}' unless defined(&PT2254A_EMPTY_BIT);
    eval 'sub PT2254A_BOTH_CHANNELS () {(3<< 13);}' unless defined(&PT2254A_BOTH_CHANNELS);
    eval 'sub PT2254A_LEFT_CHANNEL () {(1<< 13);}' unless defined(&PT2254A_LEFT_CHANNEL);
    eval 'sub PT2254A_RIGHT_CHANNEL () {(1<< 14);}' unless defined(&PT2254A_RIGHT_CHANNEL);
    eval 'sub PT2254A_ZERO_PADDING () {(0<< 15);}' unless defined(&PT2254A_ZERO_PADDING);
    eval 'sub USE_CHANNEL () {1;}' unless defined(&USE_CHANNEL);
}
1;
