Advanced Robot Control System  5.1-REV.51SF170515
ARCS::PCI6205C クラス

#include <PCI-6205C.hh>

公開メンバ関数

 PCI6205C (const unsigned int Addr0, const unsigned int Addr1, const unsigned int Addr2, const unsigned int Addr3, unsigned int NumOfChannel, bool Mult4Mode)
 
 ~PCI6205C ()
 
void ZpulseClear (bool flag)
 
void GetCount (long count[MAX_CH])
 

静的公開変数類

static const unsigned int MAX_CH = 8
 

非公開メンバ関数

 PCI6205C (const PCI6205C &)
 
const PCI6205Coperator= (const PCI6205C &)
 
void Settings (bool Mult4Mode)
 
void Zero (void)
 
long GetEncData (unsigned int ch)
 
void SetEncData (long count, unsigned int ch)
 
void SetCompData (long count, unsigned int ch)
 
void ReadStatusReg (void)
 
bool GetDirectionFlag (unsigned int ch)
 
bool GetCarryBorrowFlag (unsigned int ch)
 
bool GetEquDetectionFlag (unsigned int ch)
 
void LatchCounter (void)
 
void SelectCounter (unsigned int ch)
 
void SelectComparator (unsigned int ch)
 

静的非公開メンバ関数

static long ProcessCounterSign (long count)
 
static unsigned long IIIbyteCat (unsigned short High, unsigned short Middle, unsigned short Low)
 
static uint8_t Get4byteHiHi (uint32_t in)
 
static uint8_t Get4byteHiLo (uint32_t in)
 
static uint8_t Get4byteLoHi (uint32_t in)
 
static uint8_t Get4byteLoLo (uint32_t in)
 
static bool GetBitStatus (uint8_t in, uint8_t bit)
 

非公開変数類

const unsigned int NUM_CH
 
const unsigned int ADDR_BASE0
 
const unsigned int ADDR_BASE1
 
const unsigned int ADDR_BASE2
 
const unsigned int ADDR_BASE3
 
unsigned int ADDR_COUNTER_LO [MAX_CH] = {0}
 
unsigned int ADDR_COUNTER_MD [MAX_CH] = {0}
 
unsigned int ADDR_COUNTER_HI [MAX_CH] = {0}
 
unsigned int ADDR_WRITEREG [MAX_CH] = {0}
 
unsigned int ADDR_STATUS [MAX_CH] = {0}
 
uint8_t StatusReg [MAX_CH] = {0}
 
long NumOfRotation [MAX_CH] = {0}
 
long PrevCount [MAX_CH] = {0}
 

構築子と解体子

§ PCI6205C() [1/2]

PCI6205C::PCI6205C ( const unsigned int  Addr0,
const unsigned int  Addr1,
const unsigned int  Addr2,
const unsigned int  Addr3,
unsigned int  NumOfChannel,
bool  Mult4Mode 
)
呼び出し関係図:

§ ~PCI6205C()

PCI6205C::~PCI6205C ( )
呼び出し関係図:

§ PCI6205C() [2/2]

ARCS::PCI6205C::PCI6205C ( const PCI6205C )
private

関数詳解

§ Get4byteHiHi()

uint8_t PCI6205C::Get4byteHiHi ( uint32_t  in)
staticprivate

§ Get4byteHiLo()

uint8_t PCI6205C::Get4byteHiLo ( uint32_t  in)
staticprivate
被呼び出し関係図:

§ Get4byteLoHi()

uint8_t PCI6205C::Get4byteLoHi ( uint32_t  in)
staticprivate
被呼び出し関係図:

§ Get4byteLoLo()

uint8_t PCI6205C::Get4byteLoLo ( uint32_t  in)
staticprivate
被呼び出し関係図:

§ GetBitStatus()

bool PCI6205C::GetBitStatus ( uint8_t  in,
uint8_t  bit 
)
staticprivate
被呼び出し関係図:

§ GetCarryBorrowFlag()

