c3dhall9 2.0.0.0
|
This file contains API for 3D Hall 9 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 | c3dhall9_t |
3D Hall 9 Click context object. More... | |
struct | c3dhall9_cfg_t |
3D Hall 9 Click configuration object. More... | |
struct | c3dhall9_data_t |
3D Hall 9 Click data object. More... | |
Enumerations | |
enum | c3dhall9_return_value_t { C3DHALL9_OK = 0 , C3DHALL9_ERROR = -1 } |
3D Hall 9 Click return value data. More... | |
Functions | |
void | c3dhall9_cfg_setup (c3dhall9_cfg_t *cfg) |
3D Hall 9 configuration object setup function. | |
err_t | c3dhall9_init (c3dhall9_t *ctx, c3dhall9_cfg_t *cfg) |
3D Hall 9 initialization function. | |
err_t | c3dhall9_default_cfg (c3dhall9_t *ctx) |
3D Hall 9 default configuration function. | |
err_t | c3dhall9_write_register (c3dhall9_t *ctx, uint8_t reg, uint32_t data_in) |
3D Hall 9 I2C writing function. | |
err_t | c3dhall9_read_register (c3dhall9_t *ctx, uint8_t reg, uint32_t *data_out) |
3D Hall 9 I2C reading function. | |
void | c3dhall9_enable_chip (c3dhall9_t *ctx) |
3D Hall 9 enable chip function. | |
void | c3dhall9_disable_chip (c3dhall9_t *ctx) |
3D Hall 9 disable chip function. | |
uint8_t | c3dhall9_get_int_pin (c3dhall9_t *ctx) |
3D Hall 9 get int pin function. | |
err_t | c3dhall9_read_data (c3dhall9_t *ctx, c3dhall9_data_t *data_out) |
3D Hall 9 read data function. | |
This file contains API for 3D Hall 9 Click Driver.