def pportOut(data):
 global dataReg
 port.DlPortWritePortUchar(baseAddress, data)
 dataReg = data

def pportOut ( data ) : global dataReg port . DlPortWritePortUchar ( baseAddress , data ) dataReg = data
data output function .