magneto8 2.0.0.0
|
This file contains API for Magneto 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 | magneto8_t |
Click ctx object definition. More... | |
struct | magneto8_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | magneto8_cfg_setup (magneto8_cfg_t *cfg) |
Config Object Initialization function. | |
err_t | magneto8_init (magneto8_t *ctx, magneto8_cfg_t *cfg) |
Initialization function. | |
void | magneto8_default_cfg (magneto8_t *ctx) |
Click Default Configuration function. | |
void | magneto8_generic_write (magneto8_t *ctx, uint8_t reg, uint8_t tx_data) |
Generic write function. | |
uint8_t | magneto8_generic_read (magneto8_t *ctx, uint8_t reg) |
Generic read function. | |
uint16_t | magneto8_get_raw_angle (magneto8_t *ctx) |
Gets Angle raw data. | |
float | magneto8_get_angle_data (magneto8_t *ctx) |
Gets Angle data. | |
uint8_t | magneto8_get_status (magneto8_t *ctx) |
Gets status data. | |
uint16_t | magneto8_get_magnitude (magneto8_t *ctx) |
Gets magnitude data. | |
uint8_t | magneto8_get_agc (magneto8_t *ctx) |
Gets AGC data. | |
uint8_t | magneto8_get_zmco (magneto8_t *ctx) |
Gets ZMCO data. | |
uint8_t | magneto8_a_pin_state (magneto8_t *ctx) |
Gets A pin state. | |
uint8_t | magneto8_b_pin_state (magneto8_t *ctx) |
Gets B pin state. | |
uint8_t | magneto8_psh_pin_state (magneto8_t *ctx) |
Gets PSH pin state. | |
This file contains API for Magneto 8 Click driver.