User manual
Digital port
The three digital IO signals of CEBO-STICK are grouped as one digital port. Therefore
you not only can read/modify the value of one signal line at a time, but also can
read/modify the whole port at once. You can individually define the direction of every
digital IO. As default, all digital IO are set to input mode, with a small pull-down resistor
enabled on each line.
Frames
With CEBO-STICK various sources and sinks of data are available. Besides analog
inputs there exist two general purpose digital IO and a multi-function IO, which can be
configured as trigger input/output or 32bit counter input.
To reduce transmission overhead when accessing the peripherals, rather than assigning
an individual address to each peripheral, data flow from and to CEBO-STICK is
organized as blocks of data. These have known size and structures and are referred to
as "frames".
Depending on the transmission direction, there are InputFrames and OutputFrames. An
InputFrame contains the results of data acquisition, digital inputs and/or counter values,
while an OutputFrame contains data that is sent to the digital outputs.
InputFrame
Setting up an InputFrame is a two-step process: First, build a list of inputs that should
be sampled. This can be any analog input, digital port or counter. Any input can be
selected only once. CEBO-STICK uses a fixed sequence for the processing of selected
inputs, therefore the order of elements within the list does not matter.
Second, set up the InputFrame using the aforementioned list calling setupInputFrame of
the class instance.
OutputFrame
Similarly to the process for InputFrames, the first step for defining an OutputFrame is to
set up a list of all outputs that should be modified using a single write. With CEBO-
STICK there is only one element available to be included in an OutputFrame, the digital
port (do not forget to set the output enable masks for the selected digital IOs). Call
setupOutputFrame using this list to set up the OutputFrame.
CEBO-STICK Reference Manual Cesys GmbH
[ v1.1 ] 16/28