![]() |
|
|||||
#include "TeleoTypes.h"
#include "TeleoDeviceManager.h"
#include "TeleoError.h"
#include "TeleoUtil.h"
#include "TeleoModuleDefines.h"
Go to the source code of this file.
Data Structures | |
| struct | TMioDin |
| TeleoMioDin reference structure. More... | |
Functions | |
| TeleoError | TMioDin_Create (TeleoDeviceManager *tdm, cchar *address, uint8 dinDeviceIndex, bool *bound, TMioDin **tmdin) |
| Create a TMioDin. | |
| TeleoError | TMioDin_boundGet (TMioDin *tmdin, bool *bound) |
| Gets the current bound state. | |
| TeleoError | TMioDin_boundCallbackSet (TMioDin *tmdin, TeleoError(*boundUpdate)(TMioDin *tmdin, bool bound)) |
| Set the callback for bound updates. | |
| TeleoError | TMioDin_valueGet (TMioDin *tmdin, bool *value) |
| Gets the current ain value. | |
| TeleoError | TMioDin_valueCallbackSet (TMioDin *tmdin, TeleoError(*valueUpdate)(TMioDin *tmdin, bool value)) |
| Set the callback for value updates. | |
| TeleoError | TMioDin_invertGet (TMioDin *tmdin, bool *invert) |
| Gets the current invert value. | |
| TeleoError | TMioDin_invertSet (TMioDin *tmdin, bool invert) |
| Sets the current invert value. | |
| TeleoError | TMioDin_invertCallbackSet (TMioDin *tmdin, TeleoError(*invertUpdate)(TMioDin *tmdin, bool invert)) |
| Set the callback for invert updates. | |
| TeleoError | TMioDin_sampleRateGet (TMioDin *tmdin, int16 *sampleRate) |
| Gets the Sample Rate in ms. | |
| TeleoError | TMioDin_sampleRateSet (TMioDin *tmdin, int16 sampleRate) |
| Sets the current sample rate value. | |
| TeleoError | TMioDin_sampleRateCallbackSet (TMioDin *tmdin, TeleoError(*sampleRateUpdate)(TMioDin *tmdin, int16 sampleRate)) |
| Set the callback for sampleRate updates. | |
Contains the structures, definitions and functions for a set of functions that wrap TeleoDevice entities providing a very Teleo Module-like interface.
These functions work on top of the Device Manager, so require the device manager to be functioning properly.
Definition in file TeleoMioDin.h.
|
||||||||||||
|
Set the callback for bound updates.
|
|
||||||||||||
|
Gets the current bound state.
|
|
||||||||||||||||||||||||
|
Create a TMioDin.
Referenced by main(). |
|
||||||||||||
|
Set the callback for invert updates.
Referenced by main(). |
|
||||||||||||
|
Gets the current invert value.
|
|
||||||||||||
|
Sets the current invert value.
|
|
||||||||||||
|
Set the callback for sampleRate updates.
Referenced by main(). |
|
||||||||||||
|
Gets the Sample Rate in ms.
|
|
||||||||||||
|
Sets the current sample rate value.
|
|
||||||||||||
|
Set the callback for value updates.
Referenced by main(). |
|
||||||||||||
|
Gets the current ain value.
|
|
copyright © 2002, 2003 MakingThings LLC |