Classes | Defines | Enumerations
Phidget LED
Specific Phidgets
Collaboration diagram for Phidget LED:

Classes

struct  CPhidgetLEDInfo

Defines

#define LED64_CONTROL_PACKET   0x40
#define LED64_CURSELA_FLAG   0x02
#define LED64_CURSELB_FLAG   0x04
#define LED64_FAULT_FLAG   0x20
#define LED64_IN_HIGH_PACKET   0x80
#define LED64_IN_LOW_PACKET   0x00
#define LED64_M3_CONTROL_PACKET   0x40
#define LED64_M3_CURRENTLIMIT   80
#define LED64_M3_IN_HIGH_PACKET   0x20
#define LED64_M3_IN_LOW_PACKET   0x00
#define LED64_M3_IN_MISC_PACKET   0x40
#define LED64_M3_OUT_HIGH_PACKET   0x20
#define LED64_M3_OUT_LOW_PACKET   0x00
#define LED64_NORMAL_PACKET   0x00
#define LED64_OE_FLAG   0x40
#define LED64_OUTHIGH_PACKET   0xc0
#define LED64_OUTLOW_PACKET   0x80
#define LED64_PGOOD_FLAG   0x01
#define LED64_PWRSELA_FLAG   0x08
#define LED64_PWRSELB_FLAG   0x10
#define LED_MAXLEDS   64

Enumerations

enum  CPhidgetLED_CurrentLimit {
  PHIDGET_LED_CURRENT_LIMIT_20mA = 1, PHIDGET_LED_CURRENT_LIMIT_40mA, PHIDGET_LED_CURRENT_LIMIT_60mA, PHIDGET_LED_CURRENT_LIMIT_80mA,
  PHIDGET_LED_CURRENT_LIMIT_20mA = 1, PHIDGET_LED_CURRENT_LIMIT_40mA, PHIDGET_LED_CURRENT_LIMIT_60mA, PHIDGET_LED_CURRENT_LIMIT_80mA
}
enum  CPhidgetLED_Voltage {
  PHIDGET_LED_VOLTAGE_1_7V = 1, PHIDGET_LED_VOLTAGE_2_75V, PHIDGET_LED_VOLTAGE_3_9V, PHIDGET_LED_VOLTAGE_5_0V,
  PHIDGET_LED_VOLTAGE_1_7V = 1, PHIDGET_LED_VOLTAGE_2_75V, PHIDGET_LED_VOLTAGE_3_9V, PHIDGET_LED_VOLTAGE_5_0V
}

Detailed Description

These calls are specific to the Phidget LED object. See your device's User Guide for more specific API details, technical information, and revision details. The User Guide, along with other resources, can be found on the product page for your device.


Define Documentation

#define LED64_CONTROL_PACKET   0x40

Definition at line 105 of file cphidgetled.h.

#define LED64_CURSELA_FLAG   0x02

Definition at line 123 of file cphidgetled.h.

#define LED64_CURSELB_FLAG   0x04

Definition at line 124 of file cphidgetled.h.

#define LED64_FAULT_FLAG   0x20

Definition at line 127 of file cphidgetled.h.

#define LED64_IN_HIGH_PACKET   0x80

Definition at line 115 of file cphidgetled.h.

#define LED64_IN_LOW_PACKET   0x00

Definition at line 114 of file cphidgetled.h.

#define LED64_M3_CONTROL_PACKET   0x40

Definition at line 111 of file cphidgetled.h.

#define LED64_M3_CURRENTLIMIT   80

Definition at line 131 of file cphidgetled.h.

#define LED64_M3_IN_HIGH_PACKET   0x20

Definition at line 118 of file cphidgetled.h.

#define LED64_M3_IN_LOW_PACKET   0x00

Definition at line 117 of file cphidgetled.h.

#define LED64_M3_IN_MISC_PACKET   0x40

Definition at line 119 of file cphidgetled.h.

#define LED64_M3_OUT_HIGH_PACKET   0x20

Definition at line 110 of file cphidgetled.h.

#define LED64_M3_OUT_LOW_PACKET   0x00

Definition at line 109 of file cphidgetled.h.

#define LED64_NORMAL_PACKET   0x00

Definition at line 104 of file cphidgetled.h.

#define LED64_OE_FLAG   0x40

Definition at line 128 of file cphidgetled.h.

#define LED64_OUTHIGH_PACKET   0xc0

Definition at line 107 of file cphidgetled.h.

#define LED64_OUTLOW_PACKET   0x80

Definition at line 106 of file cphidgetled.h.

#define LED64_PGOOD_FLAG   0x01

Definition at line 122 of file cphidgetled.h.

#define LED64_PWRSELA_FLAG   0x08

Definition at line 125 of file cphidgetled.h.

#define LED64_PWRSELB_FLAG   0x10

Definition at line 126 of file cphidgetled.h.

#define LED_MAXLEDS   64

Gets the number of LEDs supported by this board.

Parameters:
phidAn attached phidget LED handle.
countThe led count. Gets the current limit. This is for all ouputs.
phidAn attached phidget LED handle.
currentLimitThe Current Limit. Sets the current limit. This is for all ouputs.
phidAn attached phidget LED handle.
currentLimitThe Current Limit. Gets the output voltate. This is for all ouputs.
phidAn attached phidget LED handle.
voltageThe Output Voltage. Sets the output voltage. This is for all ouputs.
phidAn attached phidget LED handle.
voltageThe Output Voltage. Gets the brightness of an LED.
phidAn attached phidget LED handle.
indexThe LED index.
brightnessThe LED brightness (0-100). Sets the brightness of an LED.
phidAn attached phidget LED handle.
indexThe LED index.
brightnessThe LED brightness (0-100). Gets the current limit of an LED.
phidAn attached phidget LED handle.
indexThe LED index.
limitThe LED current limit (0-80 mA). Sets the current limit of an LED.
phidAn attached phidget LED handle.
indexThe LED index.
limitThe LED current limit (0-80 mA).

Definition at line 101 of file cphidgetled.h.


Enumeration Type Documentation

The Phidget LED supports these current limits

Enumerator:
PHIDGET_LED_CURRENT_LIMIT_20mA 

20mA

PHIDGET_LED_CURRENT_LIMIT_40mA 

40mA

PHIDGET_LED_CURRENT_LIMIT_60mA 

60mA

PHIDGET_LED_CURRENT_LIMIT_80mA 

80mA

PHIDGET_LED_CURRENT_LIMIT_20mA 
PHIDGET_LED_CURRENT_LIMIT_40mA 
PHIDGET_LED_CURRENT_LIMIT_60mA 
PHIDGET_LED_CURRENT_LIMIT_80mA 

Definition at line 17 of file cphidgetled.h.

The Phidget LED supports these voltages

Enumerator:
PHIDGET_LED_VOLTAGE_1_7V 

1.7V

PHIDGET_LED_VOLTAGE_2_75V 

2.75V

PHIDGET_LED_VOLTAGE_3_9V 

3.9V

PHIDGET_LED_VOLTAGE_5_0V 

5.0V

PHIDGET_LED_VOLTAGE_1_7V 
PHIDGET_LED_VOLTAGE_2_75V 
PHIDGET_LED_VOLTAGE_3_9V 
PHIDGET_LED_VOLTAGE_5_0V 

Definition at line 26 of file cphidgetled.h.



pedal_monitor
Author(s): Pedro Mendes
autogenerated on Fri Jun 6 2014 18:37:22