Results of 1 - 1 of about 1 for baud (0.000 sec.)
- dio_tcsetattr — シリアルポートの端末属性とボーレートを設定する | PHP 8.3 9414
- dio_tcsetattr (PHP 4 >= 4.3.0, PHP 5 < 5.1.0) dio_tcsetattr — シリアルポートの端末属性とボーレートを設定する 説明 function dio_tcsetattr ( resource $fd , array $options ): bool dio_tcsetattr() は、オープンした fd の端末属性とボーレートを指定
... します。 パラメータ fd dio_open() が返すファイルディスクリプタ。 options 現在使用可能なオプションは以下のとおりです。 'baud' - ポートのボーレート - とりうる値は 38400,19200,9600,4800,2400,1800, 1200,600,300,200,150,134,110,75 あるいは 50 で、デフ ... pen ( '/dev/ttyS0' , O_RDWR | O_NOCTTY | O_NONBLOCK ); dio_fcntl ( $fd , F_SETFL , O_SYNC ); dio_tcsetattr ( $fd , array( 'baud' => 9600 , 'bits' => 8 , 'stop' => 1 , 'parity' => 0 )); while ( true ) { $data = dio_read ( $fd , 256 ); if ( $data !== n ...
-
https://man.mtool.work/php/8.3/function.dio-tcsetattr.html
PREV
1
NEXT