waveform4 2.0.0.0
|
This file contains API for Waveform 4 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"
#include "spi_specifics.h"
Go to the source code of this file.
Data Structures | |
struct | waveform4_t |
Waveform 4 Click context object. More... | |
struct | waveform4_cfg_t |
Waveform 4 Click configuration object. More... | |
Enumerations | |
enum | waveform4_return_value_t { WAVEFORM4_OK = 0 , WAVEFORM4_ERROR = -1 } |
Waveform 4 Click return value data. More... | |
Functions | |
void | waveform4_cfg_setup (waveform4_cfg_t *cfg) |
Waveform 4 configuration object setup function. | |
err_t | waveform4_init (waveform4_t *ctx, waveform4_cfg_t *cfg) |
Waveform 4 initialization function. | |
err_t | waveform4_default_cfg (waveform4_t *ctx) |
Waveform 4 default configuration function. | |
err_t | waveform4_write_registers (waveform4_t *ctx, uint16_t reg, uint16_t *data_in, uint8_t len) |
Waveform 4 data writing function. | |
err_t | waveform4_read_registers (waveform4_t *ctx, uint16_t reg, uint16_t *data_out, uint8_t len) |
Waveform 4 data reading function. | |
err_t | waveform4_write_register (waveform4_t *ctx, uint16_t reg, uint16_t data_in) |
Waveform 4 single data writing function. | |
err_t | waveform4_read_register (waveform4_t *ctx, uint16_t reg, uint16_t *data_out) |
Waveform 4 single data reading function. | |
void | waveform4_set_rst_pin (waveform4_t *ctx, uint8_t state) |
Waveform 4 set RST pin function. | |
void | waveform4_set_trg_pin (waveform4_t *ctx, uint8_t state) |
Waveform 4 set TRG pin function. | |
void | waveform4_reset_registers (waveform4_t *ctx) |
Waveform 4 reset registers function. | |
err_t | waveform4_start_pattern (waveform4_t *ctx) |
Waveform 4 start pattern function. | |
err_t | waveform4_stop_pattern (waveform4_t *ctx) |
Waveform 4 stop pattern function. | |
err_t | waveform4_update_settings (waveform4_t *ctx) |
Waveform 4 update settings function. | |
err_t | waveform4_write_sram (waveform4_t *ctx, uint16_t address, uint16_t *data_in, uint16_t len) |
Waveform 4 write sram function. | |
err_t | waveform4_read_sram (waveform4_t *ctx, uint16_t address, uint16_t *data_out, uint16_t len) |
Waveform 4 read sram function. | |
err_t | waveform4_set_frequency (waveform4_t *ctx, uint32_t freq) |
Waveform 4 set frequency function. | |
err_t | waveform4_set_gain (waveform4_t *ctx, uint8_t channel, float gain) |
Waveform 4 set gain function. | |
err_t | waveform4_set_wave_output (waveform4_t *ctx, uint8_t channel, uint8_t wave) |
Waveform 4 set wave output function. | |
This file contains API for Waveform 4 Click Driver.