c3dhall11 2.0.0.0
|
This file contains API for 3D Hall 11 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 | c3dhall11_data_t |
3D Hall 11 Click data object. More... | |
struct | c3dhall11_t |
3D Hall 11 Click context object. More... | |
struct | c3dhall11_cfg_t |
3D Hall 11 Click configuration object. More... | |
Enumerations | |
enum | c3dhall11_return_value_t { C3DHALL11_OK = 0 , C3DHALL11_ERROR = -1 } |
3D Hall 11 Click return value data. More... | |
Functions | |
void | c3dhall11_cfg_setup (c3dhall11_cfg_t *cfg) |
3D Hall 11 configuration object setup function. | |
err_t | c3dhall11_init (c3dhall11_t *ctx, c3dhall11_cfg_t *cfg) |
3D Hall 11 initialization function. | |
err_t | c3dhall11_default_cfg (c3dhall11_t *ctx) |
3D Hall 11 default configuration function. | |
err_t | c3dhall11_generic_write (c3dhall11_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
3D Hall 11 I2C writing function. | |
err_t | c3dhall11_generic_read (c3dhall11_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
3D Hall 11 I2C reading function. | |
err_t | c3dhall11_write_register (c3dhall11_t *ctx, uint8_t reg, uint8_t data_in) |
3D Hall 11 write register function. | |
err_t | c3dhall11_read_register (c3dhall11_t *ctx, uint8_t reg, uint8_t *data_out) |
3D Hall 11 read register function. | |
uint8_t | c3dhall11_get_int_pin (c3dhall11_t *ctx) |
3D Hall 11 get int pin function. | |
err_t | c3dhall11_check_communication (c3dhall11_t *ctx) |
3D Hall 11 check communication function. | |
err_t | c3dhall11_read_data (c3dhall11_t *ctx, c3dhall11_data_t *data_out) |
3D Hall 11 read data function. | |
This file contains API for 3D Hall 11 Click Driver.