def pportAutoFeed(state):
 global ctrlReg
 if (state == 0):
  ctrlReg = (ctrlReg | 2)
 else:
  ctrlReg = (ctrlReg & (~ 2))
 port.DlPortWritePortUchar(ctrlRegAdrs, ctrlReg)

def pportAutoFeed ( state ) : global ctrlReg if ( state == 0 ) : ctrlReg = ( ctrlReg | 2 ) else : ctrlReg = ( ctrlReg & ( ~ 2 ) ) port . DlPortWritePortUchar ( ctrlRegAdrs , ctrlReg )
toggle control register auto feed bit .