uv 2.0.0.0
|
This file contains API for UV Click driver. More...
#include "drv_analog_in.h"
#include "drv_spi_master.h"
Go to the source code of this file.
Data Structures | |
struct | uv_t |
Click context object definition. More... | |
struct | uv_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | UV_MAP_MIKROBUS(cfg, mikrobus) |
Typedefs | |
typedef void(* | uv_callback_t) (uint8_t *) |
Click callback handler definition. | |
Functions | |
void | uv_cfg_setup (uv_cfg_t *cfg) |
Config Object Initialization function. | |
err_t | uv_init (uv_t *ctx, uv_cfg_t *cfg) |
Initialization function. | |
void | uv_set_callback_handler (uv_t *ctx, uv_callback_t handler) |
Callback Handler Setting function. | |
err_t | uv_read_adc_value (uv_t *ctx, uint16_t *data_out) |
ADC Reading function. | |
err_t | uv_read_adc_voltage (uv_t *ctx, float *data_out) |
ADC Voltage Reading function. | |
err_t | uv_read_an_pin_value (uv_t *ctx, uint16_t *data_out) |
AN Pin Reading function. | |
err_t | uv_read_an_pin_voltage (uv_t *ctx, float *data_out) |
AN Pin Voltage Reading function. | |
void | uv_calc_index (uv_t *ctx, float data_in, uint8_t *data_out) |
UV Index Calculation function. | |
void | uv_device_enable (uv_t *ctx) |
Device Power ON function. | |
void | uv_device_disable (uv_t *ctx) |
Device Power OFF function. | |
This file contains API for UV Click driver.