pflib v3.9.0-rc3-11-g2537d8f
Pretty Fine HGCROC Interaction Library
Loading...
Searching...
No Matches
econ.cxx File Reference

ECON menu commands and support functions. More...

#include "./econ_snapshot.h"
#include "pftool.h"
Include dependency graph for econ.cxx:

Functions

void print_econs (Target *tgt)
 print available econ IDs and their types
 
static void econ_render (Target *tgt)
 Simply print the currently selective ECON so that user is aware which ECON they are interacting with by default.
 
static void econ_expert_render (Target *tgt)
 Extra instruction for user.
 
static void econ_expert (const std::string &cmd, Target *tgt)
 ECON.EXPERT menu commands.
 
static void econ_status (const std::string &cmd, Target *tgt)
 
static void econ (const std::string &cmd, Target *pft)
 ECON menu commands.
 

Detailed Description

ECON menu commands and support functions.

Function Documentation

◆ econ()

static void econ ( const std::string & cmd,
Target * pft )
static

ECON menu commands.

When necessary, the ECON interaction object pflib::ECON is created via pflib::Target::econ with the currently active econ.

Commands

  • HARDRESET : pflib::Target::hardResetECONs
  • SOFTRESET : pflib::Target::softResetECON with which=-1
  • IECON : Change which ECON to focus on
  • PAGE_NAMES : Use pflib::parameters to get list ECON page names
  • PARAM_NAMES : Use pflib::parameters to get list ECON parameter names
  • RUNMODE : enable run bit on the ECON
  • POKE : pflib::ECON::applyParameter
  • LOAD : Load parameters from a YAML file
  • READ : pflib::ECON::readParameter
  • READCONFIG : Read parameters from a YAML file
  • DUMP : pflib::ECON::dumpSettings with decompile=true
  • ECON_SNAPSHOT : Outputs snapshot of ECON channels
Parameters
[in]cmdECON command
[in]pftactive target

◆ econ_expert()

static void econ_expert ( const std::string & cmd,
Target * tgt )
static

ECON.EXPERT menu commands.

Detailed interaction with ECON doing things like interacting with the registers that hold the ECON-D/ECON-T parameters without using the compiler

Commands

  • READ : read a specific register
  • WRITE : write to a specific register

◆ econ_render()

static void econ_render ( Target * tgt)
static

Simply print the currently selective ECON so that user is aware which ECON they are interacting with by default.

Parameters
[in]pftactive target (not used)