angle7 2.0.0.0
|
This file contains API for Angle 7 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
#include "drv_analog_in.h"
Go to the source code of this file.
Data Structures | |
struct | angle7_t |
Angle 7 Click context object. More... | |
struct | angle7_cfg_t |
Angle 7 Click configuration object. More... | |
Enumerations | |
enum | angle7_return_value_t { ANGLE7_OK = 0 , ANGLE7_ERROR = -1 } |
Angle 7 Click return value data. More... | |
Functions | |
void | angle7_cfg_setup (angle7_cfg_t *cfg) |
Angle 7 configuration object setup function. | |
err_t | angle7_init (angle7_t *ctx, angle7_cfg_t *cfg) |
Angle 7 initialization function. | |
err_t | angle7_default_cfg (angle7_t *ctx) |
Angle 7 default configuration function. | |
err_t | angle7_generic_write (angle7_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
Angle 7 I2C writing function. | |
err_t | angle7_generic_read (angle7_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
Angle 7 I2C reading function. | |
err_t | angle7_write_two_bytes (angle7_t *ctx, uint8_t reg, uint16_t data_in) |
Angle 7 write two bytes function. | |
err_t | angle7_read_two_bytes (angle7_t *ctx, uint8_t reg, uint16_t *data_out) |
Angle 7 read two bytes function. | |
err_t | angle7_read_an_pin_value (angle7_t *ctx, uint16_t *data_out) |
Angle 7 read AN pin value function. | |
err_t | angle7_read_an_pin_voltage (angle7_t *ctx, float *data_out) |
Angle 7 read AN pin voltage level function. | |
uint8_t | angle7_get_int_pin (angle7_t *ctx) |
Angle 7 get int pin function. | |
void | angle7_enable_device (angle7_t *ctx) |
Angle 7 enable device function. | |
void | angle7_disable_device (angle7_t *ctx) |
Angle 7 disable device function. | |
err_t | angle7_set_start_position (angle7_t *ctx, float angle) |
Angle 7 set start position function. | |
err_t | angle7_get_start_position (angle7_t *ctx, float *angle) |
Angle 7 get start position function. | |
err_t | angle7_set_stop_position (angle7_t *ctx, float angle) |
Angle 7 set stop position function. | |
err_t | angle7_get_stop_position (angle7_t *ctx, float *angle) |
Angle 7 get stop position function. | |
err_t | angle7_get_raw_angle (angle7_t *ctx, float *angle) |
Angle 7 get raw angle function. | |
err_t | angle7_get_angle (angle7_t *ctx, float *angle) |
Angle 7 get angle function. | |
err_t | angle7_get_status (angle7_t *ctx, uint8_t *status) |
Angle 7 get status function. | |
err_t | angle7_get_agc (angle7_t *ctx, uint8_t *agc) |
Angle 7 get agc function. | |
err_t | angle7_get_magnitude (angle7_t *ctx, uint16_t *magnitude) |
Angle 7 get magnitude function. | |
This file contains API for Angle 7 Click Driver.