Lantronix XPort Pro LX6 xPort Pro Lx6 - User Guide - Page 40

: Configurable Pin Manager, CPM: Configurable Pins

Page 40 highlights

8: Configurable Pin Manager The Configurable Pin Manager is responsible for assignment and control of the configurable pins (CPs) available on the XPort Pro Lx6 embedded device service. There are three configurable pins on the XPort Pro Lx6. You must configure the CPs by making them part of a group. A CP Group may consist of one or more CPs. This increases flexibility when incorporating the XPort Pro Lx6 into another system. Note: The blue text in the XML command strings of this chapter are to be replaced with a user-specified name. CPM: Configurable Pins Each CP is associated with an external hardware pin. CPs can trigger an outside event, like sending an email message or starting Command Mode on a serial Line. The Current Configuration table shows the current settings for each CP. Table 8-1 Current Configurable Pins CP Ref Configured as Value Groups Active in group CP1 Pin 14 Input 1 2 CP2 Pin 16 Input 1 0 CP3 Pin 18 Input 0 2 Table 8-2 CP Status CPM - CPs Status Name State Type Value Bit Level I/O Logic Description Shows the CP number. Shows the current enable state of the CP. Shows the CP hardware pin type. Can be updated. Choices are:  Input  Output When a CP is configured as output, it can be toggled by setting the value. Whatever value is given, the first bit 0 is used as the setting. 1 means asserted and 0 means de-asserted. Additionally, the CP logic can be inverted so that assertion is low. Shows the last bit in the CP current value. Visual display of the bitwise 32 bit placeholders for a CP. A "+" symbol indicates the CP is asserted (the voltage is high). A "-"indicates the CP voltage is low. Indicates the current status of the pin:  I = input  O = output  = unassigned An "I" indicates the CP is inverted (active low). XPort® Pro Lx6 Embedded Device Server User Guide 40

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74

XPort® Pro Lx6 Embedded Device Server User Guide
40
8:
Configurable Pin Manager
The Configurable Pin Manager is responsible for assignment and control of the configurable pins
(CPs) available on the XPort Pro Lx6 embedded device service. There are three configurable pins
on the XPort Pro Lx6.
You must configure the CPs by making them part of a group.
A CP Group may consist of one or
more CPs. This increases flexibility when incorporating the XPort Pro Lx6 into another system.
Note:
The
blue text
in the XML command strings of this chapter are to be replaced with
a user-specified name.
CPM: Configurable Pins
Each CP is associated with an external hardware pin. CPs can trigger an outside event, like
sending an email message or starting Command Mode on a serial Line.
The Current Configuration table shows the current settings for each CP.
Table 8-1
Current Configurable Pins
Table 8-2
CP Status
CP
Ref
Configured as
Value
Groups
Active in group
CP1
Pin 14
Input
1
2
<available>
CP2
Pin 16
Input
1
0
<available>
CP3
Pin 18
Input
0
2
<available>
CPM – CPs Status
Description
Name
Shows the CP number.
State
Shows the current enable state of the CP.
Type
Shows the CP hardware pin type.
Can be updated.
Choices are:
Input
Output
When a CP is configured as output, it can be toggled by setting the value.
Whatever value is given, the first bit 0 is used as the setting.
1 means asserted
and 0 means de-asserted.
Additionally, the CP logic can be inverted so that
assertion is low.
Value
Shows the last bit in the CP current value.
Bit
Visual display of the bitwise 32 bit placeholders for a CP.
Level
A “
+
” symbol indicates the CP is asserted (the voltage is high). A “
-
“indicates the
CP voltage is low.
I/O
Indicates the current status of the pin:
I
= input
O
= output
<blank>
= unassigned
Logic
An “
I
” indicates the CP is inverted (active low).