ldc1101 2.0.0.0
|
This file contains API for LDC 1101 Click driver. More...
#include "drv_digital_in.h"
#include "drv_spi_master.h"
Go to the source code of this file.
Data Structures | |
struct | ldc1101_t |
Click ctx object definition. More... | |
struct | ldc1101_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | ldc1101_cfg_setup (ldc1101_cfg_t *cfg) |
Config Object Initialization function. | |
LDC1101_RETVAL | ldc1101_init (ldc1101_t *ctx, ldc1101_cfg_t *cfg) |
Initialization function. | |
void | ldc1101_default_cfg (ldc1101_t *ctx) |
Click Default Configuration function. | |
void | ldc1101_generic_transfer (ldc1101_t *ctx, uint8_t *wr_buf, uint16_t wr_len, uint8_t *rd_buf, uint16_t rd_len) |
Generic transfer function. | |
void | ldc1101_generic_write (ldc1101_t *ctx, uint8_t reg_addr, uint8_t tx_data) |
Functions for write one byte on address. | |
uint8_t | ldc1101_generic_read (ldc1101_t *ctx, uint8_t reg_addr) |
Functions for read byte from address. | |
void | ldc1101_set_power_mode (ldc1101_t *ctx, uint8_t pwr_mode) |
Set power mode function. | |
void | ldc1101_go_to_l_mode (ldc1101_t *ctx) |
Functions for go to L mode. | |
void | ldc1101_go_to_r_mode (ldc1101_t *ctx) |
Functions for go to RP mode. | |
uint8_t | ldc1101_get_status (ldc1101_t *ctx) |
Functions for reads status. | |
uint16_t | ldc1101_get_rp_data (ldc1101_t *ctx) |
Functions for reads RP data. | |
uint16_t | ldc1101_get_l_data (ldc1101_t *ctx) |
Functions for reads L data. | |
uint8_t | ldc1101_get_interrupt (ldc1101_t *ctx) |
Functions for get interrupt pin status. | |
This file contains API for LDC 1101 Click driver.