help() – help
Displays board info, names and command list.
Returns 0 always.
delay(ticks) - delay
Waits for ticks time in milliseconds.
Returns ticks.
Expected values:
ticks: [0x1] to [FFFFFFFF]
ior(slot, ioDev) - io read
Returns state of input or output ioDev, if successful.
Expected values:
slot: [0] to [3], depending on the initialized boards
ioDev: Names displayed in help command or XMC1100 Bootkit IO numbers depending on the
initialized boards
iow(slot, ioDev, outState) - io write
Writes outState to output ioDev.
Returns outState, if successful.
Expected values:
slot: [0] to [3], depending on the initialized boards
ioDev: Names displayed in help command or XMC1100 Bootkit IO numbers depending on the
initialized boards
outState: [0] or [1]
iop(slot, ioDev, outState, ticks) - io pulse
Sets ioDev to outState for the time of ticks ms, then sets ioDev to inverse outstate.
Returns ioDev, if successful.
Expected values:
Slot: [0] to [3], depending on the initialized boards
IoDev: Names displayed in help command or XMC1100 Bootkit IO numbers depending on the
initialized boards
OutState: [0] or [1]
Ticks: [1] to [FFFFFFFF]
iowt(slot, ioDev, inState) - io wait
Waits until ioDev has the value of instate.
Returns inState, if successful.
Expected values:
slot: [0] to [3], depending on the initialized boards
ioDev: Names displayed in help command or XMC1100 Bootkit IO numbers depending on the
initialized boards
inState: [0] or [1]
spi(slot, spiDev, out) - spi write
Sends an spi command with content out to device spiDev (normaly 0).
Returns the return value of the previous command, if successful (previous command can be the
watchdog command, if activated).