PmxPythonLibrary
読み取り中…
検索中…
一致する文字列を見つけられません
公開メンバ関数 | 公開変数類 | 静的公開変数類 | 限定公開メンバ関数 | 全メンバ一覧
RasPiUartClass.RasPiUartClass クラス

公開メンバ関数

def synchronize (self, txBuf, rxLen)
 
def synchronizeVariableRead (self, txBuf, rxLen)
 
def open (self, comName, enPin, bundrate, timOut)
 SerialポートをRCB-4用に設定をして開く
 
def close (self)
 Serialポートを閉じる
 

公開変数類

 com
 
 gpioEnPin
 
 subCom
 

静的公開変数類

int com = 0
 
int gpioEnPin = 0
 

限定公開メンバ関数

def _init_ (self)
 コンストラクタ
 

メソッド詳解

◆ _init_()

def RasPiUartClass.RasPiUartClass._init_ (   self)
protected

コンストラクタ

◆ close()

def RasPiUartClass.RasPiUartClass.close (   self)

Serialポートを閉じる

戻り値
Serialポートを閉じるのに失敗したらエラーを返す

◆ open()

def RasPiUartClass.RasPiUartClass.open (   self,
  comName,
  enPin,
  bundrate,
  timOut 
)

SerialポートをRCB-4用に設定をして開く

引数
comNameポートの名前
bundrate通信速度
timOut受信タイムアウト
覚え書き
Serialポートを開く 通信ができるかどうかACKコマンドを送る コンフィグデータを取得する 上のどれかが失敗したらエラーを返す def open(self,comName,subComName,enPin,bundrate,timOut):

◆ synchronize()

def RasPiUartClass.RasPiUartClass.synchronize (   self,
  txBuf,
  rxLen 
)

◆ synchronizeVariableRead()

def RasPiUartClass.RasPiUartClass.synchronizeVariableRead (   self,
  txBuf,
  rxLen 
)

メンバ詳解

◆ com [1/2]

int RasPiUartClass.RasPiUartClass.com = 0
static

◆ com [2/2]

RasPiUartClass.RasPiUartClass.com

◆ gpioEnPin [1/2]

int RasPiUartClass.RasPiUartClass.gpioEnPin = 0
static

◆ gpioEnPin [2/2]

RasPiUartClass.RasPiUartClass.gpioEnPin

◆ subCom

RasPiUartClass.RasPiUartClass.subCom

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