gaussmeter 2.0.0.0
|
This file contains API for Gaussmeter Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
#include "drv_spi_master.h"
Go to the source code of this file.
Data Structures | |
struct | gaussmeter_axis_t |
Axis object definition. More... | |
struct | gaussmeter_aux_t |
Auxiliary object definition. More... | |
struct | gaussmeter_s |
Click ctx object definition. More... | |
struct | gaussmeter_cfg_t |
Click configuration structure definition. More... | |
Typedefs | |
typedef uint8_t | gaussmeter_select_t |
Communication type. | |
typedef void(* | gaussmeter_master_io_t) (struct gaussmeter_s *, uint8_t *, uint8_t, uint8_t *, uint8_t) |
typedef struct gaussmeter_s | gaussmeter_t |
Click ctx object definition. | |
Functions | |
void | gaussmeter_cfg_setup (gaussmeter_cfg_t *cfg) |
Config Object Initialization function. | |
GAUSSMETER_RETVAL | gaussmeter_init (gaussmeter_t *ctx, gaussmeter_cfg_t *cfg) |
Initialization function. | |
void | gaussmeter_default_cfg (gaussmeter_t *ctx) |
Click Default Configuration function. | |
uint8_t | gaussmeter_write_reg (gaussmeter_t *ctx, uint8_t reg_addr, uint16_t transfer_data) |
Write register function. | |
uint8_t | gaussmeter_send_command (gaussmeter_t *ctx, uint8_t command) |
Send command function. | |
void | gaussmeter_enable_measure (gaussmeter_t *ctx, uint8_t temp) |
Enable measure function. | |
uint8_t | gaussmeter_get_data (gaussmeter_t *ctx, float *output_data) |
Get data function. | |
void | gaussmeter_generic_data_transfer (gaussmeter_t *ctx, uint8_t *write_buf, uint8_t write_len, uint8_t *read_buf, uint8_t read_len) |
Generic read function. | |
uint8_t | gaussmeter_digital_read_int (gaussmeter_t *ctx) |
Digital read interrupt function. | |
uint8_t | gaussmeter_digital_read_pwm (gaussmeter_t *ctx) |
Digital read pwm function. | |
This file contains API for Gaussmeter Click driver.