require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_DEV_USB_UOWREG_H_)) {
    eval 'sub _DEV_USB_UOWREG_H_ () {1;}' unless defined(&_DEV_USB_UOWREG_H_);
    eval 'sub DS2490_USB_CONFIG () {1;}' unless defined(&DS2490_USB_CONFIG);
    eval 'sub DS2490_USB_IFACE () {0;}' unless defined(&DS2490_USB_IFACE);
    eval 'sub DS2490_CONTROL_CMD () {0x;}' unless defined(&DS2490_CONTROL_CMD);
    eval 'sub DS2490_COMM_CMD () {0x1;}' unless defined(&DS2490_COMM_CMD);
    eval 'sub DS2490_MODE_CMD () {0x2;}' unless defined(&DS2490_MODE_CMD);
    eval 'sub DS2490_CTL_RESET_DEVICE () {0x;}' unless defined(&DS2490_CTL_RESET_DEVICE);
    eval 'sub DS2490_CTL_START_EXE () {0x1;}' unless defined(&DS2490_CTL_START_EXE);
    eval 'sub DS2490_CTL_RESUME_EXE () {0x2;}' unless defined(&DS2490_CTL_RESUME_EXE);
    eval 'sub DS2490_CTL_HALT_EXE_IDLE () {0x3;}' unless defined(&DS2490_CTL_HALT_EXE_IDLE);
    eval 'sub DS2490_CTL_HALT_EXE_DONE () {0x4;}' unless defined(&DS2490_CTL_HALT_EXE_DONE);
    eval 'sub DS2490_CTL_FLUSH_COMM_CMDS () {0x7;}' unless defined(&DS2490_CTL_FLUSH_COMM_CMDS);
    eval 'sub DS2490_CTL_FLUSH_RCV_BUFFER () {0x8;}' unless defined(&DS2490_CTL_FLUSH_RCV_BUFFER);
    eval 'sub DS2490_CTL_FLUSH_XMT_BUFFER () {0x9;}' unless defined(&DS2490_CTL_FLUSH_XMT_BUFFER);
    eval 'sub DS2490_CTL_GET_COMM_CMDS () {0xa;}' unless defined(&DS2490_CTL_GET_COMM_CMDS);
    eval 'sub DS2490_COMM_SET_DURATION () {0x12;}' unless defined(&DS2490_COMM_SET_DURATION);
    eval 'sub DS2490_COMM_PULSE () {0x30;}' unless defined(&DS2490_COMM_PULSE);
    eval 'sub DS2490_COMM_1WIRE_RESET () {0x42;}' unless defined(&DS2490_COMM_1WIRE_RESET);
    eval 'sub DS2490_COMM_BIT_IO () {0x20;}' unless defined(&DS2490_COMM_BIT_IO);
    eval 'sub DS2490_COMM_BYTE_IO () {0x52;}' unless defined(&DS2490_COMM_BYTE_IO);
    eval 'sub DS2490_COMM_BLOCK_IO () {0x74;}' unless defined(&DS2490_COMM_BLOCK_IO);
    eval 'sub DS2490_COMM_MATCH_ACCESS () {0x64;}' unless defined(&DS2490_COMM_MATCH_ACCESS);
    eval 'sub DS2490_COMM_READ_STRAIGHT () {0x80;}' unless defined(&DS2490_COMM_READ_STRAIGHT);
    eval 'sub DS2490_COMM_DO_RELEASE () {0x6092;}' unless defined(&DS2490_COMM_DO_RELEASE);
    eval 'sub DS2490_COMM_SET_PATH () {0xa2;}' unless defined(&DS2490_COMM_SET_PATH);
    eval 'sub DS2490_COMM_WRITE_SRAM_PAGE () {0xb2;}' unless defined(&DS2490_COMM_WRITE_SRAM_PAGE);
    eval 'sub DS2490_COMM_WRITE_EPROM () {0xc4;}' unless defined(&DS2490_COMM_WRITE_EPROM);
    eval 'sub DS2490_COMM_READ_CRC_PROT_PAGE () {0xd4;}' unless defined(&DS2490_COMM_READ_CRC_PROT_PAGE);
    eval 'sub DS2490_COMM_READ_REDIR_PAGE_CRC () {0x21e4;}' unless defined(&DS2490_COMM_READ_REDIR_PAGE_CRC);
    eval 'sub DS2490_COMM_SEARCH_ACCESS () {0xf4;}' unless defined(&DS2490_COMM_SEARCH_ACCESS);
    eval 'sub DS2490_BIT_IM () {(1<< 0);}' unless defined(&DS2490_BIT_IM);
    eval 'sub DS2490_BIT_D () {(1<< 3);}' unless defined(&DS2490_BIT_D);
    eval 'sub DS2490_BIT_CH () {(1<< 3);}' unless defined(&DS2490_BIT_CH);
    eval 'sub DS2490_BIT_R () {(1<< 3);}' unless defined(&DS2490_BIT_R);
    eval 'sub DS2490_BIT_SE () {(1<< 3);}' unless defined(&DS2490_BIT_SE);
    eval 'sub DS2490_BIT_SM () {(1<< 3);}' unless defined(&DS2490_BIT_SM);
    eval 'sub DS2490_BIT_TYPE () {(1<< 3);}' unless defined(&DS2490_BIT_TYPE);
    eval 'sub DS2490_BIT_Z () {(1<< 3);}' unless defined(&DS2490_BIT_Z);
    eval 'sub DS2490_BIT_RST () {(1<< 8);}' unless defined(&DS2490_BIT_RST);
    eval 'sub DS2490_BIT_ICP () {(1<< 9);}' unless defined(&DS2490_BIT_ICP);
    eval 'sub DS2490_BIT_NTF () {(1<< 10);}' unless defined(&DS2490_BIT_NTF);
    eval 'sub DS2490_BIT_F () {(1<< 11);}' unless defined(&DS2490_BIT_F);
    eval 'sub DS2490_BIT_SPU () {(1<< 12);}' unless defined(&DS2490_BIT_SPU);
    eval 'sub DS2490_BIT_DT () {(1<< 13);}' unless defined(&DS2490_BIT_DT);
    eval 'sub DS2490_BIT_CIB () {(1<< 14);}' unless defined(&DS2490_BIT_CIB);
    eval 'sub DS2490_BIT_PS () {(1<< 14);}' unless defined(&DS2490_BIT_PS);
    eval 'sub DS2490_BIT_PST () {(1<< 14);}' unless defined(&DS2490_BIT_PST);
    eval 'sub DS2490_BIT_RTS () {(1<< 14);}' unless defined(&DS2490_BIT_RTS);
    eval 'sub DS2490_MOD_PULSE_EN () {0x;}' unless defined(&DS2490_MOD_PULSE_EN);
    eval 'sub DS2490_MOD_SPEED_CHANGE_EN () {0x1;}' unless defined(&DS2490_MOD_SPEED_CHANGE_EN);
    eval 'sub DS2490_MOD_1WIRE_SPEED () {0x2;}' unless defined(&DS2490_MOD_1WIRE_SPEED);
    eval 'sub DS2490_MOD_STRONG_PU_DURATION () {0x3;}' unless defined(&DS2490_MOD_STRONG_PU_DURATION);
    eval 'sub DS2490_MOD_PULLDOWN_SLEWRATE () {0x4;}' unless defined(&DS2490_MOD_PULLDOWN_SLEWRATE);
    eval 'sub DS2490_MOD_PROG_PULSE_DURATION () {0x5;}' unless defined(&DS2490_MOD_PROG_PULSE_DURATION);
    eval 'sub DS2490_MOD_WRITE1_LOWTIME () {0x6;}' unless defined(&DS2490_MOD_WRITE1_LOWTIME);
    eval 'sub DS2490_MOD_DSOW0_TREC () {0x7;}' unless defined(&DS2490_MOD_DSOW0_TREC);
    eval 'sub DS2490_ST_BEGIN () {0x;}' unless defined(&DS2490_ST_BEGIN);
    eval 'sub DS2490_ST_ENFL () {0x;}' unless defined(&DS2490_ST_ENFL);
    eval 'sub DS2490_ST_ENFL_SPUE () {(1<< 0);}' unless defined(&DS2490_ST_ENFL_SPUE);
    eval 'sub DS2490_ST_ENFL_PRGE () {(1<< 1);}' unless defined(&DS2490_ST_ENFL_PRGE);
    eval 'sub DS2490_ST_ENFL_SPCE () {(1<< 2);}' unless defined(&DS2490_ST_ENFL_SPCE);
    eval 'sub DS2490_ST_SPEED () {0x1;}' unless defined(&DS2490_ST_SPEED);
    eval 'sub DS2490_ST_SPUDUR () {0x2;}' unless defined(&DS2490_ST_SPUDUR);
    eval 'sub DS2490_ST_PRGDUR () {0x3;}' unless defined(&DS2490_ST_PRGDUR);
    eval 'sub DS2490_ST_PDSRC () {0x4;}' unless defined(&DS2490_ST_PDSRC);
    eval 'sub DS2490_ST_W1LT () {0x5;}' unless defined(&DS2490_ST_W1LT);
    eval 'sub DS2490_ST_DSO () {0x6;}' unless defined(&DS2490_ST_DSO);
    eval 'sub DS2490_ST_STFL () {0x8;}' unless defined(&DS2490_ST_STFL);
    eval 'sub DS2490_ST_STFL_SPUA () {(1<< 0);}' unless defined(&DS2490_ST_STFL_SPUA);
    eval 'sub DS2490_ST_STFL_PRGA () {(1<< 1);}' unless defined(&DS2490_ST_STFL_PRGA);
    eval 'sub DS2490_ST_STFL_12VP () {(1<< 2);}' unless defined(&DS2490_ST_STFL_12VP);
    eval 'sub DS2490_ST_STFL_PMOD () {(1<< 3);}' unless defined(&DS2490_ST_STFL_PMOD);
    eval 'sub DS2490_ST_STFL_HALT () {(1<< 4);}' unless defined(&DS2490_ST_STFL_HALT);
    eval 'sub DS2490_ST_STFL_IDLE () {(1<< 5);}' unless defined(&DS2490_ST_STFL_IDLE);
    eval 'sub DS2490_ST_STFL_EP0F () {(1<< 7);}' unless defined(&DS2490_ST_STFL_EP0F);
    eval 'sub DS2490_ST_STFL_BITS () {"\\020\\001SPUA\\002PRGA\\00312VP\\004PMOD\\005HALT\\006IDLE\\010EP0F";}' unless defined(&DS2490_ST_STFL_BITS);
    eval 'sub DS2490_ST_CC1 () {0x9;}' unless defined(&DS2490_ST_CC1);
    eval 'sub DS2490_ST_CC2 () {0xa;}' unless defined(&DS2490_ST_CC2);
    eval 'sub DS2490_ST_CCBUF () {0xb;}' unless defined(&DS2490_ST_CCBUF);
    eval 'sub DS2490_ST_OBUF () {0xc;}' unless defined(&DS2490_ST_OBUF);
    eval 'sub DS2490_ST_IBUF () {0xd;}' unless defined(&DS2490_ST_IBUF);
    eval 'sub DS2490_ST_END () {0xf;}' unless defined(&DS2490_ST_END);
    eval 'sub DS2490_RES_BEGIN () {0x10;}' unless defined(&DS2490_RES_BEGIN);
    eval 'sub DS2490_RES_END () {0x1f;}' unless defined(&DS2490_RES_END);
    eval 'sub DS2490_RES_DETECT () {0xa5;}' unless defined(&DS2490_RES_DETECT);
    eval 'sub DS2490_NREGS () {( &DS2490_RES_END + 1);}' unless defined(&DS2490_NREGS);
    eval 'sub DS2490_CMDFIFOSIZE () {16;}' unless defined(&DS2490_CMDFIFOSIZE);
    eval 'sub DS2490_DATAFIFOSIZE () {128;}' unless defined(&DS2490_DATAFIFOSIZE);
}
1;
