
Chapter 9: Card Slots
Controlling Power to the Card Slots
71
Psion Mobile Devices Developers Guide
Workabout Pro
3
On the WORKABOUT PRO, when the PCMCIA slot is not installed, calls to the power state setting method
for PCMCIA Slot1 throw an exception.
9.1.1 Controlling Power to the Card Slots
Power to software-controllable card slots is controlled using the following processes:
• Through the GUI Power Properties applet.
• Through application software using the SDK.
• Through application software using the HDK.
The power state can be set by either method. The most recently set state, from whichever source, applies.
9.1.1.1 Controlling Power Through the GUI
Power to the software-controllable card slots can be controlled through the GUI. Psion hand-held
computers have a Power icon on the GUI. Selecting this icon opens the Power Properties window, which has
several different tabs. Select the Card Slots tab. For each card slot on the hand-held computer the following
are listed:
• The name of the card slot.
•One of:
- The name of the peripheral occupying the card slot.
- Disabled.
-Empty Slot.
• A checkbox indicating whether the card slot is enabled or disabled.
Click on the checkbox to toggle the power state of the card slot. Changes do not take effect until you click
the Apply button.
Refer to the user manual for the Psion hand-held or vehicle-mount computer for more details.
9.1.1.2 Controlling Power Through the SDK
Each of the API libraries has methods for the following (refer to the documentation for the relevant API
library for more details):
Card Slot Type SDK Hardware Name
Software Control Of
Power State
Cards Accepted
SD-MMC SD-MMC Yes SD card (memory only)
MMC card (memory only)
CF PCMCIA Slot0 Ye s CF card
PCMCIA
(upgradable on 100-pin
connector)
PCMCIA Slot1
3
Yes PCMCIA card
Method Purpose Input & Output
Set the power state Input: <Hardware name> and <Power state>
Get the power state Input: <Hardware name>
Output: <Power state>
Where: <Hardware name> identifies the card slot. See Section 9.1 Card Slots on page 69 for valid values.
<Power state> has one of the following values:
PowerState_Off
PowerState_On
PowerState_Unknown (only valid when querying the power state)
Comentarios a estos manuales