39#ifdef PREINIT_SUPPORTED
43#ifdef MikroCCoreVersion
44 #if MikroCCoreVersion >= 1
49#include "drv_digital_out.h"
50#include "drv_digital_in.h"
74#define ISO9141_TX_DRV_BUFFER_SIZE 100
75#define ISO9141_RX_DRV_BUFFER_SIZE 300
93#define ISO9141_MAP_MIKROBUS( cfg, mikrobus ) \
94 cfg.tx_pin = MIKROBUS( mikrobus, MIKROBUS_TX ); \
95 cfg.rx_pin = MIKROBUS( mikrobus, MIKROBUS_RX ); \
#define ISO9141_RX_DRV_BUFFER_SIZE
Definition iso9141.h:75
#define ISO9141_TX_DRV_BUFFER_SIZE
ISO 9141 driver buffer size.
Definition iso9141.h:74
err_t iso9141_init(iso9141_t *ctx, iso9141_cfg_t *cfg)
ISO 9141 initialization function.
void iso9141_cfg_setup(iso9141_cfg_t *cfg)
ISO 9141 configuration object setup function.
err_t iso9141_generic_read(iso9141_t *ctx, uint8_t *data_buf, uint16_t max_len)
ISO 9141 data reading function.
err_t iso9141_generic_write(iso9141_t *ctx, uint8_t *data_buf, uint16_t len)
ISO 9141 data writing function.
iso9141_return_value_t
ISO 9141 Click return value data.
Definition iso9141.h:139
@ ISO9141_OK
Definition iso9141.h:140
@ ISO9141_ERROR
Definition iso9141.h:141
ISO 9141 Click configuration object.
Definition iso9141.h:120
uint32_t baud_rate
Definition iso9141.h:126
bool uart_blocking
Definition iso9141.h:127
uart_data_bits_t data_bit
Definition iso9141.h:128
pin_name_t tx_pin
Definition iso9141.h:123
pin_name_t rx_pin
Definition iso9141.h:122
uart_stop_bits_t stop_bit
Definition iso9141.h:130
uart_parity_t parity_bit
Definition iso9141.h:129
ISO 9141 Click context object.
Definition iso9141.h:105
uart_t uart
Definition iso9141.h:107