-VNG, S-CAT2, and - S3
Hardware Information for Power and I/O


External D-9 connector pinout


- VNG

Not applicable: It uses Molex 18 pin (2 X 9) Connector


S-CAT2 and - S3

Pin # Input/Output Assignment
01InputInput 1
02InputInput 2
03InputInput 3
04 na Not connected
05 V- IN/GND
06 V+ IN (Vehicle Power)
07OutputOutput 1, Low Side output, 1 Amp maximum sink capability
08OutputOutput 2, Low Side output, 1 Amp maximum sink capability
09 V- IN/GND

Special Features (Jumper Settings)

Any of the 3 inputs can be configured via internal jumpers to cause a power-up event on either rising or falling logical edge. JP100, JP101, and JP102 correspond with input channels 1, 2, and 3. Placing the jumper in the position towards the back panel selects falling-edge power-on on that channel. A jumper towards the front panel selects rising-edge power-on.

Inputs can be treated both as immediate values (the driver returns the current state) or edge detectors (the driver returns a latched edge and can clear such events on demand).

The cause of the power-up (one of three input channels or the power button) is available to software. See the IOCTL definitions below for more information.

The Power Interrupt (PWR INT) jumper controls whether power is supplied to the unit. Removing the jumper disconnects the supplied power source. The Power Lock (PWR LOCK) jumper bypasses the main push-button power switch providing a constant power supply.

The following internal pins are also available:
GNDGround
VBAT+Voltage Supply
12Connects to pin 12 on the SW-CAN/HS-CAN connector
13Connects to pin 13 on the SW-CAN/HS-CAN connector

Event definitions

No events presently defined



IOCTL definitions

These values are used with the ioctl() function in a program running on a . Three devices are used to access the power and I/O functions present on the . They are /gryphon/dev/gpwr, /gryphon/dev/ginp and /gryphon/dev/goutp.
Please see the include file dev_pwr.h for numeric values of IOCTLS.

IOCTLS for /gryphon/dev/gpwr
IOCTL name Function Data field length/purpose
GPWRGETWHICH Get the input that caused the power to be turned on. 1 data byte:
  • bit 0 - input 1
  • bit 1 - input 2
  • bit 2 - input 3
  • bit 3 - Push Button
GPWROFF Turn off power Turns off power immediately. Use with caution!
GPWROFFRESET Power off or Reset Turns off power immediately unless one or more digital inputs are active. If one ore more digital inputs are active, the system is rebooted. Use with caution!
GPWRRESET Reset the system Resets the system immediately. (Stops the system immediately and reboots.) Use with caution!

IOCTLS for /gryphon/dev/ginp
IOCTL name Function Data field length/purpose
GINPGETINP Get the current state of the inputs. 1 data byte:
  • bit 0 - input 1
  • bit 1 - input 2
  • bit 2 - input 3
  • bit 3 - Push Button
GINPGETLATCH Get the current state of the latched inputs. 1 data byte:
  • bit 0 - input 1
  • bit 1 - input 2
  • bit 3 - input 3
GINPCLRLATCH Get the current state of the latched inputs and clear one or more latched inputs. 1 data byte: (On entry, this is used to specify which latched inputs are to be cleared. On exit, it contains the status of the latched inputs when called.)
  • bit 0 - input 1
  • bit 1 - input 2
  • bit 3 - input 3

IOCTLS for /gryphon/dev/goutp
IOCTL name Function Data field length/purpose
GOUTGET Get the current state of the outputs. 1 data byte:
  • bit 0 - output 1
  • bit 1 - output 2
GOUTSET Set the state of the outputs. 1 data byte:
  • bit 0 - output 1
  • bit 1 - output 2
GOUTSETBIT Set the indicated output(s) on. (Set it/them to the One state.) 1 data byte:
  • bit 0 - output 1
  • bit 1 - output 2
GOUTCLEARBIT Set the indicated output(s) off. (Set it/them to the Zero state.) 1 data byte:
  • bit 0 - output 1
  • bit 1 - output 2