ARCS6 AR6-REV.24062600
読み取り中…
検索中…
一致する文字列を見つけられません
PCI-3133.hh
[詳解]
1
8//
9// Copyright (C) 2011-2019 HIDETAKA MORIMITSU & Yuki YOKOKURA
10// This program is free software;
11// you can redistribute it and/or modify it under the terms of the FreeBSD License.
12// For details, see the License.txt file.
13
14#ifndef PCI_3133
15#define PCI_3133
16
17namespace ARCS { // ARCS名前空間
19 class PCI3133 {
20 public:
21 explicit PCI3133(const unsigned int Base);
22 PCI3133();
23 ~PCI3133();
24 double GetVoltage(void);
25 void Settings(void);
26
27 private:
28 unsigned int BaseAddr;
29 unsigned short Input(void);
30 static double AdcDataToVolt(unsigned short ADCdata);
31 static unsigned long IIbyteCat(unsigned short High, unsigned short Low);
32 };
33}
34
35#endif
36
37
38
PCI-3133入出力クラス
Definition PCI-3133.hh:19
void Settings(void)
A/Dコンバータの設定を行う関数
Definition PCI-3133.cc:40
double GetVoltage(void)
電圧値[V]を取得
Definition PCI-3133.cc:90
~PCI3133()
デストラクタ(ADC終了処理)
Definition PCI-3133.cc:36
PCI3133()
空コンストラクタ(ADC初期化&設定)
Definition PCI-3133.cc:29