User Manual
PoKeys user manual
27
www.poscope.com
There are 6 main pin functions possible: inactive, digital input, triggered digital input, digital output,
analog input, depending on the capabilities of each pin.
Inactive
Any pin (except those fixly mapped to an activated peripheral) can be set as inactive. Inactive pin is
put in high-Z state with internal pull-up resistors enabled.
Digital input
Any free pin can be configured as digital input by selecting ‘Digital input’ option box. If the pin
polarity is wished to be inverted, check the 'Invert pin' box.
There are several additional possibilities for digital input pin functions.
Direct key mapping – only if connected over USB
Digital input set up for direct key mapping acts like a keyboard key. When there is a high state on pin
(on low state when using inverted option), PoKeys device sends a key associated with this pin. Select
a keyboard key from drop-down box and check appropriate key modifiers (Shift, Ctrl, …).
Triggered digital input
Triggered digital input function is activated by selecting ‘Triggered input’ option box. This pin mode
enables user to select a key that is pressed only when a transition in a signal occurs. Different keys
can be selected for ‘LOW-to-HIGH’ or ‘Key up’ event and for ‘HIGH-to-LOW’ or ‘Key down’ event.
Selecting the keys is similar to Direct key mapping described above.
Digital output
Most of the available pins (check the pin capabilities in device pinout section of this manual) can be
configured as digital output by selecting ‘Digital output’ option box. If the polarity of the pin is wished
to be inverted, check the 'Invert pin' box. On startup, all pins (although optionally configured as
digital output) are by default initialized in high-Z state (behaving like inputs). To use the outputs,
SetPinData should be called before attempting to set the output state. However, there is an option to
disable this behaviour - use the ‘Settings > Initialize outputs on startup’ option to either enable or
disable output activation on PoKeys startup.
View status of digital inputs and outputs
Go to ‘Peripherals > Digital inputs and outputs…’ to display the status dialog as shown below.
Figure 2: Input and output status dialog










