magneto6 2.1.0.0
|
This file contains API for Magneto 6 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 | magneto6_data_t |
Magneto 6 Click data object. More... | |
struct | magneto6_t |
Magneto 6 Click context object. More... | |
struct | magneto6_cfg_t |
Magneto 6 Click configuration object. More... | |
Enumerations | |
enum | magneto6_return_value_t { MAGNETO6_OK = 0 , MAGNETO6_ERROR = -1 } |
Magneto 6 Click return value data. More... | |
Functions | |
void | magneto6_cfg_setup (magneto6_cfg_t *cfg) |
Magneto 6 configuration object setup function. | |
err_t | magneto6_init (magneto6_t *ctx, magneto6_cfg_t *cfg) |
Magneto 6 initialization function. | |
err_t | magneto6_default_cfg (magneto6_t *ctx) |
Magneto 6 default configuration function. | |
err_t | magneto6_write_reg (magneto6_t *ctx, uint8_t reg, uint8_t data_in) |
Magneto 6 write reg function. | |
err_t | magneto6_read_reg (magneto6_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
Magneto 6 read reg function. | |
void | magneto6_set_ien_pin (magneto6_t *ctx, uint8_t state) |
Magneto 6 set ien pin function. | |
uint8_t | magneto6_get_int_pin (magneto6_t *ctx) |
Magneto 6 get int pin function. | |
err_t | magneto6_read_data (magneto6_t *ctx, magneto6_data_t *data_out) |
Magneto 6 read data function. | |
This file contains API for Magneto 6 Click Driver.