PHP 클래스 PiPHP\GPIO\Interrupt\InterruptWatcher
파일 보기
프로젝트 열기: piphp/gpio
공개 메소드들
메소드 상세
public __construct ( PiPHP\GPIO\FileSystem\FileSystemInterface $fileSystem, callable $streamSelect ) |
$fileSystem |
PiPHP\GPIO\FileSystem\FileSystemInterface |
An object that provides file system access |
$streamSelect |
callable |
The stream select implementation |
public register ( PiPHP\GPIO\Pin\InputPinInterface $pin, callable $callback ) |
$pin |
PiPHP\GPIO\Pin\InputPinInterface |
|
$callback |
callable |
|
public unregister ( PiPHP\GPIO\Pin\InputPinInterface $pin ) |
$pin |
PiPHP\GPIO\Pin\InputPinInterface |
|
public watch ( $timeout ) |