c3dhall10 2.0.0.0
|
This file contains API for 3D Hall 10 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"
#include "spi_specifics.h"
Go to the source code of this file.
Data Structures | |
struct | c3dhall10_data_t |
3D Hall 10 Click data object. More... | |
struct | c3dhall10_t |
3D Hall 10 Click context object. More... | |
struct | c3dhall10_cfg_t |
3D Hall 10 Click configuration object. More... | |
Enumerations | |
enum | c3dhall10_return_value_t { C3DHALL10_OK = 0 , C3DHALL10_ERROR = -1 } |
3D Hall 10 Click return value data. More... | |
Functions | |
void | c3dhall10_cfg_setup (c3dhall10_cfg_t *cfg) |
3D Hall 10 configuration object setup function. | |
err_t | c3dhall10_init (c3dhall10_t *ctx, c3dhall10_cfg_t *cfg) |
3D Hall 10 initialization function. | |
err_t | c3dhall10_default_cfg (c3dhall10_t *ctx) |
3D Hall 10 default configuration function. | |
err_t | c3dhall10_write_frame (c3dhall10_t *ctx, uint8_t reg_addr, uint16_t data_in) |
3D Hall 10 write frame function. | |
err_t | c3dhall10_read_frame (c3dhall10_t *ctx, uint8_t reg_addr, uint16_t *data_out, uint16_t *status) |
3D Hall 10 read frame function. | |
err_t | c3dhall10_read_data (c3dhall10_t *ctx, c3dhall10_data_t *data_out) |
3D Hall 10 read data function. | |
uint8_t | c3dhall10_get_alert_pin (c3dhall10_t *ctx) |
3D Hall 10 get alert pin function. | |
This file contains API for 3D Hall 10 Click Driver.