Expected values:
slot: [0] to [3], depending on the initialized boards, msc is only available for slot [3] on Engine-
Management-Connection-PCB yet
spiDev: [0]
out: [0] to [FFFF] or [0] to [FFFFFFFF], depending on the datawith of the particular Eval-PCB
spis(slot, spiDev, out1, out2, ticks) - spi sequence
Sends two spi commands with a delay of ticks ms to device spiDev (normaly 0).
Returns the return value of the command before the second command, if successful (watchdog
command can be sent between both commands, if activated).
Expected values:
slot: [0] to [3], depending on the initialized boards, msc is only available for slot [3] on Engine-
Management-Connection-PCB yet
spiDev: [0]
outx: [0] to [FFFF] or [0] to [FFFFFFFF], depending on the datawith of the particular Eval-PCB
ticks: [1] to [FFFFFFFF]
spir(slot, spiDev, out, nop) - spi read
Sends two spi commands in quick succession to device spiDev (normaly 0).
In contrast to other spi functions not interrupted by watchdog.
Returns the return value of first command (which is received while sending the second command).
Second command can either be a "no operation" value or another command whose answer is not
needed.
Expected values:
slot: [0] to [3], depending on the initialized boards, msc is only available for slot [3] on Engine-
Management-Connection-PCB yet
spiDev: [0]
out: [0] to [FFFF] or [0] to [FFFFFFFF], depending on the datawith of the particular Eval-PCB
nop: [0] to [FFFF] or [0] to [FFFFFFFF], depending on the datawith of the particular Eval-PCB