c3dhall4 2.1.0.0
|
This file contains API for 3D Hall 4 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"
#include "spi_specifics.h"
#include "drv_analog_in.h"
Go to the source code of this file.
Data Structures | |
struct | c3dhall4_t |
3D Hall 4 Click context object. More... | |
struct | c3dhall4_cfg_t |
3D Hall 4 Click configuration object. More... | |
struct | c3dhall4_data_t |
3D Hall 4 Click data object. More... | |
Enumerations | |
enum | c3dhall4_return_value_t { C3DHALL4_OK = 0 , C3DHALL4_ERROR = -1 } |
3D Hall 4 Click return value data. More... | |
Functions | |
void | c3dhall4_cfg_setup (c3dhall4_cfg_t *cfg) |
3D Hall 4 configuration object setup function. | |
err_t | c3dhall4_init (c3dhall4_t *ctx, c3dhall4_cfg_t *cfg) |
3D Hall 4 initialization function. | |
err_t | c3dhall4_default_cfg (c3dhall4_t *ctx) |
3D Hall 4 default configuration function. | |
err_t | c3dhall4_reg_write (c3dhall4_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
3D Hall 4 reg write function. | |
err_t | c3dhall4_reg_read (c3dhall4_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
3D Hall 4 reg read function. | |
err_t | c3dhall4_eeprom_write (c3dhall4_t *ctx, uint8_t address, uint8_t data_in) |
3D Hall 4 EEPROM write function. | |
err_t | c3dhall4_eeprom_read (c3dhall4_t *ctx, uint8_t address, uint8_t *data_out) |
3D Hall 4 EEPROM read function. | |
err_t | c3dhall4_eeprom_update_cksum (c3dhall4_t *ctx) |
3D Hall 4 EEPROM update cksum function. | |
err_t | c3dhall4_read_an_pin_value (c3dhall4_t *ctx, uint16_t *data_out) |
3D Hall 4 read AN pin value function. | |
err_t | c3dhall4_read_an_pin_voltage (c3dhall4_t *ctx, float *data_out) |
3D Hall 4 read AN pin voltage level function. | |
err_t | c3dhall4_read_data (c3dhall4_t *ctx, c3dhall4_data_t *data_out) |
3D Hall 4 read data function. | |
This file contains API for 3D Hall 4 Click Driver.