www.beck-ipc.com

@CHIP-RTOS C Library V2.00 - BIOS API


BIOS_Power_SaveEx

Power save. Only on SC11/SC13

int BIOS_Power_SaveEx ( unsigned char mode );

Parameters

mode

Mode
    0x01: Restore full speed mode
    0x02: Set 1/2 speed mode
    0x04: Set 1/4 speed mode (serial baudrates > 57600 will no longer be accurate)
    0x80: Enter sleep mode (RTOS 1ms timer and time/date will be affected)
    0x81: Wakeup from sleep mode
    0x20: Power down Ethernet controller (no Ethernet communication is possible)
    0x21: Power up Ethernet controller

Return Value

0 if successful

Comments

This function slows down the processor clock and puts the CPU in a powersave mode until the original mode is restored.
Note: Power consumption may differ slightly when the date code of the IPC@CHIP is changed.

RTOS API

This library function invokes a RTOS software interrupt. Refer to this RTOS API function's documentation for more details.


This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document