irnss  2.0.0.0
Data Structures | Macros | Functions
irnss.h File Reference

This file contains API for IRNSS 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  irnss_t
 IRNSS Click context object. More...
 
struct  irnss_cfg_t
 IRNSS Click configuration object. More...
 

Macros

#define DRV_TX_BUFFER_SIZE   100
 IRNSS driver buffer size. More...
 
#define DRV_RX_BUFFER_SIZE   700
 
#define IRNSS_MAP_MIKROBUS(cfg, mikrobus)
 MikroBUS pin mapping. More...
 

Functions

void irnss_cfg_setup (irnss_cfg_t *cfg)
 IRNSS configuration object setup function. More...
 
err_t irnss_init (irnss_t *ctx, irnss_cfg_t *cfg)
 IRNSS initialization function. More...
 
err_t irnss_generic_write (irnss_t *ctx, char *data_buf, uint16_t len)
 IRNSS data writing function. More...
 
err_t irnss_generic_read (irnss_t *ctx, char *data_buf, uint16_t max_len)
 IRNSS data reading function. More...
 
void irnss_set_rst_pin_state (irnss_t *ctx, uint8_t state)
 Sets state of the rst pin setting. More...
 
void irnss_set_wkp_pin_state (irnss_t *ctx, uint8_t state)
 Sets state of the wkp pin setting. More...
 

Detailed Description

This file contains API for IRNSS Click Driver.