ngc 1.5.0
 
Loading...
Searching...
No Matches
ngcdcsSEQ_EMU Class Reference

#include <ngcdcsSEQ_PRG.hpp>

Public Member Functions

 ngcdcsSEQ_EMU ()
 Constructor.
 
 ngcdcsSEQ_EMU (ngcdcs_seqp_t *prg)
 Constructor with program.
 
virtual ~ngcdcsSEQ_EMU ()
 Destructor.
 
ngcdcs_seqp_tProgram ()
 Return loaded program.
 
void Init ()
 Initialize the emulation and the generic offset.
 
int Instr ()
 Get actual instruction.
 
int Step ()
 Step forward to next pattern execution.
 
void OpenLoop (int cnt)
 One more open loop.
 
int Infinite ()
 Infinite sequence.
 
void BreakPoint ()
 Breakpoint reached.
 
void CloseLoop ()
 Close loop.
 
void Jsr (int addr)
 Jump to subroutine.
 
void Return ()
 Return from subroutine.
 
void Next ()
 Goto next code position.
 
void Goto (int newPos)
 Goto code position.
 
int Error ()
 Check if an error occured.
 
char * ErrMsg ()
 Return pointer to actual error message.
 

Public Attributes

int id
 
int address
 
int counter
 
int infiniteLoopRuns
 
int offset
 

Detailed Description

Sequencer program emulator

Constructor & Destructor Documentation

◆ ngcdcsSEQ_EMU() [1/2]

ngcdcsSEQ_EMU::ngcdcsSEQ_EMU ( )
inline

Constructor.

◆ ngcdcsSEQ_EMU() [2/2]

ngcdcsSEQ_EMU::ngcdcsSEQ_EMU ( ngcdcs_seqp_t * prg)
inlineexplicit

Constructor with program.

◆ ~ngcdcsSEQ_EMU()

virtual ngcdcsSEQ_EMU::~ngcdcsSEQ_EMU ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ BreakPoint()

void ngcdcsSEQ_EMU::BreakPoint ( )
inline

Breakpoint reached.

◆ CloseLoop()

void ngcdcsSEQ_EMU::CloseLoop ( )
inline

Close loop.

◆ ErrMsg()

char * ngcdcsSEQ_EMU::ErrMsg ( )
inline

Return pointer to actual error message.

◆ Error()

int ngcdcsSEQ_EMU::Error ( )
inline

Check if an error occured.

◆ Goto()

void ngcdcsSEQ_EMU::Goto ( int newPos)
inline

Goto code position.

◆ Infinite()

int ngcdcsSEQ_EMU::Infinite ( )
inline

Infinite sequence.

◆ Init()

void ngcdcsSEQ_EMU::Init ( )
inline

Initialize the emulation and the generic offset.

◆ Instr()

int ngcdcsSEQ_EMU::Instr ( )
inline

Get actual instruction.

◆ Jsr()

void ngcdcsSEQ_EMU::Jsr ( int addr)
inline

Jump to subroutine.

◆ Next()

void ngcdcsSEQ_EMU::Next ( )
inline

Goto next code position.

◆ OpenLoop()

void ngcdcsSEQ_EMU::OpenLoop ( int cnt)
inline

One more open loop.

◆ Program()

ngcdcs_seqp_t * ngcdcsSEQ_EMU::Program ( )
inline

Return loaded program.

◆ Return()

void ngcdcsSEQ_EMU::Return ( )
inline

Return from subroutine.

◆ Step()

int ngcdcsSEQ_EMU::Step ( )
inline

Step forward to next pattern execution.

Member Data Documentation

◆ address

int ngcdcsSEQ_EMU::address

◆ counter

int ngcdcsSEQ_EMU::counter

◆ id

int ngcdcsSEQ_EMU::id

◆ infiniteLoopRuns

int ngcdcsSEQ_EMU::infiniteLoopRuns

◆ offset

int ngcdcsSEQ_EMU::offset

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