TwiceAsNice
2019-02-18
|
Public Member Functions | |
def | __init__ (self, ipAddress, bcuUdpPort, localUdpPort, microgateToolsDirectory) |
def | setMessageId (self, id) |
def | writeDsp (self, firstDsp, lastDsp, memoryAddress, value) |
def | readDsp (self, dsp, memoryAddress) |
def | writeSdram (self, firstDsp, lastDsp, memoryAddress, value) |
def | readSdram (self, dsp, memoryAddress) |
def | writeSram (self, firstDsp, lastDsp, memoryAddress, value) |
def | readSram (self, dsp, memoryAddress) |
def | writeCcdi (self, firstDsp, lastDsp, memoryAddress, value) |
def | readCcdi (self, dsp, memoryAddress) |
def | resetDevices (self, firstDsp, lastDsp, values) |
def | enableMasterDiagnostic (self, decimationFactor, remoteIpv4Address, remoteMacAddress, remoteUdpPortNr) |
def | uploadDspCode (self, firstDsp, lastDsp, dspProgramFilePath) |
def | uploadLookUpTable (self, lookUpTableFilePath) |
def | ceiling (self, n, multiple) |
def | __init__ (self, ipAddress, bcuUdpPort, localUdpPort, microgateToolsDirectory) |
def | setMessageId (self, id) |
def | writeDsp (self, firstDsp, lastDsp, memoryAddress, value) |
def | readDsp (self, dsp, memoryAddress) |
def | writeSdram (self, firstDsp, lastDsp, memoryAddress, value) |
def | readSdram (self, dsp, memoryAddress) |
def | writeSram (self, firstDsp, lastDsp, memoryAddress, value) |
def | readSram (self, dsp, memoryAddress) |
def | writeCcdi (self, firstDsp, lastDsp, memoryAddress, value) |
def | readCcdi (self, dsp, memoryAddress) |
def | resetDevices (self, firstDsp, lastDsp, values) |
def | enableMasterDiagnostic (self, decimationFactor, remoteIpv4Address, remoteMacAddress, remoteUdpPortNr) |
def | uploadDspCode (self, firstDsp, lastDsp, dspProgramFilePath) |
def | uploadLookUpTable (self, lookUpTableFilePath) |
def | ceiling (self, n, multiple) |
Static Public Member Functions | |
def | floatToDword (f) |
def | dwordToFloat (dword) |
def | floatToDword (f) |
def | dwordToFloat (dword) |
Public Attributes | |
ipAddress_ | |
bcuPortNr_ | |
localPortNr_ | |
messageId_ | |
microgateToolsDirectory_ | |
preloadedPixelStartAddress_ | |
OFFSET | |
LENGTH | |
Private Member Functions | |
def | _read (self, toolPath, dsp, memoryAddress) |
def | _splitAndWrite (self, toolPath, firstDsp, lastDsp, memoryAddress, values) |
def | _write (self, toolPath, firstDsp, lastDsp, memoryAddress, values) |
def | _invokeProgram (self, commandLine) |
def | _panic (self, message) |
def | _getNextMessageId (self) |
def | _getWriteCommandSplittings (self, startAddress, payload) |
def | _read (self, toolPath, dsp, memoryAddress) |
def | _splitAndWrite (self, toolPath, firstDsp, lastDsp, memoryAddress, values) |
def | _write (self, toolPath, firstDsp, lastDsp, memoryAddress, values) |
def | _invokeProgram (self, commandLine) |
def | _panic (self, message) |
def | _getNextMessageId (self) |
def | _getWriteCommandSplittings (self, startAddress, payload) |
This class provides methods to access the different BCU memory types.
def bcu.Bcu.__init__ | ( | self, | |
ipAddress, | |||
bcuUdpPort, | |||
localUdpPort, | |||
microgateToolsDirectory | |||
) |
def bcu.Bcu.__init__ | ( | self, | |
ipAddress, | |||
bcuUdpPort, | |||
localUdpPort, | |||
microgateToolsDirectory | |||
) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
def bcu.Bcu.ceiling | ( | self, | |
n, | |||
multiple | |||
) |
def bcu.Bcu.ceiling | ( | self, | |
n, | |||
multiple | |||
) |
|
static |
|
static |
def bcu.Bcu.enableMasterDiagnostic | ( | self, | |
decimationFactor, | |||
remoteIpv4Address, | |||
remoteMacAddress, | |||
remoteUdpPortNr | |||
) |
def bcu.Bcu.enableMasterDiagnostic | ( | self, | |
decimationFactor, | |||
remoteIpv4Address, | |||
remoteMacAddress, | |||
remoteUdpPortNr | |||
) |
|
static |
|
static |
def bcu.Bcu.readCcdi | ( | self, | |
dsp, | |||
memoryAddress | |||
) |
def bcu.Bcu.readCcdi | ( | self, | |
dsp, | |||
memoryAddress | |||
) |
def bcu.Bcu.readDsp | ( | self, | |
dsp, | |||
memoryAddress | |||
) |
def bcu.Bcu.readDsp | ( | self, | |
dsp, | |||
memoryAddress | |||
) |
def bcu.Bcu.readSdram | ( | self, | |
dsp, | |||
memoryAddress | |||
) |
def bcu.Bcu.readSdram | ( | self, | |
dsp, | |||
memoryAddress | |||
) |
def bcu.Bcu.readSram | ( | self, | |
dsp, | |||
memoryAddress | |||
) |
def bcu.Bcu.readSram | ( | self, | |
dsp, | |||
memoryAddress | |||
) |
def bcu.Bcu.resetDevices | ( | self, | |
firstDsp, | |||
lastDsp, | |||
values | |||
) |
def bcu.Bcu.resetDevices | ( | self, | |
firstDsp, | |||
lastDsp, | |||
values | |||
) |
def bcu.Bcu.setMessageId | ( | self, | |
id | |||
) |
def bcu.Bcu.setMessageId | ( | self, | |
id | |||
) |
def bcu.Bcu.uploadDspCode | ( | self, | |
firstDsp, | |||
lastDsp, | |||
dspProgramFilePath | |||
) |
def bcu.Bcu.uploadDspCode | ( | self, | |
firstDsp, | |||
lastDsp, | |||
dspProgramFilePath | |||
) |
def bcu.Bcu.uploadLookUpTable | ( | self, | |
lookUpTableFilePath | |||
) |
def bcu.Bcu.uploadLookUpTable | ( | self, | |
lookUpTableFilePath | |||
) |
def bcu.Bcu.writeCcdi | ( | self, | |
firstDsp, | |||
lastDsp, | |||
memoryAddress, | |||
value | |||
) |
def bcu.Bcu.writeCcdi | ( | self, | |
firstDsp, | |||
lastDsp, | |||
memoryAddress, | |||
value | |||
) |
def bcu.Bcu.writeDsp | ( | self, | |
firstDsp, | |||
lastDsp, | |||
memoryAddress, | |||
value | |||
) |
def bcu.Bcu.writeDsp | ( | self, | |
firstDsp, | |||
lastDsp, | |||
memoryAddress, | |||
value | |||
) |
def bcu.Bcu.writeSdram | ( | self, | |
firstDsp, | |||
lastDsp, | |||
memoryAddress, | |||
value | |||
) |
def bcu.Bcu.writeSdram | ( | self, | |
firstDsp, | |||
lastDsp, | |||
memoryAddress, | |||
value | |||
) |
def bcu.Bcu.writeSram | ( | self, | |
firstDsp, | |||
lastDsp, | |||
memoryAddress, | |||
value | |||
) |
def bcu.Bcu.writeSram | ( | self, | |
firstDsp, | |||
lastDsp, | |||
memoryAddress, | |||
value | |||
) |
bcu.Bcu.bcuPortNr_ |
bcu.Bcu.ipAddress_ |
bcu.Bcu.LENGTH |
bcu.Bcu.localPortNr_ |
bcu.Bcu.messageId_ |
bcu.Bcu.microgateToolsDirectory_ |
bcu.Bcu.OFFSET |
bcu.Bcu.preloadedPixelStartAddress_ |