EtherCAT "logic". More...
#include <ethercat_AL.h>
Public Member Functions | |
EC_Logic () | |
Constructor. | |
uint8_t | get_idx () |
Get current idx. | |
uint16_t | get_wkc () |
Get wkc (normally always zero, not truly necessary) | |
Static Public Member Functions | |
static EC_Logic * | instance () |
this class is a singleton | |
Public Attributes | |
uint8_t | m_idx |
Index (Increased with each frame the master sends) | |
const uint16_t | m_wkc |
Working Counter. | |
Static Public Attributes | |
static EC_Logic * | m_instance |
Instance. |
Constructor.
uint8_t EC_Logic::get_idx | ( | ) | [inline] |
Get current idx.
Definition at line 85 of file ethercat_AL.h.
uint16_t EC_Logic::get_wkc | ( | ) | [inline] |
Get wkc (normally always zero, not truly necessary)
Definition at line 89 of file ethercat_AL.h.
static EC_Logic* EC_Logic::instance | ( | ) | [static] |
this class is a singleton
uint8_t EC_Logic::m_idx |
Index (Increased with each frame the master sends)
Definition at line 83 of file ethercat_AL.h.
EC_Logic* EC_Logic::m_instance [static] |
Instance.
Definition at line 79 of file ethercat_AL.h.
const uint16_t EC_Logic::m_wkc |
Working Counter.
Definition at line 81 of file ethercat_AL.h.