iso9141 2.0.0.0
iso9141.h File Reference

This file contains API for ISO 9141 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  iso9141_t
 ISO 9141 Click context object. More...
 
struct  iso9141_cfg_t
 ISO 9141 Click configuration object. More...
 

Macros

#define ISO9141_TX_DRV_BUFFER_SIZE   100
 ISO 9141 driver buffer size.
 
#define ISO9141_RX_DRV_BUFFER_SIZE   300
 
#define ISO9141_MAP_MIKROBUS(cfg, mikrobus)
 MikroBUS pin mapping.
 

Enumerations

enum  iso9141_return_value_t { ISO9141_OK = 0 , ISO9141_ERROR = -1 }
 ISO 9141 Click return value data. More...
 

Functions

void iso9141_cfg_setup (iso9141_cfg_t *cfg)
 ISO 9141 configuration object setup function.
 
err_t iso9141_init (iso9141_t *ctx, iso9141_cfg_t *cfg)
 ISO 9141 initialization function.
 
err_t iso9141_generic_write (iso9141_t *ctx, uint8_t *data_buf, uint16_t len)
 ISO 9141 data writing function.
 
err_t iso9141_generic_read (iso9141_t *ctx, uint8_t *data_buf, uint16_t max_len)
 ISO 9141 data reading function.
 

Detailed Description

This file contains API for ISO 9141 Click Driver.

Enumeration Type Documentation

◆ iso9141_return_value_t

ISO 9141 Click return value data.

Predefined enum values for driver return values.

Enumerator
ISO9141_OK 
ISO9141_ERROR