All Forums
 Microsoft Windows CE
 CE Sample Applications and Utilities
 Bitsy Plus Power Management test app
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

akidder

1519 Posts

Posted - 02 Apr 2003 :  13:51:15  Show Profile  Email Poster
Bitsy Plus Power Management

The Bitsy Plus can turn off specific subsystems on the board to reduce power consumption. For example, if your application does not use audio, you might turn off power to the audio amplifier. If you are not using a passive LCD, you may turn off the Vee generator.

See the Bitsy Plus User Manual for details about the subsystems that the Bitsy Plus can turn off for power savings.


The sample application in this post illustrates the system calls for turning off the various subsystems. You can use this application to test how much power your system can conserve by turning off systems you don't need.

The application was written with MFC 3.0. To run it under CE.NET, you'll either need to copy MFCCE30.DLL to the Windows folder or recompile it with eVC 4.0.

Key APIs Used

DeviceIoControl()
SIOBackLightON/OFF()
MessageBox()
GetDlgItem()
CheckDlgButton()
SetIcon()

Lines of Code: 401

For further reading, see the CE power management topic index.

Download
Rev 1, 11-Feb-2003 (66kiB zip)

kurtwl

28 Posts

Posted - 05 May 2004 :  12:20:25  Show Profile  Email Poster
The PowerTest application does not seem to work on the BitsyX.
Turn off Com1 and 3, still get RETAILMSG etc
AudioAmps still on etc (can play wavs)

CE Ver 4.10.32

(did not included {ndis.h} as that lead to:
Cannot open include file: 'wdm.h' 'afilter.h')

Would it just be a case of changing the defines in PWR_CTRL.h?

Or is it because the 'sets' are done via DeviceIoControl(m_hWav...
and the 'checks' via DeviceIoControl(m_hPwrOff...?

------------------------------------
Attempt at an answer, part 2.
The sections in the manuals for the Bitsy Plus and BitsyX (5.3.2) say that selective subsystem partitioning is possible. They are, apart from the names, identical at the beginning.

How can I disable the LCD/Monitor/Display on a BitsyX?
Please at least let me know if I have completely missed the point on this (ie it is not possible).

To return to the original question, does the sample run on the BitsyX after a recompile?

Edited by - kurtwl on 31 Aug 2004 10:41:42
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.03 seconds. Snitz Forums 2000