iqrf 2.0.0.0
iqrf.h File Reference

This file contains API for iqRF Click driver. More...

#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_uart.h"

Go to the source code of this file.

Data Structures

struct  iqrf_t
 Click ctx object definition. More...
 
struct  iqrf_cfg_t
 Click configuration structure definition. More...
 

Macros

#define IQRF_MAP_MIKROBUS(cfg, mikrobus)
 
#define IQRF_RETVAL   uint8_t
 
#define IQRF_OK   0x00
 
#define IQRF_INIT_ERROR   0xFF
 
#define DRV_RX_BUFFER_SIZE   500
 

Functions

void iqrf_cfg_setup (iqrf_cfg_t *cfg)
 Config Object Initialization function.
 
IQRF_RETVAL iqrf_init (iqrf_t *ctx, iqrf_cfg_t *cfg)
 Initialization function.
 
void iqrf_default_cfg (iqrf_t *ctx)
 Click Default Configuration function.
 
void iqrf_generic_multi_write (iqrf_t *ctx, char *data_buf, uint8_t len)
 Generic multi write function.
 
void iqrf_generic_multi_read (iqrf_t *ctx, char *data_buf, uint8_t len)
 Generic multi read function.
 
char iqrf_generic_single_read (iqrf_t *ctx)
 Generic single read function.
 
void iqrf_generic_single_write (iqrf_t *ctx, char tx_data)
 Generic single write function.
 
uint8_t iqrf_get_interrupt (iqrf_t *ctx)
 Interrupt function.
 
void iqrf_hw_reset (iqrf_t *ctx)
 Hardware reset function.
 

Detailed Description

This file contains API for iqRF Click driver.