qireceiver 2.0.0.0
|
This file contains API for Qi Receiver 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 | qireceiver_t |
Click ctx object definition. More... | |
struct | qireceiver_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | qireceiver_cfg_setup (qireceiver_cfg_t *cfg) |
Config Object Initialization function. | |
QIRECEIVER_RETVAL | qireceiver_init (qireceiver_t *ctx, qireceiver_cfg_t *cfg) |
Initialization function. | |
void | qireceiver_generic_write (qireceiver_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
void | qireceiver_generic_read (qireceiver_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
float | qireceiver_read_voltage (qireceiver_t *ctx) |
Read Voltage function. | |
float | qireceiver_read_current (qireceiver_t *ctx) |
Read Current function. | |
float | qireceiver_read_freq (qireceiver_t *ctx) |
Read Frequency function. | |
void | qireceiver_dev_enable (qireceiver_t *ctx) |
Device enable function. | |
This file contains API for Qi Receiver Click driver.