c3dhall8 2.0.0.0
|
This file contains API for 3D Hall 8 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 | c3dhall8_t |
3D Hall 8 Click context object. More... | |
struct | c3dhall8_cfg_t |
3D Hall 8 Click configuration object. More... | |
struct | c3dhall8_data_t |
3D Hall 8 Click data object. More... | |
Enumerations | |
enum | ismtx_return_value_t { C3DHALL8_OK = 0 , C3DHALL8_ERROR = -1 } |
3D Hall 8 Click return value data. More... | |
Functions | |
void | c3dhall8_cfg_setup (c3dhall8_cfg_t *cfg) |
3D Hall 8 configuration object setup function. | |
err_t | c3dhall8_init (c3dhall8_t *ctx, c3dhall8_cfg_t *cfg) |
3D Hall 8 initialization function. | |
err_t | c3dhall8_default_cfg (c3dhall8_t *ctx) |
3D Hall 8 default configuration function. | |
err_t | c3dhall8_generic_write (c3dhall8_t *ctx, uint8_t reg, uint8_t tx_buf) |
3D Hall 8 I2C writing function. | |
err_t | c3dhall8_generic_read (c3dhall8_t *ctx, uint8_t reg, uint8_t *rx_buf) |
3D Hall 8 I2C reading function. | |
void | c3dhall8_read_sensor_data (c3dhall8_t *ctx, c3dhall8_data_t *sensor_data) |
Reading sensor data function. | |
float | c3dhall8_get_xyz_magnetic_matching (c3dhall8_t *ctx, c3dhall8_data_t sensor_data) |
Calculating magnetic matching. | |
float | c3dhall8_get_xy_magnetic_matching (c3dhall8_t *ctx, c3dhall8_data_t sensor_data) |
Calculating magnetic matching. | |
This file contains API for 3D Hall 8 Click Driver.
enum ismtx_return_value_t |