User's Manual
Datalogic Scanning, Inc
959 Terry Street
Eugene, Oregon 97402
Page 88 10/23/2009
Revision X2
Default value maps to:
{ WIRELESS_CONTROLLER, RF_CONTROLLER, BLUETOOTH_PROGRAMMING }.
This value is only used if the chip is presenting its USB interface. See the description of
PSKEY_HOST_INTERFACE
.
Key Name Key Number Type Default Setting
PSKEY_USB_SUSPEND_PIO_LEVEL 0x02d5 uint16 0
This description covers PSKEY_USB_SUSPEND_PIO_LEVEL, PSKEY_USB_SUSPEND_PIO_DIR,
PSKEY_USB_SUSPEND_PIO_MASK
.
To ensure that the limit on power drawn in suspend mode for a bus-powered device is met, BlueCore
usually sets all PIO lines to low. However, this may not always be correct and this set of PS keys allows the
configuration to be set.
PSKEY_USB_SUSPEND_PIO_MASK
indicates which PIOs should be set when in suspend mode. A 1 in
the mask indicates a PIO line to be set according to the corresponding bits in
PSKEY_USB_SUSPEND_PIO_LEVEL
and PSKEY_USB_SUSPEND_PIO_DIR; a 0 indicates a PIO line
that will be left alone.
For each bit that is set to 1 in PSKEY_SUB_SUSPEND_PIO_MASK, a 0 (1) for the corresponding bit in
PSKEY_USB_SUSPEND_PIO_LEVEL
indicates that the line should be set low (high), and a 0 (1) for the
corresponding bit in PSKEY_USB_SUSPEND_PIO_DIR indicates that the line will be set for input
(output). Note that from BlueCore2 on if a line is set for input the level is still useful: it determines whether
a weak pull-up or pull-down will be applied. Therefore for BlueCore 1,
PSKEY_USB_SUSPEND_PIO_DIR
is not used and any line to be driven is set for output.
Any PIO line configured via PSKEY_USB_PIO_PULLUP
is handled separately; the bit does not need to
be set in any of these three PSKEYs. The keys apply to a bus-powered USB device only; on a self-powered
USB device the PIO lines are not modified in suspend mode.
The names of these keys are misleading as the same facilities are used to handle
BCCMDVARID_WARM_HALT and BCCMDVARID_COLD_HALT, regardless of the host transport.
Key Name Key Number Type Default Setting
PSKEY_USB_SUSPEND_PIO_DIR 0x02d6 uint16 0
See PSKEY_USB_SUSPEND_PIO_LEVEL.
Key Name Key Number Type Default Setting
PSKEY_USB_SUSPEND_PIO_MASK 0x02d7 uint16 0xffff
See PSKEY_USB_SUSPEND_PIO_LEVEL.
Key Name Key
Number
Type Default Setting
PSKEY_USB_ENDPOINT_0_MAX_PACKET_SIZE 0x02d8 uint8 64
The bMaxPacketSize0 field of the USB Standard Device Descriptor, as defined in Table 9.7 of version 1.1