angle8 2.0.0.0
|
This file contains API for Angle 8 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 | angle8_t |
Angle 8 Click context object. More... | |
struct | angle8_cfg_t |
Angle 8 Click configuration object. More... | |
Enumerations | |
enum | angle8_return_value_t { ANGLE8_OK = 0 , ANGLE8_ERROR = -1 } |
Angle 8 Click return value data. More... | |
Functions | |
void | angle8_cfg_setup (angle8_cfg_t *cfg) |
Angle 8 configuration object setup function. | |
err_t | angle8_init (angle8_t *ctx, angle8_cfg_t *cfg) |
Angle 8 initialization function. | |
err_t | angle8_default_cfg (angle8_t *ctx) |
Angle 8 default configuration function. | |
err_t | angle8_write_register (angle8_t *ctx, uint8_t reg, uint8_t data_in) |
Angle 8 write register function. | |
err_t | angle8_read_register (angle8_t *ctx, uint8_t reg, uint8_t *data_out) |
Angle 8 read register function. | |
err_t | angle8_read_angle (angle8_t *ctx, float *angle) |
Angle 8 read angle function. | |
err_t | angle8_store_all_registers (angle8_t *ctx) |
Angle 8 store all registers function. | |
err_t | angle8_store_single_register (angle8_t *ctx, uint8_t reg) |
Angle 8 store single register function. | |
err_t | angle8_clear_error_flags (angle8_t *ctx) |
Angle 8 clear error flags function. | |
void | angle8_enable_device (angle8_t *ctx) |
Angle 8 enable device function. | |
void | angle8_disable_device (angle8_t *ctx) |
Angle 8 disable device function. | |
uint8_t | angle8_get_nd_pin (angle8_t *ctx) |
Angle 8 get nd pin function. | |
uint8_t | angle8_get_dv_pin (angle8_t *ctx) |
Angle 8 get dv pin function. | |
uint8_t | angle8_get_mgl_pin (angle8_t *ctx) |
Angle 8 get mgl pin function. | |
err_t | angle8_set_cycle_time (angle8_t *ctx, float time_ms) |
Angle 8 set cycle time function. | |
This file contains API for Angle 8 Click Driver.