|
Public Types |
enum | Channel {
DAC_0,
DAC_1,
DAC_2,
DAC_3,
ALL = 7
} |
| DAC selection. More...
|
Public Member Functions |
| otAD5664 () |
void | init () |
| Init dedicated SPI channel and related hardware.
|
void | write (Channel ch, float Volt) |
| Write a selected DAC output with desidered voltage.
|
void | write (Channel ch, U16 adu) |
| Write a selected DAC output with desidered value.
|
void | write (Channel ch, U16 *data, U32 len) |
| Write a stream of data on selected DAC output This function can be used as function generator.
|
void | write (Channel ch, U16 *data, U32 len, U32 dly, U8 timer) |
| Write a stream of data on selected DAC output This function can be used as function generator.
|