bool PCI6205C::GetCarryBorrowFlag ( unsigned int  ch)
private
呼び出し関係図:

§ GetCount()

void PCI6205C::GetCount ( long  count[MAX_CH])
呼び出し関係図:

§ GetDirectionFlag()

bool PCI6205C::GetDirectionFlag ( unsigned int  ch)
private
呼び出し関係図:

§ GetEncData()

long PCI6205C::GetEncData ( unsigned int  ch)
private
呼び出し関係図:
被呼び出し関係図:

§ GetEquDetectionFlag()

bool PCI6205C::GetEquDetectionFlag ( unsigned int  ch)
private
呼び出し関係図:

§ IIIbyteCat()

unsigned long PCI6205C::IIIbyteCat ( unsigned short  High,
unsigned short  Middle,
unsigned short  Low 
)
staticprivate
被呼び出し関係図:

§ LatchCounter()

void PCI6205C::LatchCounter ( void  )
private
被呼び出し関係図:

§ operator=()

const PCI6205C& ARCS::PCI6205C::operator= ( const PCI6205C )
private

§ ProcessCounterSign()

long PCI6205C::ProcessCounterSign ( long  count)
staticprivate
被呼び出し関係図:

§ ReadStatusReg()

void PCI6205C::ReadStatusReg ( void  )
private

§ SelectComparator()

void PCI6205C::SelectComparator ( unsigned int  ch)
private
被呼び出し関係図:

§ SelectCounter()

void PCI6205C::SelectCounter ( unsigned int  ch)
private
被呼び出し関係図:

§ SetCompData()

void PCI6205C::SetCompData ( long  count,
unsigned int  ch 
)
private
呼び出し関係図:
被呼び出し関係図:

§ SetEncData()

void PCI6205C::SetEncData ( long  count,
unsigned int  ch 
)
private
呼び出し関係図:
被呼び出し関係図:

§ Settings()

void PCI6205C::Settings ( bool  Mult4Mode)
private
呼び出し関係図:
被呼び出し関係図:

§ Zero()

void PCI6205C::Zero ( void  )
private
呼び出し関係図:
被呼び出し関係図:

§ ZpulseClear()

void PCI6205C::ZpulseClear ( bool  flag)
被呼び出し関係図:

メンバ詳解

§ ADDR_BASE0

const unsigned int ARCS::PCI6205C::ADDR_BASE0
private

§ ADDR_BASE1

const unsigned int ARCS::PCI6205C::ADDR_BASE1
private

§ ADDR_BASE2

const unsigned int ARCS::PCI6205C::ADDR_BASE2
private

§ ADDR_BASE3

const unsigned int ARCS::PCI6205C::ADDR_BASE3
private

§ ADDR_COUNTER_HI

unsigned int ARCS::PCI6205C::ADDR_COUNTER_HI[MAX_CH] = {0}
private

§ ADDR_COUNTER_LO

unsigned int ARCS::PCI6205C::ADDR_COUNTER_LO[MAX_CH] = {0}
private

§ ADDR_COUNTER_MD

unsigned int ARCS::PCI6205C::ADDR_COUNTER_MD[MAX_CH] = {0}
private

§ ADDR_STATUS

unsigned int ARCS::PCI6205C::ADDR_STATUS[MAX_CH] = {0}
private

§ ADDR_WRITEREG

unsigned int ARCS::PCI6205C::ADDR_WRITEREG[MAX_CH] = {0}
private

§ MAX_CH

const unsigned int ARCS::PCI6205C::MAX_CH = 8
static

§ NUM_CH

const unsigned int ARCS::PCI6205C::NUM_CH
private

§ NumOfRotation

long ARCS::PCI6205C::NumOfRotation[MAX_CH] = {0}
private

§ PrevCount

long ARCS::PCI6205C::PrevCount[MAX_CH] = {0}
private

§ StatusReg

uint8_t ARCS::PCI6205C::StatusReg[MAX_CH] = {0}
private

このクラス詳解は次のファイルから抽出されました: