dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Annunciator DAC Functions

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...
 

Detailed Description

PIOS interface for Annunciator DAC implementation.

Typedef Documentation

typedef struct annuncdac_dev_s* annuncdac_dev_t

Definition at line 39 of file pios_annuncdac.h.

Function Documentation

int32_t PIOS_ANNUNCDAC_Init ( annuncdac_dev_t annuncdac_id,
dac_dev_t  dac 
)

Allocate and initialise ANNUNCDAC device.

Parameters
[out]annuncdac_idDevice handle, only valid when return value is success
[in]dacHandle to a PIOS_DAC subsystem to use for xmit
Return values
0on success, else failure
void PIOS_ANNUNCDAC_SetValue ( annuncdac_dev_t  dev,
bool  active,
bool  value 
)

Set whether we should be beeping.

Parameters
[in]devANNUNCDAC device handle
[in]activeWhether we are "in a symbol". Currently unused.
[in]valueTrue for beep, false for silence.