DUNE: Uniform Navigational Environment  2.4.0
Power::PCTLv2 Namespace Reference

Detailed Description

PCTLv2 is responsible to interact with the second generation of LSTS's power controller device.

Author
Ricardo Martins

Classes

struct  PowerChannel
 
class  PowerChannels
 
struct  Arguments
 
struct  Task
 

Enumerations

enum  Commands {
  CMD_STATE, CMD_PWR_CTL, CMD_PWR_HLT, CMD_PWR_SAVE,
  CMD_LED_CTL, CMD_EEPROM, CMD_TEMP
}
 
enum  Modes {
  PWR_MODE_STAND_BY, PWR_MODE_ON_CPU, PWR_MODE_ON_RADIO, PWR_MODE_ON_ESWITCH,
  PWR_MODE_ON_SAVED, PWR_MODE_ON, PWR_MODE_EMERGENCY_CHECK, PWR_MODE_EMERGENCY_IP,
  PWR_MODE_EMERGENCY, PWR_MODE_OFF_IP
}
 
enum  EEPROM { EEPROM_START, EEPROM_SIZE }
 

Enumeration Type Documentation

Commands to control device.

Enumerator
CMD_STATE 
CMD_PWR_CTL 
CMD_PWR_HLT 
CMD_PWR_SAVE 
CMD_LED_CTL 
CMD_EEPROM 
CMD_TEMP 
Enumerator
EEPROM_START 
EEPROM_SIZE 

Device modes.

Enumerator
PWR_MODE_STAND_BY 

System is standing by.

PWR_MODE_ON_CPU 

Power on sequence: CPU.

PWR_MODE_ON_RADIO 

Power on sequence: Radio.

PWR_MODE_ON_ESWITCH 

Power on sequence: Ethernet Switch.

PWR_MODE_ON_SAVED 

Power on sequence: saved channels.

PWR_MODE_ON 

System is ON.

PWR_MODE_EMERGENCY_CHECK 

System is checking if emergency mode is required.

PWR_MODE_EMERGENCY_IP 

System is about to enter emergency mode.

PWR_MODE_EMERGENCY 

System is in emergency mode.

PWR_MODE_OFF_IP 

System is turning OFF.