dRonin
adbada4
dRonin firmware
|
PIOS interface for Annunciator DAC implementation. More...
Files | |
file | pios_annuncdac.c |
Generates Bel202 encoded serial data on the DAC channel. | |
file | pios_annuncdac.h |
Typedefs | |
typedef struct annuncdac_dev_s * | annuncdac_dev_t |
Functions | |
int32_t | PIOS_ANNUNCDAC_Init (annuncdac_dev_t *annuncdac_id, dac_dev_t dac) |
Allocate and initialise ANNUNCDAC device. More... | |
void | PIOS_ANNUNCDAC_SetValue (annuncdac_dev_t dev, bool active, bool value) |
Set whether we should be beeping. More... | |
PIOS interface for Annunciator DAC implementation.
typedef struct annuncdac_dev_s* annuncdac_dev_t |
Definition at line 39 of file pios_annuncdac.h.
int32_t PIOS_ANNUNCDAC_Init | ( | annuncdac_dev_t * | annuncdac_id, |
dac_dev_t | dac | ||
) |
Allocate and initialise ANNUNCDAC device.
[out] | annuncdac_id | Device handle, only valid when return value is success |
[in] | dac | Handle to a PIOS_DAC subsystem to use for xmit |
0 | on success, else failure |
void PIOS_ANNUNCDAC_SetValue | ( | annuncdac_dev_t | dev, |
bool | active, | ||
bool | value | ||
) |
Set whether we should be beeping.
[in] | dev | ANNUNCDAC device handle |
[in] | active | Whether we are "in a symbol". Currently unused. |
[in] | value | True for beep, false for silence. |