|
void | waveform2_cfg_setup (waveform2_cfg_t *cfg) |
| Waveform 2 configuration object setup function.
|
|
err_t | waveform2_init (waveform2_t *ctx, waveform2_cfg_t *cfg) |
| Waveform 2 initialization function.
|
|
err_t | waveform2_default_cfg (waveform2_t *ctx) |
| Waveform 2 default configuration function.
|
|
err_t | waveform2_i2c_write (waveform2_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
| Waveform 2 I2C writing function.
|
|
err_t | waveform2_i2c_read (waveform2_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
| Waveform 2 I2C reading function.
|
|
err_t | waveform2_spi_write (waveform2_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
| Waveform 2 SPI writing function.
|
|
err_t | waveform2_spi_read (waveform2_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
| Waveform 2 SPI reading function.
|
|
uint8_t | waveform2_eeprom_read_byte (waveform2_t *ctx, uint16_t addr) |
| Waveform 2 read byte function.
|
|
uint16_t | waveform2_eeprom_read_word (waveform2_t *ctx, uint16_t addr) |
| Waveform 2 read word function.
|
|
uint32_t | waveform2_eeprom_read_long (waveform2_t *ctx, uint16_t addr) |
| Waveform 2 read long function.
|
|
void | waveform2_eeprom_read_string (waveform2_t *ctx, uint16_t addr, uint8_t *data_buf, uint16_t len) |
| Waveform 2 read string function.
|
|
void | waveform2_eeprom_write_byte (waveform2_t *ctx, uint16_t addr, uint8_t tx_data) |
| Waveform 2 write bute function.
|
|
void | waveform2_eeprom_write_word (waveform2_t *ctx, uint16_t addr, uint16_t tx_data) |
| Waveform 2 write word function.
|
|
void | waveform2_eeprom_write_long (waveform2_t *ctx, uint16_t addr, uint32_t tx_data) |
| Waveform 2 write long function.
|
|
void | waveform2_eeprom_write_string (waveform2_t *ctx, uint16_t addr, uint8_t *data_buf, uint16_t len) |
| Waveform 2 write string function.
|
|
void | waveform2_mclk_enable (waveform2_t *ctx) |
| Waveform 2 enable oscilator function.
|
|
void | waveform2_mclk_disable (waveform2_t *ctx) |
| Waveform 2 disable oscilator function.
|
|
void | waveform2_hw_reset (waveform2_t *ctx) |
| Waveform 2 hardware reset function.
|
|
void | waveform2_set_freq (waveform2_t *ctx, uint32_t freq) |
| Waveform 2 set frequency function.
|
|
void | waveform2_configuration (waveform2_t *ctx, uint16_t cfg) |
| Waveform 2 configuration function.
|
|
void | waveform2_sine_output (waveform2_t *ctx) |
| Waveform 2 set sine output function.
|
|
void | waveform2_triangle_output (waveform2_t *ctx) |
| Waveform 2 set triangle output function.
|
|
void | waveform2_output_off (waveform2_t *ctx) |
| Waveform 2 disable output function.
|
|
This file contains API for Waveform 2 Click Driver.