magneto10 2.0.0.0
|
This file contains API for Magneto 10 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | magneto10_t |
Magneto 10 Click context object. More... | |
struct | magneto10_cfg_t |
Magneto 10 Click configuration object. More... | |
Enumerations | |
enum | magneto10_return_value_t { MAGNETO10_OK = 0 , MAGNETO10_ERROR = -1 } |
Magneto 10 Click return value data. More... | |
Functions | |
void | magneto10_cfg_setup (magneto10_cfg_t *cfg) |
Magneto 10 configuration object setup function. | |
err_t | magneto10_init (magneto10_t *ctx, magneto10_cfg_t *cfg) |
Magneto 10 initialization function. | |
err_t | magneto10_default_cfg (magneto10_t *ctx) |
Magneto 10 default configuration function. | |
err_t | magneto10_mem_write_single (magneto10_t *ctx, uint8_t reg, uint8_t tx_data) |
Magneto 10 mem write single function. | |
err_t | magneto10_mem_write_multiple (magneto10_t *ctx, uint8_t reg, uint8_t *tx_buf, uint8_t tx_len) |
Magneto 10 mem write multiple function. | |
err_t | magneto10_mem_direct_read (magneto10_t *ctx, uint8_t *rx_buf, uint8_t rx_len) |
Magneto 10 mem direct read function. | |
err_t | magneto10_mem_read (magneto10_t *ctx, uint8_t reg, uint8_t *rx_buf, uint8_t rx_len) |
Magneto 10 mem read function. | |
err_t | magneto10_check_communication (magneto10_t *ctx) |
Magneto 10 check communication function. | |
err_t | magneto10_check_data_ready (magneto10_t *ctx) |
Magneto 10 check data ready function. | |
err_t | magneto10_get_magnetic_flux (magneto10_t *ctx, float *x_axis, float *y_axis, float *z_axis) |
Magneto 10 get magnetic flux function. | |
err_t | magneto10_get_temperature (magneto10_t *ctx, float *temperature) |
Magneto 10 get temperature function. | |
err_t | magneto10_reset (magneto10_t *ctx) |
Magneto 10 reset function. | |
err_t | magneto10_set_operating_mode (magneto10_t *ctx, uint8_t mode) |
Magneto 10 set operating mode function. | |
err_t | magneto10_enable_temperature_sensor (magneto10_t *ctx, uint8_t enable) |
Magneto 10 enable temperature sensor function. | |
This file contains API for Magneto 10 Click Driver.