require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&LE_R1_OWN)) {
    sub LE_R1_OWN () {	(1<<31);}
}
unless(defined(&LE_R1_ERR)) {
    sub LE_R1_ERR () {	(1<<30);}
}
unless(defined(&LE_R1_FRAM)) {
    sub LE_R1_FRAM () {	(1<<29);}
}
unless(defined(&LE_R1_OFLO)) {
    sub LE_R1_OFLO () {	(1<<28);}
}
unless(defined(&LE_R1_CRC)) {
    sub LE_R1_CRC () {	(1<<27);}
}
unless(defined(&LE_R1_BUFF)) {
    sub LE_R1_BUFF () {	(1<<26);}
}
unless(defined(&LE_R1_STP)) {
    sub LE_R1_STP () {	(1<<25);}
}
unless(defined(&LE_R1_ENP)) {
    sub LE_R1_ENP () {	(1<<24);}
}
unless(defined(&LE_R1_ONES)) {
    sub LE_R1_ONES () {	(0xf<<12);}
}
unless(defined(&LE_R1_BCNT_MASK)) {
    sub LE_R1_BCNT_MASK () {	(0xfff);}
}
unless(defined(&LE_R1_BITS)) {
    sub LE_R1_BITS () {	"\20\40OWN\37ERR\36FRAM\35OFLO\34CRC\33BUFF\32STP\31ENP";}
}
unless(defined(&LE_T1_OWN)) {
    sub LE_T1_OWN () {	(1<<31);}
}
unless(defined(&LE_T1_ERR)) {
    sub LE_T1_ERR () {	(1<<30);}
}
unless(defined(&LE_T1_ADD_FCS)) {
    sub LE_T1_ADD_FCS () {	(1<<29);}
}
unless(defined(&LE_T1_NO_FCS)) {
    sub LE_T1_NO_FCS () {	(1<<29);}
}
unless(defined(&LE_T1_MORE)) {
    sub LE_T1_MORE () {	(1<<28);}
}
unless(defined(&LE_T1_LTINT)) {
    sub LE_T1_LTINT () {	(1<<28);}
}
unless(defined(&LE_T1_ONE)) {
    sub LE_T1_ONE () {	(1<<27);}
}
unless(defined(&LE_T1_DEF)) {
    sub LE_T1_DEF () {	(1<<26);}
}
unless(defined(&LE_T1_STP)) {
    sub LE_T1_STP () {	(1<<25);}
}
unless(defined(&LE_T1_ENP)) {
    sub LE_T1_ENP () {	(1<<24);}
}
unless(defined(&LE_T1_ONES)) {
    sub LE_T1_ONES () {	(0xf<<12);}
}
unless(defined(&LE_T1_BCNT_MASK)) {
    sub LE_T1_BCNT_MASK () {	(0xfff);}
}
unless(defined(&LE_T1_BITS)) {
    sub LE_T1_BITS () {	"\20\40OWN\37ERR\36RES\35MORE\34ONE\33DEF\32STP\31ENP";}
}
unless(defined(&LE_T2_BUFF)) {
    sub LE_T2_BUFF () {	(1<<31);}
}
unless(defined(&LE_T2_UFLO)) {
    sub LE_T2_UFLO () {	(1<<30);}
}
unless(defined(&LE_T2_EXDEF)) {
    sub LE_T2_EXDEF () {	(1<<29);}
}
unless(defined(&LE_T2_LCOL)) {
    sub LE_T2_LCOL () {	(1<<28);}
}
unless(defined(&LE_T2_LCAR)) {
    sub LE_T2_LCAR () {	(1<<27);}
}
unless(defined(&LE_T2_RTRY)) {
    sub LE_T2_RTRY () {	(1<<26);}
}
if(0) {
    eval 'sub LE_T3_TDR_MASK () {0x3ff;}' unless defined(&LE_T3_TDR_MASK);
}
unless(defined(&LE_T3_BITS)) {
    sub LE_T3_BITS () {	"\12\40BUFF\37UFLO\35LCOL\34LCAR\33RTRY";}
}
1;
