Inheritance diagram for BlueSense::OCOutputDevice:

Public Types | |
| enum | PortEnum |
Public Member Functions | |
| OCOutputDevice (Master master, ushort deviceId) | |
| void | requestGetOutputs () |
| bool | getCurrentOutput (PortEnum port) |
| ushort | getCurrentOutputs () |
| byte | getCurrentPWMDutyCycle (PortEnum port) |
| void | getCurrentPWMDutyCycles (byte[] dutyCycles) |
| void | requestSetOutput (PortEnum port, bool state) |
| void | requestSetDutyCycles (ushort relevantDutyCycles, byte[] duryCycles) |
| void | requestSetDutyCycle (PortEnum port, byte dutyCycle) |
| bool | getRequestSetOutputsDone () |
| long | getTimeOutUs () |
| void | setTimeOutUs (uint timeOutUs) |
| void | requestSetOutputs (int mask, int states) |
| int | getPendingOutputs () |
| bool | getPendingOutput (PortEnum port) |
| void | getPendingPWMDutyCycles (byte[] dutyCycles) |
| byte | getPendingPWMDutyCycle (PortEnum port) |
|
|
Enumeration describing the open collector output ports |
|
||||||||||||
|
Creates a bluesense device with id 'deviceid'
|
|
|
Returns the output state of a pin
|
|
|
Returns the output states |
|
|
Firmware: 2+ Returns the current set duty cycle of a specific port. A duty cycle of 0 indicates that PWM is disabled for this port.
|
|
|
Firmware: 2+ Fills an array with the current set duty cycle values for PWM (pulse width modulation) signals. A duty cycle of 0 indicates that the corresponding pwm signal is disabled.
|
|
|
Returns the 'tobe set' state of an output
|
|
|
Returns a bitmask containing which outputs are be set after the request finishes
|
|
|
Firmware: 2+ Returns the duty cycle of a specific pwm signal. This value is in the process of being sent to the device.
|
|
|
Firmware: 2+ Fills an array with PWM duty cycle values. These values are in the process of being sent to the device.
|
|
|
Checks if the output set request is finished
|
|
|
Returns the current set time out delay. The time out delay is used to check if a request was acknowledged in the set time. If an answer to a request is not received within the set time, the request is resent.
|
|
|
Sends a request to retrieve the current set output states |
|
||||||||||||
|
Firmware: version 2+ Sets the dutycycle for PWM (pulse width modulation) for the specified pin
|
|
||||||||||||
|
Firmware: version 2+ Sets the duty cycles of pwm (pulse width modulation) pins
|
|
||||||||||||
|
Sends a request to set a single output to a new state
|
|
||||||||||||
|
Sends a request to update the output states of the device.
|
|
|
Sets the time out value which is used to check if a request was acknowledged in the set time. If an answer to a request is not received within the set time, the request is resent.
|
1.4.4