|
C++ DevKit
C++ set of OOP library
|
The Probe provides a convenient class that can be used to observe behavior of programs. It may be used with a logical analyser. The one used here has eight channels, numbered from 0 to 7. More...
#include <probe.h>

Public Member Functions | |
| Probe (uint _channel) | |
| Construct a new Probe object. | |
| void | hi () |
| Generates a HI logical level on the GPIO. | |
| void | lo () |
| Generates a LO logical level on the GPIO. | |
| void | pulse_us (uint _duration) |
| Generates a HI level pulse on the GPIO during _duration µs. | |
| void | copy (bool _value) |
| Used to copy the boolean _value on th GPIO. | |
The Probe provides a convenient class that can be used to observe behavior of programs. It may be used with a logical analyser. The one used here has eight channels, numbered from 0 to 7.
| Probe::Probe | ( | uint | _channel | ) |
| void Probe::copy | ( | bool | _value | ) |
Used to copy the boolean _value on th GPIO.
| _value |
| void Probe::pulse_us | ( | uint | _duration | ) |
Generates a HI level pulse on the GPIO during _duration µs.
| _duration |
