PalmLED.h File Reference
Detailed Description
Palm's Generic LED dirver.
- Version:
- 1.0
Pledlib.prc, version 1.0 This file contains the Generic LED driver defines. This driver is a standard libr driver that supports the BT notificaiton led. the interface follows the standard palm unser notification interface.
Future drivers will support multiple Led's.
NOTE: Make sure to check the version number for this driver implementation.
Definition in file PalmLED.h.
Include dependency graph for PalmLED.h:
Go to the source code of this file.
Defines
|
|
|
|
Functions
Define Documentation
| #define kHALLEDCapcitySleepMultiColor 8 |
bit 3 multi-color available bit 4-31 reserved
Definition at line 104 of file PalmLED.h.
| #define kHALLEDCapcitySleepOn 1 |
dataP points to a UInt32 that indicates how flexible the LED during Sleep is, as follows: bit 0 ON during Sleep available
Definition at line 101 of file PalmLED.h.
| #define kHALLEDCapcitySleepPattern 2 |
bit 1 pattern when sleep available.
Definition at line 102 of file PalmLED.h.
| #define kHALLEDCapcitySleepPatternSetting 4 |
bit 2 pattern setting available
Definition at line 103 of file PalmLED.h.
| #define kHALLEDCapcityUnderSleep 11 |
| #define kHALLEDPropertySleepColorAmberWhite 0x40 |
bit 6 - amber/white bit 7-31 reserved
Definition at line 94 of file PalmLED.h.
| #define kHALLEDPropertySleepColorBlue 0x20 |
| #define kHALLEDPropertySleepColorGreen 0x10 |
| #define kHALLEDPropertySleepColorRed 8 |
| #define kHALLEDPropertySleepOn 1 |
dataP points to a UInt32 that indicates how flexible the LED during Sleep is, as follows: bit 0 - ON during sleep
Definition at line 88 of file PalmLED.h.
| #define kHALLEDPropertySleepPattern 2 |
bit 1 - pattern on
Definition at line 89 of file PalmLED.h.
| #define kHALLEDPropertySleepReserve 4 |
bit 2 - reserve
Definition at line 90 of file PalmLED.h.
| #define kHALLEDPropertyUnderSleep 10 |
| #define kPalmLedCreator 'Pled' |
| #define kPalmLedModule 195 |
| #define kPalmLedName "PalmLed" |
| #define kPalmLedTrapGetAttributes (sysLibTrapCustom+0) |
| #define kPalmLedTrapSetAttributes (sysLibTrapCustom+1) |
| #define kPalmLedType sysFileTLibrary |
| #define kPalmLedVersion kPalmLedVersion1 |
| #define kPalmLedVersion1 sysMakeROMVersion(1, 0, 0, sysROMStageRelease, 0) |
Function Documentation
| Err HALAttnGetPalmLedAttributes |
( |
UInt16 |
refnum, |
|
|
UInt32 |
attr, |
|
|
void * |
dataP | |
|
) |
| | |
Standard library function.
- Parameters:
-
| refnum,: | IN: |
| attr,: | IN: |
| dataP,: | IN: |
- Return values:
-
| Err HALAttnSetPalmLedAttributes |
( |
UInt16 |
refnum, |
|
|
UInt32 |
attr, |
|
|
void * |
dataP | |
|
) |
| | |
Standard library function.
- Parameters:
-
| refnum,: | IN: |
| attr,: | IN: |
| dataP,: | IN: |
- Return values:
-
Standard library function.
- Parameters:
-
- Return values:
-
Standard library function.
- Parameters:
-
- Return values:
-
Standard library function.
- Parameters:
-
- Return values:
-
Standard library function.
- Parameters:
-
- Return values:
-