magneticrotary3 2.0.0.0
|
This file contains API for Magnetic Rotary 3 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 | magneticrotary3_t |
Magnetic Rotary 3 Click context object. More... | |
struct | magneticrotary3_cfg_t |
Magnetic Rotary 3 Click configuration object. More... | |
Enumerations | |
enum | magneticrotary3_return_value_t { MAGNETICROTARY3_OK = 0 , MAGNETICROTARY3_ERROR = -1 } |
Magnetic Rotary 3 Click return value data. More... | |
Functions | |
void | magneticrotary3_cfg_setup (magneticrotary3_cfg_t *cfg) |
Magnetic Rotary 3 configuration object setup function. | |
err_t | magneticrotary3_init (magneticrotary3_t *ctx, magneticrotary3_cfg_t *cfg) |
Magnetic Rotary 3 initialization function. | |
err_t | magneticrotary3_write_register (magneticrotary3_t *ctx, uint16_t reg, uint16_t data_in) |
Magnetic Rotary 3 write register function. | |
err_t | magneticrotary3_read_register (magneticrotary3_t *ctx, uint16_t reg, uint16_t *data_out) |
Magnetic Rotary 3 read register function. | |
err_t | magneticrotary3_get_angle (magneticrotary3_t *ctx, float *angle) |
Magnetic Rotary 3 get angle function. | |
This file contains API for Magnetic Rotary 3 Click Driver.