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

def pportInitOut ( state ) : global ctrlReg if ( state == 0 ) : ctrlReg = ( ctrlReg & ( ~ 4 ) ) else : ctrlReg = ( ctrlReg | 4 ) port . DlPortWritePortUchar ( ctrlRegAdrs , ctrlReg )
toggle control register initialize bit .