SRD Standelone programmation box: tPowerManagerCtrl Struct Reference

| SRD Standelone programmation box 2.0 (16/11/15 10:00:00) Documentation of the SRD standelone programmation box

- Main Page
- Data Structures
- Files

- Data Structures
- Data Structure Index
- Data Fields

All Data Structures Files Functions Variables Enumerations Enumerator Macros Pages
Data Fields
tPowerManagerCtrl Struct Reference

Define a structure used by the power manager to control power modes. More...

`#include "PowerManager.h"`

## Data Fields

union {
struct {
unsigned short usbConnected: 1
unsigned short batteryError: 1
unsigned short batteryCharging: 1
unsigned short RSVD: 13
} bits
unsigned short all
} | flags

## Detailed Description

Define a structure used by the power manager to control power modes.

Definition at line 60 of file PowerManager.h.

## Field Documentation

unsigned short tPowerManagerCtrl::all

global access mode

Definition at line 68 of file PowerManager.h.

Referenced by PowerManagerInit().

unsigned short tPowerManagerCtrl::batteryCharging

battery is charging

Definition at line 65 of file PowerManager.h.

unsigned short tPowerManagerCtrl::batteryError

battery error detected

Definition at line 64 of file PowerManager.h.

struct { ... } tPowerManagerCtrl::bits

bit access mode

Referenced by ButtonManager(), PowerManager(), and PowerManagerLPMController().

union { ... } tPowerManagerCtrl::flags

flags

Referenced by ButtonManager(), PowerManager(), PowerManagerInit(), and PowerManagerLPMController().

unsigned short tPowerManagerCtrl::RSVD

RESERVED

Definition at line 66 of file PowerManager.h.

unsigned short tPowerManagerCtrl::usbConnected

usb bus is conencted

Definition at line 63 of file PowerManager.h.

The documentation for this struct was generated from the following file:

- PowerManager.h